mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Basic text input support
This commit is contained in:
@@ -7,6 +7,9 @@ use crate::{
|
||||
*,
|
||||
};
|
||||
|
||||
mod text_edit;
|
||||
pub use text_edit::*;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
/// Anything implementing Widget can be added to a Region with Region::add
|
||||
@@ -336,7 +339,6 @@ impl<'a> Slider<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: use range syntax
|
||||
pub fn f32(value: &'a mut f32, range: RangeInclusive<f32>) -> Self {
|
||||
Slider {
|
||||
precision: 3,
|
||||
|
||||
Reference in New Issue
Block a user