Skip to content

Commit

Permalink
removed typename and short_type_name methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph committed Nov 23, 2021
1 parent 48e4789 commit d7247ed
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions druid/src/widget/slider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,6 @@ impl Widget<f64> for Slider {
..Default::default()
}
}

fn type_name(&self) -> &'static str {
"Slider"
}

fn short_type_name(&self) -> &'static str {
"Slider"
}
}

impl RangeSlider {
Expand Down Expand Up @@ -436,14 +428,6 @@ impl Widget<(f64, f64)> for RangeSlider {
..Default::default()
}
}

fn type_name(&self) -> &'static str {
"Range Slider"
}

fn short_type_name(&self) -> &'static str {
"Range Slider"
}
}

impl<T, W: Widget<T>> Annotated<T, W> {
Expand Down Expand Up @@ -625,14 +609,6 @@ impl<T: Data, W: Widget<T>> Widget<T> for Annotated<T, W> {
..Default::default()
}
}

fn type_name(&self) -> &'static str {
"Slider Annotation"
}

fn short_type_name(&self) -> &'static str {
"Annotated"
}
}

impl SliderValueMapping {
Expand Down

0 comments on commit d7247ed

Please sign in to comment.