|
@ -67,17 +67,16 @@ Breaking changes: |
|
|
|
|
|
|
|
|
Other changes: |
|
|
Other changes: |
|
|
|
|
|
|
|
|
- Tooltips: made using SetItemTooltip()/IsItemHovered(ImGuiHoveredFlags_ForTooltip) defaults to |
|
|
|
|
|
activate tooltips on disabled items. This is done by adding ImGuiHoveredFlags_AllowWhenDisabled |
|
|
|
|
|
to the default value of style.HoverFlagsForTooltipMouse/HoverFlagsForTooltipNav. (#1485) |
|
|
|
|
|
- Tooltips: made is possible to combine ImGuiHoveredFlags_ForTooltip with a ImGuiHoveredFlags_DelayXXX |
|
|
|
|
|
override. (#1485) |
|
|
|
|
|
- Nav: Tabbing always enable nav highlight when ImGuiConfigFlags_NavEnableKeyboard is set. |
|
|
- Nav: Tabbing always enable nav highlight when ImGuiConfigFlags_NavEnableKeyboard is set. |
|
|
Previously was inconsistent and only enabled when stepping through a non-input item. |
|
|
Previously was inconsistent and only enabled when stepping through a non-input item. |
|
|
(#6802, #3092, #5759, #787) |
|
|
(#6802, #3092, #5759, #787) |
|
|
- Separator(): Altered end-points to use more standard boundaries. (#205, #4787, #1643) |
|
|
- Windows: |
|
|
- Left position is always current cursor X position. |
|
|
- Popups: clarified meaning of 'p_open != NULL' in BeginPopupModal() + set back user value |
|
|
- Right position is always work-rect rightmost edge. |
|
|
to false when popup is closed in ways other than clicking the close button. (#6900) |
|
|
|
|
|
- Separators: |
|
|
|
|
|
- Altered end-points to use more standard boundaries. (#205, #4787, #1643) |
|
|
|
|
|
Left position is always current cursor X position. |
|
|
|
|
|
Right position is always work-rect rightmost edge. |
|
|
- Effectively means that: |
|
|
- Effectively means that: |
|
|
- A separator in the root of a window will end up a little more distant from edges |
|
|
- A separator in the root of a window will end up a little more distant from edges |
|
|
than previously (essentially following WindowPadding instead of clipping edges). |
|
|
than previously (essentially following WindowPadding instead of clipping edges). |
|
@ -89,13 +88,17 @@ Other changes: |
|
|
- Mostly legacy behavior when used inside old Columns(), as we favored that idiom back then, |
|
|
- Mostly legacy behavior when used inside old Columns(), as we favored that idiom back then, |
|
|
only different is left position follows indentation level, to match calling a Separator() |
|
|
only different is left position follows indentation level, to match calling a Separator() |
|
|
inside or outside Columns(). |
|
|
inside or outside Columns(). |
|
|
- Popups: clarified meaning of 'p_open != NULL' in BeginPopupModal() + set back user value |
|
|
- Tooltips: |
|
|
to false when popup is closed in ways other than clicking the close button. (#6900) |
|
|
- Made using SetItemTooltip()/IsItemHovered(ImGuiHoveredFlags_ForTooltip) defaults to |
|
|
- Drag and Drop: Rework drop target highlight: reduce rectangle to its visible portion, and |
|
|
activate tooltips on disabled items. This is done by adding ImGuiHoveredFlags_AllowWhenDisabled |
|
|
|
|
|
to the default value of style.HoverFlagsForTooltipMouse/HoverFlagsForTooltipNav. (#1485) |
|
|
|
|
|
- Made is possible to combine ImGuiHoveredFlags_ForTooltip with a ImGuiHoveredFlags_DelayXXX |
|
|
|
|
|
override. (#1485) |
|
|
|
|
|
- Drag and Drop: |
|
|
|
|
|
- Reworked drop target highlight: reduce rectangle to its visible portion, and |
|
|
then expand slightly. A full rectangle is always visible and it may protrude slightly. (#4281, #3272) |
|
|
then expand slightly. A full rectangle is always visible and it may protrude slightly. (#4281, #3272) |
|
|
- Drag and Drop: Fixed submitting a tooltip from drop target location when using AcceptDragDropPayload() |
|
|
- Fixed submitting a tooltip from drop target location when using AcceptDragDropPayload() |
|
|
with ImGuiDragDropFlags_AcceptNoPreviewTooltip and submitting a tooltip manually. |
|
|
with ImGuiDragDropFlags_AcceptNoPreviewTooltip and submitting a tooltip manually. |
|
|
- TreeNode: Added ImGuiTreeNodeFlags_SpanAllColumns for use in tables. (#3151, #3565, #2451, #2438) |
|
|
|
|
|
- Tables: |
|
|
- Tables: |
|
|
- Added angled headers support. You need to set ImGuiTableColumnFlags_AngledHeader on selected |
|
|
- Added angled headers support. You need to set ImGuiTableColumnFlags_AngledHeader on selected |
|
|
columns and call TableAngledHeadersRow(). Added style.TableAngledHeadersAngle style option. |
|
|
columns and call TableAngledHeadersRow(). Added style.TableAngledHeadersAngle style option. |
|
@ -112,15 +115,15 @@ Other changes: |
|
|
in some situations, causing the earlier to be visible underneath when alpha is not 1.0f. |
|
|
in some situations, causing the earlier to be visible underneath when alpha is not 1.0f. |
|
|
- Fixed right-clicking right-most section (past right-most column) from highlighting a column. |
|
|
- Fixed right-clicking right-most section (past right-most column) from highlighting a column. |
|
|
- Fixed an issue with ScrollX enabled where an extraneous draw command would be created. |
|
|
- Fixed an issue with ScrollX enabled where an extraneous draw command would be created. |
|
|
|
|
|
- Menus: |
|
|
|
|
|
- Menus: Fixed a bug where activating an item in a child-menu and dragging mouse over the |
|
|
|
|
|
parent-menu would erroneously close the child-menu. (Regression from 1.88). (#6869) |
|
|
|
|
|
- MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously |
|
|
|
|
|
register contents size in a way that would affect the scrolling layer. |
|
|
|
|
|
Was most often noticable when using an horizontal scrollbar. (#6789) |
|
|
|
|
|
- TreeNode: Added ImGuiTreeNodeFlags_SpanAllColumns for use in tables. (#3151, #3565, #2451, #2438) |
|
|
- TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was |
|
|
- TabBar: Fixed position of unsaved document marker (ImGuiTabItemFlags_UnsavedDocument) which was |
|
|
accidentally offset in 1.89.9. (#6862) [@alektron] |
|
|
accidentally offset in 1.89.9. (#6862) [@alektron] |
|
|
- Fonts: 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer. |
|
|
|
|
|
This is because our layout/font system currently doesn't fully support non-integer sizes. Until |
|
|
|
|
|
it does, this has been a common pitfall leading to more or less subtle issues. (#3164, #3309, #6800) |
|
|
|
|
|
- Fonts: Better assert during load when passing truncated font data or wrong data size. (#6822) |
|
|
|
|
|
- Fonts: Ensure calling AddFontXXX function doesn't invalidates ImFont's ConfigData pointers |
|
|
|
|
|
prior to building again. (#6825) |
|
|
|
|
|
- Fonts, imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. (#6842, #6591) |
|
|
|
|
|
- InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer. |
|
|
- InputTextMultiline: Fixed a crash pressing Down on last empty line of a multiline buffer. |
|
|
(regression from 1.89.2, only happened in some states). (#6783, #6000) |
|
|
(regression from 1.89.2, only happened in some states). (#6783, #6000) |
|
|
- InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't |
|
|
- InputTextMultiline: Fixed Tabbing cycle leading to a situation where Enter key wouldn't |
|
@ -129,11 +132,14 @@ Other changes: |
|
|
to SameLine() followed by manual cursor manipulation. |
|
|
to SameLine() followed by manual cursor manipulation. |
|
|
- BeginCombo(): Added ImGuiComboFlags_WidthFitPreview flag. (#6881) [@mpv-enjoyer] |
|
|
- BeginCombo(): Added ImGuiComboFlags_WidthFitPreview flag. (#6881) [@mpv-enjoyer] |
|
|
- BeginListBox(): Fixed not consuming SetNextWindowXXX data when returning false. |
|
|
- BeginListBox(): Fixed not consuming SetNextWindowXXX data when returning false. |
|
|
- Menus: Fixed a bug where activating an item in a child-menu and dragging mouse over the |
|
|
- Fonts: |
|
|
parent-menu would erroneously close the child-menu. (Regression from 1.88). (#6869) |
|
|
- Arument 'float size_pixels' passed to AddFontXXX() functions is now rounded to lowest integer. |
|
|
- MenuBar: Fixed an issue where layouting an item in the menu-bar would erroneously |
|
|
This is because our layout/font system currently doesn't fully support non-integer sizes. Until |
|
|
register contents size in a way that would affect the scrolling layer. |
|
|
it does, this has been a common pitfall leading to more or less subtle issues. (#3164, #3309, #6800) |
|
|
Was most often noticable when using an horizontal scrollbar. (#6789) |
|
|
- Better assert during load when passing truncated font data or wrong data size. (#6822) |
|
|
|
|
|
- Ensure calling AddFontXXX function doesn't invalidates ImFont's ConfigData pointers |
|
|
|
|
|
prior to building again. (#6825) |
|
|
|
|
|
- imgui_freetype: Fixed a warning and leak in IMGUI_ENABLE_FREETYPE_LUNASVG support. (#6842, #6591) |
|
|
- Misc: Most text functions also treat "%.*s" (along with "%s") specially to avoid formatting. (#3466, #6846) |
|
|
- Misc: Most text functions also treat "%.*s" (along with "%s") specially to avoid formatting. (#3466, #6846) |
|
|
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_F13 to ImGuiKey_F24. (#6891, #4921) |
|
|
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_F13 to ImGuiKey_F24. (#6891, #4921) |
|
|
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_AppBack, ImGuiKey_AppForward. (#4921) |
|
|
- IO: Add extra keys to ImGuiKey enum: ImGuiKey_AppBack, ImGuiKey_AppForward. (#4921) |
|
|