ocornut
0b9adc2c79
BeginChild: (BREAKING) renamed ImGuiChildFlags_Border to ImGuiChildFlags_Borders.
Amend 7713c2925
+ renamed similar argument in other functions.
3 months ago
ocornut
1e939fcc32
Tooltips, Drag and Drop: made it possible to override BeginTooltip() position while inside a drag and drop source or target. ( #6973 )
3 months ago
ocornut
5de7f69cbb
(BREAKING) Commented out obsolete ImageButton(). ( #5533 , #4471 , #2464 , #1390 )
3 months ago
ocornut
214977e5fd
IO: (BREAKING) moved io.GetClipboardTextFn, io.SetClipboardTextFn to platform_io.Platform_GetClipboardTextFn, platform_io.Platform_SetClipboardTextFn.
3 months ago
ocornut
e54f240ea0
IO: (BREAKING) moved io.PlatformLocaleDecimalPoint to platform_io.Platform_LocaleDecimalPoint. ( #7389 , #6719 , #2278 )
3 months ago
ocornut
9ff60ae31d
IO: (BREAKING) moved GetIO().PlatformSetImeDataFn to GetPlatformIO(.Platform_SetImeDataFn. ( #7660 )
3 months ago
ocornut
ba2f4a2cd5
IO: (BREAKING) moved GetIO().PlatformOpenInShellFn to GetPlatformIO(.Platform_OpenInShellFn. ( #7660 )
3 months ago
ocornut
e6460722ea
IO: Added GetPlatformIO(), ImGuiPlatformIO, currently empty.
3 months ago
ocornut
bf75504d7a
Style: added PushStyleVarX(), PushStyleVarY() helpers to modify only one component of a ImVec2 var.
+ tweak existing function to early out on error.
3 months ago
ocornut
e471206b08
Windows: adjust default ClipRect to better match rendering of thick borders. ( #7887 , #7888 + #3312 , #7540 , #3756 , #6170 , #6365 )
3 months ago
ocornut
eb7201b902
Fonts: Made it possible to use PushFont()/PopFont() calls accross Begin() calls. ( #3224 , #3875 , #6398 , #7903 )
3 months ago
ocornut
092c88dc7b
IO: rework interleaved keys<>char trickling: only trickle for keys known to be likely to input characters. ( #7889 , #4921 , #4858 )
Amend fa2b318d
. Refer to regression test "inputs_io_inputqueue" amended for IMGUI_VERSION_NUM >= 19102
3 months ago
ocornut
fabceaf036
Internals: renamed IsModKey() -> IsLRModKey() and GetModForModKey() -> GetModForLRModKey() to be more explicit.
3 months ago
ocornut
6864a7f839
Window refresh policy: extend tests to any window in the begin stack. ( #7797 )
3 months ago
ocornut
531364d728
Window refresh policy: fixed child window of skiprefresh windows not displaying. ( #7797 )
Amend d4495446d
. (#3515 , #4763 , #7556 , #5116 , #4076 , #2749 , #2268 )
3 months ago
ocornut
dcf54782d4
Version 1.91.WIP
3 months ago
ocornut
8199457a7d
Version 1.91.0
3 months ago
ocornut
ec9a4ef487
Clipper: accept that no item have been submitted if in indeterminate Begin(INT_MAX) mode. ( #1311 , #3823 )
3 months ago
ocornut
1b44e40444
Demo: re-use tree data. Fix property editor vertical alignment. Tweak recent memory allocation monitor.
3 months ago
ocornut
c2a3d5e47b
Comments, minor tweaks to ImGuiTextFilter.
3 months ago
ocornut
d42fa46dc6
Misc micro-optimizations related to hot-path of dealing with a large clipped tree.
Halved times by two in MSVC Debug x64.
3 months ago
ocornut
692bee5f22
Added GetID(int) variant for consistency. ( #7111 )
3 months ago
ocornut
b3ba6b3095
Added io.ConfigNavSwapGamepadButtons to swap Activate/Cancel (A<>B) buttons, to match the typical "Nintendo/Japanese consoles" button layout when using Gamepad navigation. ( #787 , #5723 )
3 months ago
ocornut
b20f62b162
Obsoleted GetContentRegionMax().
3 months ago
ocornut
4227402b2f
Internals: removed GetContentRegionMaxAbs() which was only meaningfully used in place of GetContentRegionAvail().
3 months ago
ocornut
055b2e80fb
Moved everyone's best friend GetContentRegionAvail() to a more prominent position.
3 months ago
ocornut
aad86b8756
Obsoleted GetWindowContentRegionMin() and GetWindowContentRegionMax().
You should never need those functions. You can do everything with GetCursorScreenPos() and GetContentRegionAvail().
3 months ago
ocornut
55f54fa512
Internals: comment out obsolete g.ActiveIdUsingNavInputMask obsoleted two years ago. ( #4921 , #4858 , #787 , #1599 , #323 )
Use SetKeyOwner(ImGuiKey_Escape, g.ActiveId); instead. Amend 8b8a61bd
3 months ago
ocornut
e3da939b86
Groups, Tables: fixed EndGroup() failing to correctly capture current table occupied size. ( #7543 )
See "layout_group_endtable" test.
4 months ago
ocornut
b67b375ae6
Debug Log: fixed incorrect checkbox layout when partially clipped., doesn't parse 64-bits hex value as ImGuiID lookups.
4 months ago
ocornut
4d8c56c813
Internals, TreeNode: indent all render block into its own scope (aim is to add a is_visible test there later)
4 months ago
ocornut
c3dca77a19
Demo: rework Property Editor.
4 months ago
Thomas Stehle
da36336321
TabBar, Style: added style option for the size of the Tab-Bar Overline ( #7804 )
Amend 21bda2e
.
4 months ago
ocornut
f9cda1fa24
Inputs: added SetItemKeyOwner(ImGuiKey key) in public API. ( #456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
4 months ago
ocornut
7814518049
MultiSelect: ImGuiSelectionBasicStorage: optimized for smaller insertion amounts in larger sets + fix caling batch select with same value.
4 months ago
ocornut
2697cfe354
MultiSelect: Box-Select: uses SetActiveIdUsingAllKeyboardKeys() to avoid nav interference, much like most drag operations.
4 months ago
ocornut
c07864f64a
MultiSelect: ImGuiSelectionBasicStorage: move function bodies to cpp file.
+ make ImGuiStorage::BuildSortByKey() less affected by msvc debug mode.
5 months ago
ocornut
e7a734f78d
MultiSelect: added ImGuiMultiSelectFlags_NoAutoSelect, ImGuiMultiSelectFlags_NoAutoClear features + added Checkbox Demo
Refer to "widgets_multiselect_checkboxes" in imgui_test_suite.
8 months ago
ocornut
f3d77d8e71
MultiSelect: Box-Select: Further refactor to extra mode code away from multi-select function into box-select funcitons.
11 months ago
ocornut
5d9de14493
MultiSelect: Box-Select: Refactor: Renames.
Split into two commits to facilite looking into previous one if needed.
11 months ago
ocornut
75bac1aac6
MultiSelect: Box-Select: Refactor into its own structure, designed for single-instance but closer to being reusable outside Multi-Select.
Kept same member names.
11 months ago
ocornut
15391762dd
MultiSelect: Box-Select: Added ImGuiMultiSelectFlags_BoxSelect2d support. Enabled in Asset Browser. Selectable() supports it.
11 months ago
ocornut
1ac469b50f
MultiSelect: Box-Select: Fixed holes when using with clipper (in 1D list.)
Clipper accounts for Selectable() layout oddity as BoxSelect is sensitive to it.
Also tweaked scroll triggering region inward.
Rename ImGuiMultiSelectFlags_NoBoxSelectScroll to ImGuiMultiSelectFlags_BoxSelectNoScroll.
Fixed use with ImGuiMultiSelectFlags_SinglaSelect.
11 months ago
ocornut
0af6fbb51d
MultiSelect: added support for nested/stacked BeginMultiSelect().
Mimicking table logic, reusing amortized buffers.
1 year ago
ocornut
5941edd9f7
MultiSelect: added support for recovery in ErrorCheckEndWindowRecover().
1 year ago
ocornut
a6adfb2b49
MultiSelect: added missing call on Shutdown(). Better reuse selection buffer.
1 year ago
ocornut
c3998b70cc
MultiSelect: clarified purpose and use of IsItemToggledSelection(). Added assert. Moved to multi-selection section of imgui.h.
1 year ago
ocornut
af83a3eea4
MultiSelect: clear selection when leaving a scope with a nav directional request.
May need to clarify how to depends on actions being performed (e.g. click doesn't).
May become optional?
1 year ago
ocornut
9223ffc255
MultiSelect: (Breaking) BeginMultiSelect() doesn't need two last params maintained by users. Moving some storage from user to core. Proper deletion demo.
1 year ago
ocornut
11bcae1ebd
MultiSelect: refactor before introducing persistant state pool and to facilitate adding recursion + debug log calls.
This is mostly the noisy/shallow stuff committed here, to get this out of the way.
1 year ago