mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
move text_filter file
This commit is contained in:
parent
5f5450487f
commit
c004b3a619
@ -33,6 +33,7 @@ pub use self::style::*;
|
||||
|
||||
#[cfg(feature = "tables-api")]
|
||||
pub use self::tables::*;
|
||||
pub use self::text_filter::*;
|
||||
pub use self::utils::*;
|
||||
pub use self::widget::color_editors::*;
|
||||
pub use self::widget::combo_box::*;
|
||||
@ -45,7 +46,6 @@ pub use self::widget::progress_bar::*;
|
||||
pub use self::widget::selectable::*;
|
||||
pub use self::widget::slider::*;
|
||||
pub use self::widget::tab::*;
|
||||
pub use self::widget::text_filter::*;
|
||||
pub use self::widget::tree::*;
|
||||
pub use self::window::child_window::*;
|
||||
pub use self::window::*;
|
||||
@ -82,6 +82,7 @@ mod style;
|
||||
mod tables;
|
||||
#[cfg(test)]
|
||||
mod test;
|
||||
pub mod text_filter;
|
||||
mod utils;
|
||||
mod widget;
|
||||
mod window;
|
||||
|
||||
@ -17,7 +17,8 @@ impl TextFilter {
|
||||
}
|
||||
|
||||
/// Creates a new TextFilter with a custom filter.
|
||||
pub fn new_with_filter(label: String, mut filter: String) -> Self {
|
||||
pub fn new_with_filter(label: String, filter: String) -> Self {
|
||||
let mut filter = filter.clone();
|
||||
filter.push('\0');
|
||||
let ptr = filter.as_mut_ptr();
|
||||
Self {
|
||||
@ -10,5 +10,4 @@ pub mod selectable;
|
||||
pub mod slider;
|
||||
pub mod tab;
|
||||
pub mod text;
|
||||
pub mod text_filter;
|
||||
pub mod tree;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user