diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index ec011af..b4a3f3a 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -17,6 +17,7 @@ - Non-namespaced flags - Various imgui-sys things that were deprecated in imgui/cimgui 1.51 +- `Window::bg_alpha`. Push a color change with `with_color_var` instead ## [0.0.16] - 2017-10-26 diff --git a/src/window.rs b/src/window.rs index ec7cb7c..355939f 100644 --- a/src/window.rs +++ b/src/window.rs @@ -48,6 +48,8 @@ impl<'ui, 'p> Window<'ui, 'p> { self.opened = Some(opened); self } + #[deprecated(since = "0.0.17", + note = "please use with_color_var and ImGuiCol::WindowBg instead")] #[inline] pub fn bg_alpha(mut self, bg_alpha: f32) -> Self { self.bg_alpha = bg_alpha;