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
9f8f5e1145
MultiSelect+TreeNode: default open behavior is OpenOnDoubleClick + OpenOnArrow when used in a multi-select context without any OpenOnXXX flags set. ( #7850 )
3 months ago
ocornut
2981a10c53
MultiSelect, TreeNode, Drag and Drop: fixed an issue where carrying a drag and drop payload over an already open tree node would select it. ( #7850 )
3 months ago
Mark Jansen
5e7dc72c92
Examples: SDL3: Update readme to use SDL3_DIR ( #7846 )
3 months ago
ocornut
fd57b252ac
Examples: Fix for Emscripten. GLFW+WGPU: rework examples main loop to handle minimization. ( #7844 )
Amend 8874787
, 71ee2ce
Amend ea39841f
(emscripten_mainloop_stub.h)
3 months ago
ocornut
71ee2ce367
Examples: GLFW: rework examples main loop to handle minimization without burning CPU or GPU by running unthrottled code. ( #7844 )
Backends: GLFW: added ImGui_ImplGlfw_Sleep() helper.
3 months ago
ocornut
887478793b
Examples: SDL2 (all), SDL3 (all), Win32+OpenGL3: Rework examples main loop to handle minimization without burning CPU or GPU by running unthrottled code. ( #7844 )
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
SPeak
1f634f1d94
Eaxmples: Android: Fix build failed issue. ( #7832 )
set android:exported to true (IntentFilter)
Signed-off-by: Sunrisepeak <speakshen@163.com>
3 months ago
ocornut
ce3a8d7c79
Demo: MultiSelect: added tree demo. ( #6990 , #3823 , #1861 )
1 year ago
ocornut
c2a3d5e47b
Comments, minor tweaks to ImGuiTextFilter.
3 months ago
ocornut
df38704926
Added SetNextItemStorageID() for tree nodes. ( #7553 , #6990 , #3823 , #1131 )
Undo/amend 7c6d4ff
.
3 months ago
ocornut
b847c41437
MultiSelect: BoxSelect: fixed using in frozen table. ( #7821 , #5143 ) + added Demo.
Amend 0b4a1a40
3 months ago
ocornut
249d5caedb
Tables: storing LastFrozenHeight for frozen requests that don't have actual freezing due to zero scrolling. ( #7821 , #5143 )
Amend 0b4a1a40
(ignore whitespace to view this patch easily)
3 months ago
Rémi Hérilier
c7b9256097
Selectable: added ImGuiSelectableFlags_Highlight flag to highlight items independently from the hovered state. ( #7820 )
Demo: Make the Widget/List boxes show how to use forced highlighting.
3 months ago
Laurent Dufresne
96460a8a12
InputText: Added '\' and '/' as word seperator. ( #7824 , #7704 )
Adding those seperators means that ctrl+(left|right)-arrows and ctrl+backspace will stop at slashes, which is more inline with how most software works and generally is very convenient when dealing with paths or urls.
3 months ago
ocornut
79e83d6535
Docs: misc update.
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
3f9a90e2a3
Docs: added extraneous link to Getting Started section.
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
ed356dc181
MultiSelect: BoxSelect: fixed box-select from void setting nav id multiple times.
3 months ago
ocornut
237165a935
MultiSelect: fixed an issue caused by previous commit.
Amend a285835
. Breaks box-select.
4 months ago
ocornut
a285835ac4
MultiSelect: add internal MultiSelectAddSetAll() helper.
4 months ago
ocornut
79b77d91c9
MultiSelect: sequential SetRange merging not generally handled by box-select path, useful for others.
4 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
97c6f4047c
CollapsingHeader: left-side outer extend matches right-side one (moved left by one pixel)
Amend c3a348aa2
4 months ago
ocornut
1230b4410c
Internals, TreeNode, Selectable: tweak span_all_columns paths for clarity.
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
Cyao
fe09ebbe0a
Backends: OpenGL3: Fixed unsupported option warning with apple clang ( #7810 )
4 months ago
ocornut
605c8d7110
Demo: Property Editor: using ImGuiChildFlags_NavFlattened now that a bug is fixed. Fixed static analyzer.
4 months ago
ocornut
97ff9bd370
Nav: fixed c licking window decorations (e.g. resize borders) from losing focused item when within a child window using ImGuiChildFlags_NavFlattened.
In essence, using ImGuiFocusRequestFlags_RestoreFocusedChild here is a way to reduce changes caused by FocusWindow(), but it could be done more neatly.
See amended "nav_flattened" test.
4 months ago
ocornut
c3dca77a19
Demo: rework Property Editor.
4 months ago
ocornut
fd994943c2
Added a comment hinting at how to set IMGUI_API for shared librairies on e.g. Linux, macOS ( #7806 )
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
eb72b5a8ee
Backends: SDL3: Update for API changes: SDL_GetGamepads() memory ownership change. ( #7807 )
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
b6e313bc05
MultiSelect: using ImGuiMultiSelectFlags_NoRangeSelect ensure never having to interpolate between two ImGuiSelectionUserData.
4 months ago
ocornut
168ef39984
Demo: moved menu bar code to its own function.
4 months ago
ocornut
57eea6746e
Demo: moved some fields inside a struct.
4 months ago