removed hexotk references
This commit is contained in:
parent
2d032d79be
commit
b11743442a
2 changed files with 0 additions and 47 deletions
|
@ -80,20 +80,3 @@ impl CellDir {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
use hexotk::widgets::HexDir;
|
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
impl From<HexDir> for CellDir {
|
|
||||||
fn from(h: HexDir) -> Self {
|
|
||||||
CellDir::from(h.to_edge())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
impl From<CellDir> for HexDir {
|
|
||||||
fn from(c: CellDir) -> Self {
|
|
||||||
HexDir::from(c.to_edge())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -67,33 +67,3 @@ impl SAtom {
|
||||||
impl From<f32> for SAtom {
|
impl From<f32> for SAtom {
|
||||||
fn from(n: f32) -> Self { SAtom::Param(n) }
|
fn from(n: f32) -> Self { SAtom::Param(n) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
use hexotk::Atom;
|
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
impl From<Atom> for SAtom {
|
|
||||||
fn from(n: Atom) -> Self {
|
|
||||||
match n {
|
|
||||||
Atom::Str(s) => SAtom::Str(s),
|
|
||||||
Atom::MicroSample(s) => SAtom::MicroSample(s),
|
|
||||||
Atom::AudioSample(s) => SAtom::AudioSample(s),
|
|
||||||
Atom::Setting(s) => SAtom::Setting(s),
|
|
||||||
Atom::Param(s) => SAtom::Param(s),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(feature="hexotk")]
|
|
||||||
impl From<SAtom> for Atom {
|
|
||||||
fn from(n: SAtom) -> Atom {
|
|
||||||
match n {
|
|
||||||
SAtom::Str(s) => Atom::Str(s),
|
|
||||||
SAtom::MicroSample(s) => Atom::MicroSample(s),
|
|
||||||
SAtom::AudioSample(s) => Atom::AudioSample(s),
|
|
||||||
SAtom::Setting(s) => Atom::Setting(s),
|
|
||||||
SAtom::Param(s) => Atom::Param(s),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue