mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
Deprecate Window::bg_alpha in preparation for 1.52
This commit is contained in:
parent
907f9dbdeb
commit
f54fae81f1
@ -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
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user