Skip to content

Commit

Permalink
widgets: Remove commented out interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
C47D committed Jan 17, 2025
1 parent 31e3ba1 commit b21f949
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions lvgl/src/widgets/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ impl Arc<'_> {
// }
// Ok(())
// }

// Gets the current value of the arc
// pub fn get_value(&self) -> i32 {
// unsafe { lvgl_sys::lv_bar_get_value(self.core.raw().as_ptr()) }
// }
}
/*
/// The different parts, of an arc object.
Expand Down
5 changes: 0 additions & 5 deletions lvgl/src/widgets/bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ impl Bar<'_> {
lvgl_sys::lv_bar_set_value(self.core.raw().as_mut(), value, anim.into());
}
}

// Gets the current value of the bar
// pub fn get_value(&self) -> i32 {
// unsafe { lvgl_sys::lv_bar_get_value(self.core.raw().as_ptr()) }
// }
}
/*
/// The different parts, of a bar object.
Expand Down
4 changes: 0 additions & 4 deletions lvgl/src/widgets/label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,4 @@ impl Label<'_> {
pub fn get_long_mode(&self) -> u8 {
unsafe { lvgl_sys::lv_label_get_long_mode(self.raw().as_ref()) }
}

// pub fn get_recolor(&self) -> bool {
// unsafe { lvgl_sys::lv_label_get_recolor(self.raw().as_ref()) }
// }
}

0 comments on commit b21f949

Please sign in to comment.