[cimgui 1.53.1] Rename ImGuiCol::ChildWindowBg to ChildBg

This commit is contained in:
Malik Olivier Boussejra 2018-04-30 12:17:22 +09:00
parent 49ab5c524a
commit bba3e58460
2 changed files with 5 additions and 2 deletions

View File

@ -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`.

View File

@ -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,