imgui-rs v0.0.19 Release Notes
Release Date: 2018-08-12 // over 5 years ago-
โ Added
- ๐ New things in imgui/cimgui 1.53.1
- Style: Add
PopupRounding
,FrameBorderSize
,WindowBorderSize
,PopupBorderSize
. - DemoWindow: Add
no_close
state. - Input: Add
no_undo_redo
method. - imgui-sys:
igStyleColorsDark
andigStyleColorsLight
- DragDrop low level API
igGetFrameHeight
igBeginCombo
,igEndCombo
igSetItemDefaultFocus
igGetOverlayDrawList
andigGetDrawListSharedData
ImFontConfig_DefaultConstructor
ImDrawList_AddImageRounded
- Style: Add
- Input: Add
read_only
andpassword
methods. - Various utility functions
- ๐ Support for changing the mouse cursor
- ๐ Custom font support
- ๐ Support for item grouping (
group
function) - Custom drawing with draw list manipulation
- Drag widgets
- Input: Add
input_text_multiline
method
๐ Changed
- โฌ๏ธ Upgrade to imgui/cimgui 1.53.1
- Rename
Ui::show_test_window
toUi::show_demo_window
. Keep redirection. - Rename
sys::igGetItemsLineHeightWithSpacing
tosys::igGetFrameHeightWithSpacing
.
Keep redirection. - Rename
ImGuiTreeNodeFlags::AllowOverlapMode
toImGuiTreeNodeFlags::AllowItemOverlap
.
sys::igSetNextWindowContentSize()
. Keep redirection. - Rename
sys::ImGuiTextBuffer_append()
helper toappendf()
. - Rename
ImGuiStyleVar::ChildWindowRounding
toImGuiStyleVar::ChildRounding
.
Keep redirection. - Rename
StyleVar::ChildWindowRounding
toStyleVar::ChildRounding
.
Keep redirection. - Rename
ImGuiCol::ChildWindowBg
toImGuiCol::ChildBg
.
Keep redirection.
- Rename
- โก๏ธ Upgrade glium to 0.22.0. This updates winit to 0.16. This changes the way
HIDPI are calculated. Depending on your needs, you may want to set HIDPI to 1
by setting the environment variableWINIT_HIDPI_FACTOR=1
if you use X11. frame()
now takes a singleFrameSize
argument- โฌ๏ธ Bump minimum Rust version to 1.24
set_mouse_down
takes button states by value, not by reference
๐ Deprecated
- ๐ Various imgui-sys things that were deprecated in imgui/cimgui 1.53.1
- Obsolete
sys::igIsRootWindowFocused()
in favor of using
sys::igIsWindowFocused(ImGuiFocusedFlags::RootWindow)
. - Obsolete
sys::igIsRootWindowOrAnyChildFocused()
in favor of using
๐sys::igIsWindowFocused(ImGuiFocusedFlags::RootAndChildWindows)
. - Obsolete
sys::igIsRootWindowOrAnyChildHovered()
in favor of using
๐sys::igIsWindowHovered(ImGuiHoveredFlags::RootAndChildWindows)
. - Obsolete
sys::SetNextWindowContentWidth()
in favor of using - Obsolete
Window::show_borders
. UseStyleVar
instead. - Obsolete
ImGuiCol::ComboBg
. UsePopupBg
instead.
- Obsolete
โ Removed
- ๐ Features that were removed in imgui/cimgui 1.53.1
- Remove
anti_aliased: bool
final parameter ofsys::ImDrawList_AddPolyline
andsys::ImDrawList_AddConvexPolyFilled
. - Remove
ImGuiWindowFlags::ShowBorders
window flag. Borders are now fully
๐ set up in the ImGuiStyle structure.
- Remove
- ๐ Various imgui-sys things that were deprecated in imgui/cimgui 1.52
- ๐ New things in imgui/cimgui 1.53.1