mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-12 05:58:35 +00:00
[cimgui 1.53.1] Obsolete ImGuiCol::ComboBg
This commit is contained in:
parent
112d21133b
commit
5bf3eff812
@ -22,6 +22,7 @@
|
||||
- Remove `ImGuiWindowFlags::ShowBorders` window flag. Borders are now fully
|
||||
set up in the ImGuiStyle structure.
|
||||
- Obsolete `Window::show_borders`. Use `StyleVar` instead.
|
||||
- Obsolete `ImGuiCol::ComboBg`. Use `PopupBg` instead.
|
||||
|
||||
- Style: Add `PopupRounding`, `FrameBorderSize`, `WindowBorderSize`, `PopupBorderSize`.
|
||||
|
||||
|
||||
@ -59,7 +59,6 @@ pub enum ImGuiCol {
|
||||
ScrollbarGrab,
|
||||
ScrollbarGrabHovered,
|
||||
ScrollbarGrabActive,
|
||||
ComboBg,
|
||||
CheckMark,
|
||||
SliderGrab,
|
||||
SliderGrabActive,
|
||||
@ -86,6 +85,9 @@ pub enum ImGuiCol {
|
||||
ModalWindowDarkening,
|
||||
}
|
||||
impl ImGuiCol {
|
||||
#[deprecated(since = "0.0.19", note = "ComboBg has been merged with PopupBg. Please use PopupBg instead")]
|
||||
pub const ComboBg: ImGuiCol = ImGuiCol::PopupBg;
|
||||
|
||||
pub fn values() -> &'static [ImGuiCol] {
|
||||
use ImGuiCol::*;
|
||||
static values: &'static [ImGuiCol] = &[
|
||||
@ -107,7 +109,6 @@ impl ImGuiCol {
|
||||
ScrollbarGrab,
|
||||
ScrollbarGrabHovered,
|
||||
ScrollbarGrabActive,
|
||||
ComboBg,
|
||||
CheckMark,
|
||||
SliderGrab,
|
||||
SliderGrabActive,
|
||||
@ -136,7 +137,7 @@ impl ImGuiCol {
|
||||
values
|
||||
}
|
||||
}
|
||||
pub const ImGuiCol_COUNT: usize = 43;
|
||||
pub const ImGuiCol_COUNT: usize = 42;
|
||||
|
||||
/// A variable identifier for styling
|
||||
#[repr(C)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user