From 1d9539754b4e74cdc67557e43699de6c0a8497dc Mon Sep 17 00:00:00 2001 From: dbr Date: Thu, 8 Jul 2021 22:18:44 +1000 Subject: [PATCH 1/3] Re-export imgui::widget::misc to expose ButtonFlags Required to use ui.invisible_button_flags(...) --- imgui/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index 9df6489..7ec4085 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -46,6 +46,7 @@ pub use self::widget::selectable::*; pub use self::widget::slider::*; pub use self::widget::tab::*; pub use self::widget::tree::*; +pub use self::widget::misc::*; pub use self::window::child_window::*; pub use self::window::*; use internal::RawCast; From 5317eae5ec8514d4b8b8890a3f1576273490fb1b Mon Sep 17 00:00:00 2001 From: dbr Date: Sun, 22 Aug 2021 20:21:53 +1000 Subject: [PATCH 2/3] Also re-export InputTextFlags --- imgui/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index 7ec4085..fd84251 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -21,7 +21,7 @@ pub use self::input::keyboard::*; pub use self::input::mouse::*; pub use self::input_widget::{ InputFloat, InputFloat2, InputFloat3, InputFloat4, InputInt, InputInt2, InputInt3, InputInt4, - InputText, InputTextMultiline, + InputText, InputTextMultiline, InputTextFlags }; pub use self::io::*; pub use self::layout::*; From 28e66b833ce1b7668c7398fc14a5e840a89f1008 Mon Sep 17 00:00:00 2001 From: dbr Date: Sun, 22 Aug 2021 20:22:17 +1000 Subject: [PATCH 3/3] fmt --- imgui/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui/src/lib.rs b/imgui/src/lib.rs index fd84251..a887b71 100644 --- a/imgui/src/lib.rs +++ b/imgui/src/lib.rs @@ -21,7 +21,7 @@ pub use self::input::keyboard::*; pub use self::input::mouse::*; pub use self::input_widget::{ InputFloat, InputFloat2, InputFloat3, InputFloat4, InputInt, InputInt2, InputInt3, InputInt4, - InputText, InputTextMultiline, InputTextFlags + InputText, InputTextFlags, InputTextMultiline, }; pub use self::io::*; pub use self::layout::*; @@ -41,12 +41,12 @@ pub use self::widget::drag::*; pub use self::widget::image::*; pub use self::widget::list_box::*; pub use self::widget::menu::*; +pub use self::widget::misc::*; 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::tree::*; -pub use self::widget::misc::*; pub use self::window::child_window::*; pub use self::window::*; use internal::RawCast;