diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 3f22772..d0ffa82 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -19,6 +19,9 @@ - `Window::always_vertical_scollbar` (typo) - `igPushStyleVavrVec` (typo) +- `ImGuiInputTextFlags::with` +- `ImGuiTreeNodeFlags::with` +- `ImGuiWindowFlags::with` ## [0.0.10] - 2016-08-09 diff --git a/imgui-sys/src/lib.rs b/imgui-sys/src/lib.rs index 1d325e7..f6106dc 100644 --- a/imgui-sys/src/lib.rs +++ b/imgui-sys/src/lib.rs @@ -183,6 +183,7 @@ bitflags!( ); impl ImGuiWindowFlags { + #[deprecated(since = "0.0.11")] #[inline] pub fn with(self, mask: ImGuiWindowFlags, value: bool) -> ImGuiWindowFlags { if value { @@ -228,6 +229,7 @@ bitflags!( ); impl ImGuiInputTextFlags { + #[deprecated(since = "0.0.11")] #[inline] pub fn with(self, mask: ImGuiInputTextFlags, value: bool) -> ImGuiInputTextFlags { if value { @@ -267,6 +269,7 @@ bitflags!( ); impl ImGuiTreeNodeFlags { + #[deprecated(since = "0.0.11")] #[inline] pub fn with(self, mask: ImGuiTreeNodeFlags, value: bool) -> ImGuiTreeNodeFlags { if value {