ocornut
8ce47f82b4
Merge tag 'v1.90.8' into external/win98
...
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
2024-06-07 19:14:55 +02:00
ocornut
6f7b5d0ee2
Version 1.90.8
2024-06-06 17:45:40 +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
Rodrigo Rivas Costa
e47015aef4
Demo: remove incompatible ImGuiInputFlags for Shortcut(). ( #7637 )
2024-05-31 16:30:11 +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
479c5f62fc
Style: make DisplayWindowPadding visible in style editor.
2024-05-28 15:47:19 +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
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. ( #456 )
2024-05-24 16:07:58 +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
374b9a7fb4
Demo: Documents: refactor + add Renaming option. ( #7233 )
2024-05-23 21:35:07 +02:00
ocornut
1002cfa6d2
Demo, Shortcut(): amend Shortcuts demo. ( #456 )
2024-05-23 18:12:42 +02:00
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
2024-05-23 16:58:14 +02:00
ocornut
197f8904fe
Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. ( #456 )
...
Unsure why filter in ItemHandleShortcut(), will probably find out soon enough.
2024-05-23 16:57:19 +02:00
ocornut
dc5caa483c
Demo: added "Shortcuts" section. ( #456 , #2637 )
2024-05-23 16:57:19 +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
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
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
d4495446d5
Windows, Internal: added experimental SkipRefresh mode. ( #3515 , #4763 , #7556 , #5116 , #4076 , #2749 , #2268 )
...
currently: ImGui::SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags_TryToAvoidRefresh);
- This is NOT meant to replace frame-wide/app-wide idle mode.
- This is another tool: the idea that a given window could avoid refresh and reuse last frame contents.
- I think it needs to be backed by a careful and smart design overall (refresh policy, load balancing, making it easy and obvious to user).
- It's not there yet, this is currently a toy for experimenting.
My other issues with this:
- It appears to be very simple, but skipping most of Begin() logic will inevitably lead to tricky/confusing bugs. Let's see how it goes.
- I don't like very much that this opens a door to varying inconsistencies
- I don't like very much that it can lead us to situation where the lazy refresh gets disabled in bulk due to some reason (e.g. resizing a dock space) and we get sucked in the temptation to update for idle rather than update for dynamism.
2024-05-07 11:44:43 +02:00
thedmd
fc4d818e17
Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign. ( #6917 )
2024-05-03 12:54:59 +02:00
ocornut
913151caa8
Demo: move progress bars to their own section.
2024-04-24 19:40: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
baaaaea9e9
Demo: tweak TreeNode demo.
2024-04-24 18:20:09 +02:00
ocornut
3caa79c8a5
Version 1.90.6 WIP
2024-04-15 11:27:07 +02:00
ocornut
f790d51665
Silent zealous/stupid warning introduced by Clang 16 (shipping with VS2022) with -Weverything. Pointers are now illegal!
2024-04-12 16:55:32 +02:00
ocornut
231cbee0fc
Version 1.90.5
2024-04-11 15:54:39 +02: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
37b37fc2a3
DrawList: Allow AddText() to accept null ranges. ( #3615 , 7391)
2024-03-27 10:51:42 +09:00
ocornut
5c5ae806aa
Comments
2024-03-26 14:42:51 +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
Christian Fillion
0a1f5b94e3
Demo: Two minor fixes (unchecked BeginTooltip + incorrect height constraint) ( #7410 )l
2024-03-17 23:29:10 -07:00
ocornut
40df3db1a2
Tweaking terminology
2024-03-17 19:46:12 +09: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
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
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
405e54ebd5
Tables: Angled Headers: fixed support for multi-line labels. various padding/layout fixes. ( #6917 )
2024-02-19 20:27:20 +01:00
ocornut
8a14b71f22
Version 1.90.4 WIP
2024-02-15 16:51:57 +01:00
ocornut
5b6f03213d
Version 1.90.3
2024-02-14 13:58:19 +01:00
ocornut
915c6393ad
Version 1.90.3 WIP
2024-02-12 14:54:48 +01:00
ocornut
536090303a
Version 1.90.2
2024-02-09 16:59:31 +01:00
ocornut
5cdc4a2a41
Demo: use ImGui::MemAlloc/MemFree for consistency. ( #7300 )
2024-02-09 14:20:12 +01:00