c554c402d3
IO: do not claim io.WantCaptureMouse=true on the mouse release frame of a button which was pressed over void. (#1392)
ocornut2024-07-01 16:13:38 +02:00
50a0f18e6a
imgui_freetype: fixed divide by zero while handling FT_PIXEL_MODE_BGRA glyphs. (#7267, #3369)
ocornut2024-07-01 14:57:33 +02:00
dd5c30d2d7
Disabled: Reworked 1.90.8 behavior of Begin() not inheriting current BeginDisabled() state. Only tooltip are clearing that state. (#211, #7640)
ocornut2024-07-01 14:32:11 +02:00
67216910fb
Examples: SDL3: Remove use of SDL_HINT_IME_NATIVE_UI.
ocornut2024-07-01 12:10:54 +02:00
ccf3ee674a
Backends: SDL3: update for SDL_SetTextInputRect() -> SDL_SetTextInputArea() api change. (#7760, #7754)
Max Ortnerandocornut2024-06-30 16:28:53 -06:00
751bbf38ba
Backends: SDLRenderer3: Update for SDL_RenderGeometryRaw() API changes.
ocornut2024-07-01 12:04:36 +02:00
f2c07ed717
Backends: Allegro5: Correctly handle unstable bit in version checks (#7755)
Connor ClarkandGitHub2024-06-30 14:25:51 -07:00
c47928ffc0
Checkbox: minor tidying up to simplify work on multi-select branch.
ocornut2024-06-28 18:33:57 +02:00
372eebbeb2
Fix typo, rename ImGuisliderFlags_WrapAround flag to ImGuiSliderFlags_WrapAround. (#7752, #7749)
Kevin CoghlanandGitHub2024-06-28 17:06:16 +01:00
0403096a9d
Drags: added ImGuisliderFlags_WrapAround flag for DragInt(), DragFloat() etc. (#7749)
ocornut2024-06-28 15:54:40 +02:00
c7df9c7121
Backends: Win32: Fixed warning with old MinGW/GCC versions.
ocornut2024-06-28 15:48:08 +02:00
404af57004
Backends: OpenGL2, OpenGL3: ImGui_ImplOpenGL3_NewFrame() recreates font texture if it has been destroyed by ImGui_ImplOpenGL3_DestroyFontsTexture(). (#7748)
ocornut2024-06-28 15:04:52 +02:00
0582f7678a
Nav: store NavJustMovedToIsTabbing + shuffle a few nav related fields.
ocornut2024-06-27 19:05:47 +02:00
77d582fa37
Windows: BeginChild(): fixed a glitch when during a resize of a child window which is tightly close to the boundaries of its parent. (#7706)
ocornut2024-06-27 18:04:24 +02:00
953d40c929
Tables: moved TableGetHoveredColumn() to public API. (#7715, #3740)
ocornut2024-06-27 17:17:54 +02:00
fbb903e158
Inputs: fixed using Shortcut() or SetNextItemShortcut() within a disabled block bypassing the disabled state. (#7726)
ocornut2024-06-27 16:37:33 +02:00
dbffb702f8
ImGuiStorage: tweak impl for BuildSortByKey().
ocornut2024-06-26 18:57:14 +02:00
aab27130a6
Demo: Style Editor: clarify how _CalcCircleAutoSegmentCount() doesn't always get exact final segment count. (#7731)
ocornut2024-06-24 12:57:39 -07:00
48e7e7bfe8
Backends: SDL3: Follow SDL3 removal of keysym field in SDL_KeyboardEvent (#7729)
Gary GengandGitHub2024-06-23 17:26:52 -05:00
755bf2b8c2
(Breaking) Move ImGuiWindowFlags_NavFlattened to ImGuiChildFlags_NavFlattened. (#7687)
cfillionandocornut2024-06-12 18:28:24 -04:00
2c8cc58fd1
Internals: storing HoveredWindowBeforeClear for use by multi-context compositor drag and drop propagation.
ocornut2024-06-21 14:45:30 -07:00
7f20a4b041
Nav: CTRL+Tab overlay display context name if any.
ocornut2024-06-21 10:16:15 -07:00
e3971079cf
IO: added ImGuiConfigFlags_NoKeyboard for consistency and convenience. (#4921)
ocornut2024-06-21 10:08:07 -07:00
8067d05f74
IO: added ClearInputMouse(). made ClearInputKeys() not clear mouse data. (#4921)
ocornut2024-06-21 10:01:53 -07:00
7e7c97ac5f
Ignore .ini file with other suffixes.
ocornut2024-06-20 14:34:42 -07:00
77d9f80754
Drag and Drop: Added ImGuiDragDropFlags_PayloadNoCrossContext and ImGuiDragDropFlags_PayloadNoCrossProcess flags.
ocornut2024-06-20 11:26:45 -07:00
8c318dc770
Drag and Drop: (Breaking) renamed ImGuiDragDropFlags_SourceAutoExpirePayload to ImGuiDragDropFlags_PayloadAutoExpire. (#1725, #143)
ocornut2024-06-20 11:24:54 -07:00
50709454b3
Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceExtern assume a mouse button being pressed. (#143)
ocornut2024-06-19 19:02:51 -07:00
37c243bb35
Internals: added ImGuiContext::ContextName optionally used by debug log and to facilitate debugging.
ocornut2024-06-19 17:53:34 -07:00
8c517fee35
Drag and Drop: Fixes an issue when elapsing payload would be based on last payload frame instead of last drag source frame.
ocornut2024-06-19 14:19:55 -07:00
32a037c030
Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceExtern. (#143)
ocornut2024-06-19 13:36:58 -07:00
b902fa4c44
IO: do not disable io.ConfigWindowsResizeFromEdges when ImGuiBackendFlags_HasMouseCursors is not set by backend.
ocornut2024-06-11 14:15:13 +02:00
8caf7afbad
Internals: made ImLowerBound() accessible in internals + take a span. + rearrange child/popup/tooltips section.
ocornut2024-06-10 19:20:12 +02:00
22d65c7949
Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages).
ocornut2024-06-10 17:42:08 +02:00
7538ca6f40
Examples: SDL+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR (#7671)
ocornut2024-06-10 15:04:40 +02:00
a47bfb1b5b
Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR (#7671)
ocornut2024-06-10 15:02:43 +02:00
d46a0aa069
Internals: renamed HoveredIdDisabled to HoveredIdIsDisabled for consistency.
ocornut2024-06-10 13:59:46 +02:00
3460014e05
Internals: avoid using bitfields in ImGuiNextItemData as it leads to extraneous packing. rename ImGuiDataTypeTempStorage to ImGuiDataTypeStorage. moved DataType section above Widgets.
ocornut2024-06-06 15:53:05 +02:00
0561d708ba
Modals, Popups: fixed an issue preventing to close a popup opened over a modal by clicking over void. (#7654)
ocornut2024-06-05 15:47:21 +02:00
a31aa683ff
Tables: fixed an issue where ideal size reported to parent container wouldn't correctly take account of inner scrollbar. (#7651)
ocornut2024-06-03 19:02:28 +02:00
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. (#7653)
ocornut2024-06-03 18:25:58 +02:00
68a05e3f04
Tables: fixed a bug where after disabling the ScrollY flag for a table, previous scrollbar width would be accounted for. (#5920)
ocornut2024-06-03 17:16:28 +02:00
6cefd4fd88
Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. (#1574)
ocornut2024-06-03 16:41:19 +02:00
f953ebf9ca
Disabled: nested tooltips or other non-child window within a BeginDisabled() block disable the disabled state. (#211, #7640)
ocornut2024-05-31 18:13:25 +02:00
97a1111b94
Drag and Drop: tweaked BeginDragDropSource() to remove indent. Added debug log.
ocornut2024-05-29 18:27:04 +02:00
661c388515
Debug Log, Test Engine: avoid duplicate carriage return when using ImGuiDebugLogFlags_OutputToTestEngine. (#5855)
ocornut2024-05-29 18:11:07 +02:00
868f444620
Debug: extracted debug log 0xXXXXXXX scanning into a helper function. (#5855)
ocornut2024-05-29 16:07:59 +02:00
109a8632d7
Combo: simplified Combo() API uses a list clipper.
ocornut2024-05-28 18:18:35 +02:00
51823d117d
Misc: made ImGuiDir, ImGuiSortDirection, ImGuiMouseCursor stronger-typed enums + cater for possible warning in backends's switch()
ocornut2024-05-28 17:46:00 +02:00
5cbc34a10c
Scrollbar: clicking above or below the grab scrolls by one page, holding mouse button repeats scrolling. (#7328, #150)
ocornut2024-05-28 16:27:53 +02:00
479c5f62fc
Style: make DisplayWindowPadding visible in style editor.
ocornut2024-05-28 15:44:27 +02:00
ed9eb880b5
Windows: Fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. (#7576, #899)
ocornut2024-05-28 15:35:36 +02:00
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. (#456)
ocornut2024-05-24 16:07:58 +02:00
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. (#456)
ocornut2024-05-24 15:44:59 +02:00
29439bdd27
Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. (#1710)
ocornut2024-05-24 12:31:40 +02:00
7c71e66370
Shortcuts, SetShortcutRouting: move ImGuiInputFlags_RouteFromRootWindow evaluation to SetShortcutRouting() for now. (#456)
ocornut2024-05-23 17:33:16 +02:00
d5a600e9c6
Shortcuts, SetShortcutRouting: added ImGuiInputFlags_RouteFromRootWindow. Made it possible for SetShortcutRouting() to query for another location.
ocornut2024-05-23 17:22:44 +02:00
0eb025f484
Internals: move ItemHandleShortcut() next to Shortcut(), it's calling it anyhow. (#456)
ocornut2024-05-23 17:17:54 +02:00