ocornut
d474ed7f78
InputText: Internals: store Scroll.y as it seems sane to (internally) expose it in a way that's agnostic of our use of a child window ( #7913 , #383 )
3 months ago
ocornut
d15da2c47d
Backends: GLFW: undo accidentally not committing use of Platform_SetClipboardTextFn as I was testing the legacy path (amend 214977e
).
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
8e40104795
Backends: GLFW: passing null window to glfwGetClipboardString()/glfwSetClipboardString().
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
521f84a3a9
InputText: fixed an issue programmatically refocusing a multi-line input which was just active. ( #4761 , #7870 )
Amend 66f0fb986
, c5db276521
3 months ago
ocornut
8a946b69e9
InputText: allow callback to update buffer while in read-only mode (fix for imgui_memory_editor 0.54 in read-only mode).
See https://github.com/ocornut/imgui_club/pull/46
3 months ago
Pavel Rojtberg
59e69dc6df
ImGuiSelectionBasicStorage constructor needs visibility ( #7906 )
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
ecb1962013
IO, InputText: missing changelog entry (amend 092c88d
) + readme note on missing features.
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
61313a7589
Docs: better promote IMGUI_DEFINE_MATH_OPERATORS. ( #6164 , #6137 , #5966 , #2832 )
3 months ago
ocornut
2d99052d1d
Backends: SDL2, SDL3: storing SDL_WindowID inside ImGuiViewport::PlatformHandle instead of SDL_Window*. ( #7853 )
This will be used to support filtering of events with multi-viewports.
3 months ago
ocornut
1b61d55079
Backends: SDL2, SDL3: ignore events of other SDL windows, amends + wrapping into a function as it'll be convenient for multi-viewport check. ( #7853 )
+ Misc typo fix.
3 months ago
Anonymous Maarten
591a18a9c4
Backends: SDL2, SDL3: ignore events of other SDL windows. ( #7853 )
3 months ago
ocornut
29fadad193
TextLink(), TextLinkOpenURL(): change mouse cursor to Hand shape when hovered. ( #7885 , #7660 )
3 months ago
lunarlattice
45e7f7827a
Examples: SDL2+SDLRenderer: fixed return value. ( #7876 )
3 months ago
ocornut
3232070d3a
Demo: Fixed truncation warning. ( #7857 )
3 months ago
Mark Jansen
4b654db904
CI: Build example_sdl2_sdlrenderer2 with msbuild ( #7864 )
3 months ago
ocornut
8cc6eee295
Fonts: amend assert when glyph range data seems incorrect. ( #7856 )
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
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