mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 22:48:34 +00:00
[cimgui 1.53.1] Rename ImGuiCol::ChildWindowBg to ChildBg
This commit is contained in:
parent
49ab5c524a
commit
bba3e58460
@ -23,6 +23,7 @@
|
||||
set up in the ImGuiStyle structure.
|
||||
- Obsolete `Window::show_borders`. Use `StyleVar` instead.
|
||||
- Obsolete `ImGuiCol::ComboBg`. Use `PopupBg` instead.
|
||||
- Rename `ImGuiCol::ChildWindowBg` to `ImGuiCol::ChildBg`.
|
||||
|
||||
- Style: Add `PopupRounding`, `FrameBorderSize`, `WindowBorderSize`, `PopupBorderSize`.
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ pub enum ImGuiCol {
|
||||
Text,
|
||||
TextDisabled,
|
||||
WindowBg,
|
||||
ChildWindowBg,
|
||||
ChildBg,
|
||||
PopupBg,
|
||||
Border,
|
||||
BorderShadow,
|
||||
@ -88,6 +88,8 @@ pub enum ImGuiCol {
|
||||
impl ImGuiCol {
|
||||
#[deprecated(since = "0.0.19", note = "ComboBg has been merged with PopupBg. Please use PopupBg instead")]
|
||||
pub const ComboBg: ImGuiCol = ImGuiCol::PopupBg;
|
||||
#[deprecated(since = "0.0.19", note = "please use ChildBg instead")]
|
||||
pub const ChildWindowBg: ImGuiCol = ImGuiCol::ChildBg;
|
||||
|
||||
pub fn values() -> &'static [ImGuiCol] {
|
||||
use ImGuiCol::*;
|
||||
@ -95,7 +97,7 @@ impl ImGuiCol {
|
||||
Text,
|
||||
TextDisabled,
|
||||
WindowBg,
|
||||
ChildWindowBg,
|
||||
ChildBg,
|
||||
PopupBg,
|
||||
Border,
|
||||
BorderShadow,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user