ocornut
a47bfb1b5b
Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
2024-06-10 15:02:43 +02:00
ocornut
7260bb51cf
Version 1.90.9 WIP
2024-06-07 16:57:01 +02:00
ocornut
6f7b5d0ee2
Version 1.90.8
2024-06-06 17:45:40 +02:00
ocornut
67d886fd63
Removed ImGuiButtonFlags_MouseButtonDefault_.
2024-06-06 17:25:16 +02:00
ocornut
2a418f054d
InputText: reordered all flags. (ABI breaking)
2024-06-06 17:23:56 +02:00
ocornut
47db0698d2
InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal, ImGuiInputTextFlags_DisplayEmptyRefVal. ( #7305 )
2024-06-06 16:51:15 +02:00
ocornut
0561d708ba
Modals, Popups: fixed an issue preventing to close a popup opened over a modal by clicking over void. ( #7654 )
2024-06-05 15:55:01 +02:00
korenkonder
209edcc247
Fixed incorrect order of arguments in IsMouseClicked(). ( #7657 , #456 )
...
Amend 85513de24
2024-06-04 17:29:59 +02:00
ocornut
a31aa683ff
Tables: fixed an issue where ideal size reported to parent container wouldn't correctly take account of inner scrollbar. ( #7651 )
2024-06-03 19:02:28 +02:00
ocornut
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. ( #7653 )
2024-06-03 18:25:58 +02:00
ocornut
68a05e3f04
Tables: fixed a bug where after disabling the ScrollY flag for a table, previous scrollbar width would be accounted for. ( #5920 )
...
Amend 317b33d6
2024-06-03 17:17:13 +02:00
ocornut
6cefd4fd88
Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. ( #1574 )
...
Initially fixed by 2d9d7a10c
, and broken back by a0994d74c2
(v1.71, wow).
2024-06-03 16:41:29 +02:00
ocornut
f953ebf9ca
Disabled: nested tooltips or other non-child window within a BeginDisabled() block disable the disabled state. ( #211 , #7640 )
2024-05-31 18:13:25 +02:00
ocornut
868f444620
Debug: extracted debug log 0xXXXXXXX scanning into a helper function. ( #5855 )
2024-05-29 18:48:25 +02:00
ocornut
109a8632d7
Combo: simplified Combo() API uses a list clipper.
...
Wasn't as trivial before supporting IncludeItemByIndex().
2024-05-28 18:24:01 +02:00
ocornut
51823d117d
Misc: made ImGuiDir, ImGuiSortDirection, ImGuiMouseCursor stronger-typed enums + cater for possible warning in backends's switch()
...
Not making ImGuiMouseCursor one because of warnings for non-explicitly handled value (case default: is not enough).
2024-05-28 18:09:41 +02:00
ocornut
5cbc34a10c
Scrollbar: clicking above or below the grab scrolls by one page, holding mouse button repeats scrolling. ( #7328 , #150 )
...
Remove absolute seeking entirely. Amend f02108085
.
2024-05-28 16:28:20 +02:00
ocornut
ed9eb880b5
Windows: Fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. ( #7576 , #899 )
...
Latching TitleBarHeight, MenuBarHeight in window.
2024-05-28 15:35:36 +02:00
ocornut
1f9fc382c3
Version 1.90.8 WIP
...
Tidying up todo.txt
2024-05-28 10:09:31 +02:00
ocornut
00ad3c65bc
Version 1.90.7
2024-05-27 15:47:04 +02:00
ocornut
f814ef816f
Commented out CaptureKeyboardFromApp(), CaptureMouseFromApp(). Commented out obsolete IsKeyPressedMap() from imgui_internal.h (can call IsKeyPressed). Comments
2024-05-27 14:41:02 +02:00
ocornut
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. ( #456 )
2024-05-24 15:44:59 +02:00
ocornut
650cb51bf1
Shortcuts: renamed ImGuiInputFlags_RouteActiveItem to ImGuiInputFlags_RouteActive. ( #456 , #7618 )
...
Amend ef9d525
2024-05-24 15:27:48 +02:00
ocornut
ef9d525f02
Shortcuts: added ImGuiInputFlags_RouteActiveItem. ( #456 , #7618 ) + rearrange Changelog
2024-05-24 15:07:43 +02:00
ocornut
16b72f2d21
Comments
2024-05-24 14:21:50 +02:00
ocornut
29439bdd27
Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. ( #1710 )
...
Calculation incorrectly didn't always account for scrollbar as it assumed the other axis would also be auto-fit.
2024-05-24 12:31:40 +02:00
ocornut
374b9a7fb4
Demo: Documents: refactor + add Renaming option. ( #7233 )
2024-05-23 21:35:07 +02:00
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
2024-05-23 16:58:14 +02:00
ocornut
dc5caa483c
Demo: added "Shortcuts" section. ( #456 , #2637 )
2024-05-23 16:57:19 +02:00
ocornut
fc512a2474
Inputs: Added Shortcut(), SetNextItemShortcut(). Added ImGuiInputFlags, ImGuiInputFlags_RouteXXXX. ( #456 , #2637 )
2024-05-23 16:57:03 +02:00
ocornut
85513de247
Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). ( #456 )
...
For several reasons those changes makes sense. They are being made because making some of those API public.
Only past users of imgui_internal.h with the extra parameters will be affected.
Added asserts for valid flags in various functions to detect _some_ misuses, BUT NOT ALL.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
2024-05-23 16:57:03 +02:00
ocornut
900b29055c
Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). ( #456 )
...
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
2024-05-23 16:57:03 +02:00
ocornut
55748cdbe1
Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit.
...
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
2024-05-23 16:57:03 +02:00
ocornut
ec1d2be96f
Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. ( #2496 , #3907 , #6308 , #7615 )
2024-05-23 15:15:42 +02:00
ocornut
6d1a6f1c74
Internals, Inputs: Comments, alignment.
2024-05-22 12:17:33 +02:00
ocornut
28a283b460
Windows: BeginChild(), Tables:fixed visibility of fully clipped child windows and tables to Test Engine.
2024-05-21 11:06:40 +02:00
ocornut
ae8218a3ea
Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. ( #456 )
...
Rename IsNamedKeyOrModKey() to IsNamedKeyOrMod() for consistency.
Fixed GetKeyName(ImGuiKey_None) from returning "N/A" or "None" depending on IMGUI_DISABLE_OBSOLETE_KEYIO.
See "inputs_keychord_name" in imgui_test_suite.
2024-05-17 17:07:50 +02:00
ocornut
25e279ee73
Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. ( #2343 )
2024-05-17 15:26:34 +02:00
ocornut
5107e58b0f
Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. ( #2343 )
2024-05-16 19:56:29 +02:00
ocornut
7747106647
Inputs: swap Ctrl and Cmd on macOS X, remove ImGuiMod_Shortcut. ( #2343 , #4084 , #5923 , #456 )
2024-05-16 19:16:55 +02:00
Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
2024-05-16 16:13:01 +02:00
ocornut
93daf23223
Examples: SDL3: updates for latest SDL3 API changes.
2024-05-15 14:18:48 +02:00
kuvaus
e45efa9951
Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. ( #7580 )
2024-05-15 14:11:54 +02:00
ocornut
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
2024-05-15 13:44:54 +02:00
omar
f0912833ba
Update FAQ.md ( #7581 )
2024-05-14 14:09:46 +02:00
ocornut
ac90e1bd5b
Backends: Win32: replace bd != nullptr assert with early out. ( #6275 )
...
+ fixed inconsistent use of break vs return 0 in WndProcHandler (had no tangible effect).
2024-05-14 12:18:10 +02:00
omar
0a5d40a016
Update FAQ.md
2024-05-14 11:40:23 +02:00
ocornut
d06b8b58d8
Nav: fixed holding Ctrl or gamepad L1 from not slowing down keyboard/gamepad tweak speed.
...
Broken by 8b8a61bd
+ Comments (#7570 )
2024-05-13 19:03:04 +02:00
ocornut
5e23680454
Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. ( #7568 )
2024-05-13 15:07:13 +02:00
prabu
510eb8f480
Tables: fixed cell background of fully clipped row overlapping with header. ( #7575 , #7041 )
2024-05-13 14:50:15 +02:00
ocornut
f48aae600a
Version 1.90.7 WIP
2024-05-13 14:47:37 +02:00
ocornut
6ccc561a2a
Version 1.90.6
2024-05-08 15:38:33 +02:00
ocornut
0d483a1c89
Backends: OpenGL3: Update loader for Linux to support EGL/GLVND. ( #7562 )
...
+ #6983
2024-05-07 18:23:29 +02:00
ocornut
1ab1af80c7
Backends: Win32: Facepalm revert part of d15574c
+ additional commentary ( #6275 )
2024-05-07 17:03:51 +02:00
ocornut
d15574ce2a
Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! ( #6275 )
...
Better standardized similar checks in other backends.
2024-05-07 16:53:03 +02:00
ocornut
0b309471f2
Windows: Changed default ClipRect to extend to windows' left and right borders. ( #3312 , #7540 , #3756 , #6170 , #6365 )
2024-05-03 16:00:20 +02:00
thedmd
fc4d818e17
Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign. ( #6917 )
2024-05-03 12:54:59 +02:00
ocornut
4bb7567141
Tables: Angled headers: fixed multi-line label display when angle is flipped. ( #6917 )
2024-05-02 13:49:26 +02:00
gan74
c895e987ad
ProgressBar: added indeterminate mode by passing an animated negative value. ( #5316 , #5370 , #1901 )
2024-04-24 19:40:26 +02:00
diego.mateos
b8a44b198c
TreeNode: added ImGuiTreeNodeFlags_SpanTextWidth. ( #6937 )
2024-04-24 19:00:58 +02:00
ocornut
b720c0f541
Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. ( #6582 , #4854 )
2024-04-19 15:47:26 +02:00
ocornut
fa0120ea5e
Windows: Fixed subsequent Begin() append calls from setting last item information for title-bar. ( #7506 , #823 )
...
Amend 067605052
, 27fd1b913b
2024-04-18 21:17:12 +02:00
ocornut
361432a0bb
TreeNode: fixed layout so that TreeNode("") or TreeNode("##HiddenLabel") may properly be used with SameLine(0,0). ( #7505 , #282 )
...
Also adjust some of the interact_bb padding, arbitrary interact padding not meaningful as empty label is likely to be followed by extra item. User likely to use ImGuiTreeNodeFlags_SpanAvailWidth.
2024-04-18 20:50:00 +02:00
ocornut
eba46cb0d2
Drag and Drop: assert when nesting BeginDragDropSource() and BeginDragDropTarget() ( #7504 ) + update Gallery links
2024-04-17 18:00:55 +02:00
ocornut
9ec299ebe3
Backends: OpenGL: Detect ES3 contexts on desktop based on version string, ( #7447 )
2024-04-16 16:18:51 +02:00
ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
2024-04-16 14:16:32 +02:00
ocornut
648278cd62
Examples: GLFW+WebGPU: Amends. ( #7435 , #7132 )
2024-04-16 12:33:36 +02:00
GamingMinds-DanielC
b475309fa1
Fonts: Fixed font ascent and descent calculation when a font hits exact integer values. ( #7399 , #7404 )
2024-04-15 15:31:39 +02:00
ocornut
daecfffefb
Text, DrawList: Improved handling of long single-line wrapped text. ( #7496 , #5720 )
2024-04-15 12:52:45 +02:00
Green Sky
fab96a6e59
Backends: SDL3: Re-enable calling SDL_StartTextInput()/SDL_StopTextInput(). ( #7452 , #6306 , #6071 , #1953 )
...
Amend: a7703fe
2024-04-15 12:25:42 +02:00
ocornut
3caa79c8a5
Version 1.90.6 WIP
2024-04-15 11:27:07 +02:00
ocornut
231cbee0fc
Version 1.90.5
2024-04-11 15:54:39 +02:00
GamingMinds-DanielC
4f9ba19e52
Drags, Sliders, Inputs: Reactivated decimal point replacement for SliderScalar and DragScalar. ( #7389 , #6719 , #2278 )
...
Amend/fix 4a242644
2024-04-03 11:39:46 +09:00
ocornut
9a2b598ec1
ListBox: Fixed text-baseline offset when using SameLine()+Text() after a labeled ListBox().
...
Visible in demo->basic->listbox
2024-04-03 10:20:18 +09:00
ocornut
d3c3514a59
Tables: Fixed auto-width columns when using synced-instances of same table. ( #7218 )
2024-03-29 19:39:05 +09:00
ocornut
25a492f330
ProgressBar: Fixed passing fraction==NaN from leading to a crash. ( #7451 )
2024-03-29 19:09:55 +09:00
ocornut
742e53434f
Child Windows: adjust resizing limits to match window padding rather than inner clipping rectangle. ( #7440 )
2024-03-27 11:36:57 +09:00
cfillion
515b437c08
Child windows: look at the parent window's flags to decide whether to clamp child resizes. ( #7440 , #1710 )
2024-03-27 11:24:07 +09:00
cfillion
976dc23965
Windows: extend outer resize borders to the edges when there are no corner grips. ( #7440 , #1710 )
2024-03-27 11:01:14 +09:00
ocornut
37b37fc2a3
DrawList: Allow AddText() to accept null ranges. ( #3615 , 7391)
2024-03-27 10:51:42 +09:00
cfillion
cf4c10bef7
Style: added ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TableAngledHeadersAngle. ( #7411 )
2024-03-26 14:38:38 +09:00
cfillion
f0802287db
Tables: Angled headers: fixed table contents overflowing when a list clipper is used. ( #7416 )
2024-03-26 13:01:24 +09:00
cfillion
29ff159f94
Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow stops being called. ( #7416 )
2024-03-26 13:01:24 +09:00
cfillion
38ddfb24f0
Tables: Angled headers: fixed border hit box extending beyond non-scrollable tables. ( #7416 )
2024-03-26 13:01:24 +09:00
cfillion
868facff9d
ImDrawList: (Breaking) merge float radius_x/radius_y parameters into ImVec2 radius in PathEllipticalArcTo(), AddEllipse(), AddEllipseFilled(). ( #2743 , #7417 )
2024-03-18 22:50:47 -07:00
ocornut
40df3db1a2
Tweaking terminology
2024-03-17 19:46:12 +09:00
ocornut
3c435c0297
Inputs: (Breaking) More formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set. ( #4921 )
2024-03-08 12:16:24 +01:00
ocornut
65dc67f63c
Windows: Double-click to collapse may be disabled via key-ownership mechanism. ( #7369 )
2024-03-05 17:34:34 +01:00
ocornut
fbf45ad149
ImDrawList: add PathFillConcave(), AddConcavePolyFilled(): amends ( #760 )
...
- Simplify and compact some code. Shallow tweaks.
- Add comments.
- Add concave shape demo.
- Remove coarse culling.
- Remove nested types to match coding style and for consistent type nams when translated to other languages.
- Merged ClassifyNode() and ReclassifyNode().
- Extracted ImTriangleIsClockwise().
- Hold copy of points inside nodes instead of pointing to them.
2024-03-01 21:08:18 +01:00
ocornut
04f40014a6
Docs: added a mini wiki index in main source files.
2024-02-29 15:17:08 +01:00
omar
c623669967
Added link to crawlable wiki
2024-02-28 19:21:13 +01:00
ocornut
0573513d6d
Windows: Scrollbar visibility decision uses current size when both size and contents size are submitted by API. ( #7252 )
2024-02-28 17:09:20 +01:00
ocornut
c3f8f4de25
Menus, Popups: Fixed an issue where sibling menu popups re-opening in successive frames would erroneously close the window. ( #7325 , #7287 , #7063 )
...
Amend 014e0ac8
2024-02-27 18:36:46 +01:00
ocornut
e46d1e69ac
Version 1.90.5 WIP
2024-02-26 13:31:10 +01:00
ocornut
277ae93c41
Version 1.90.4
2024-02-22 19:56:39 +01:00
ocornut
13d91ff918
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
...
Amend/fix 3a078466a
2024-02-22 19:39:10 +01:00
ocornut
34965cf23a
Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are properly handled by BeginPopupModal(). ( #7340 )
...
+ Misc: Added optional alpha multiplier parameter to GetColorU32(ImU32) variant.
2024-02-22 14:53:33 +01:00
ocornut
659fb41d0a
Debug Tools: moved DebugStartItemPicker() to public API. Added to Demo->Tools menu. ( #2673 )
2024-02-20 17:33:17 +01:00
ocornut
198c38f0b1
Demo: Custom Rendering: better demonstrate PathArcTo(), PathBezierQuadraticCurveTo(), PathBezierCubicCurveTo(), PathStroke(), PathFillConvex() functions.
2024-02-20 16:33:54 +01:00
ocornut
3b6d924acd
ProgressBar: Fixed a minor tesselation issue when rendering rounded progress bars.
...
Incidentally, the auto-tesselation path of PathArcTo() wasn't much tested.
2024-02-20 16:02:04 +01:00