Commit Graph

9960 Commits

Author SHA1 Message Date
ocornut
6824e2c2e4 Examples: Android: update to AGP 9.2.0 to support Gradle 9.6.0. 2026-07-02 14:26:46 +02:00
ocornut
e9ea19086b CI: fixed Android build on Ubuntu-latest by expliciting Gradle version to < 9.x. 2026-07-02 14:13:32 +02:00
ocornut
caddd26fb9 Backends: Metal4: minor tweaks/comments. (#9458, #9451) 2026-07-02 12:09:06 +02:00
Amélie Heinrich
fc6395365d Backends: Metal4: Added Metal 4 backend. Added SDL3+Metal4 example. (#9458, #9451) 2026-07-02 12:00:10 +02:00
ocornut
93dd4c1567 Backends: Metal4: copy imgui_imp_metal.* to imgui_impl_metal4.*, unmodified. (#9458, #9451) 2026-07-02 11:59:36 +02:00
ocornut
279d04f7a3 Added GetItemClickedCountWithSingleClickDelay(), io.MouseSingleClickDelay. (#8337) 2026-07-01 18:53:29 +02:00
ocornut
0edad6d097 Internals: track WasSelected/WasSoleSelected data for ActiveId. (#8337) 2026-07-01 18:53:27 +02:00
ocornut
e408733ecc BeginMenu(), MenuItem() use NextItemData.Flags + Fixed typo in comment. (#9456) 2026-07-01 12:38:32 +02:00
ocornut
9e6c0416fe Backends: GLFW,SDL2,SDL3: added wayland/driver marker in io.BackendPlatformName.
+ Stored bd->IsWayland variable for e.g. #7433
2026-06-29 18:26:59 +02:00
ocornut
c66d9a8190 Examples, SDL2/SDL3: use SDL_GetWindowSizeInPixels() to create framebuffers. (#8761, #9124)
+ cc #7433
2026-06-29 11:50:42 +02:00
ocornut
76f5be2749 Settings: minor struct packing. 2026-06-25 22:59:51 +02:00
ocornut
60fbdbb8d8 Multi-Select: reworked ImGuiMultiSelectFlags_NoAutoSelect as it carried side-effects that were hardcoded/designed to use multi-selection on checkboxes. (#9391) 2026-06-25 14:13:13 +02:00
ocornut
ac6f9683b5 Style: added MenuItemRounding, SelectableRounding, ImGuiStyleVar_MenuItemRounding, ImGuiStyleVar_SelectableRounding. (#7589, #9375, #9453) 2026-06-25 11:43:50 +02:00
ocornut
1c1241136a Tables: fixed (harmless) flag clearing issue in TableReconcileColumns(). (#9108)
Was actually harmless because IsNeedReconcileSrc never read again for this column.
2026-06-25 11:22:09 +02:00
ocornut
0e355af09e RenderNavCursor: take rounding as input. Removed ImGuiNavRenderCursorFlags_NoRounding.
Toward #7589
2026-06-24 18:34:30 +02:00
ocornut
26432cfdc6 Style, Nav: scale the NavCursor border thickness when using large values with ScallAllSizes(). 2026-06-24 17:57:04 +02:00
ocornut
be374fa598 TreeNode: fixed nav cursor rendering with rounding even though tree nodes don't have it. (#7589) 2026-06-24 17:32:36 +02:00
ocornut
e74453760b Tables: rewrote TableLoadSettingsForColumns() to match TableReconcileColumn() logic more precisely. (#9108)
Fixes issues with e.g. duplicate identifiers. See "table_topology_change_1" test.
2026-06-24 16:01:44 +02:00
ocornut
ec69495ca8 Tables: fixed some cases of reconcile/load handling when using duplicate identifiers. (#9108) 2026-06-24 16:01:44 +02:00
ocornut
b522576054 Tables: tracking topology changes by default. Match by ID then in sequential order for remaining. (#9108, #4046)
Removed ImGuiTableFlags_TrackTopologyChanges.
2026-06-24 16:01:43 +02:00
ocornut
570c0e03b7 Tables: extract part of TableLoadSettingsForColumns() into TableLoadSettingsForColumn(). (#9108) 2026-06-24 15:52:16 +02:00
ocornut
b9cf21733d Tables: avoid forcing a settings load on count change. (#9108)
At this very moment, I don't have a specific need/use for it. Went into this direction with solving the bigger problem, and it seems right but is not hard required right now.
2026-06-24 15:51:43 +02:00
ocornut
7930405c73 Tables: rework _TrackTopologyChanges to function without enforcing saving order/visibility. (#9108) 2026-06-24 15:51:22 +02:00
ocornut
f2fcdfe97f Tables: fixed duplicate settings entry. 2026-06-24 15:51:03 +02:00
ocornut
2f94e7dc13 Tables: add support for ImGuiTableFlags_TrackTopologyChanges (#9108, #4046) 2026-06-24 15:50:17 +02:00
Clownacy
b2377d616d Nav, Popups: fixed context menu activation with gamepad erroneously testing for _NavEnableKeyboard instead of _NavEnableGamepad. (#9454)
cc: #8803, #9270
2026-06-24 13:49:28 +02:00
ocornut
d15966ff6c Tables: fixed TableGcCompactSettings() not invalidating bound offset. A crash could in theory be triggered if clicking "Gc All" after saved tables have reduced column count.
Tested by "table_settings_5"
2026-06-18 19:48:53 +02:00
Cleroth
9a5c070308 Windows: fixed double-click collapse toggle not owning the mouse button. (#9439) 2026-06-17 15:21:36 +02:00
ocornut
73a6610e81 Backends: OpenGL3: Expose selected render state in ImGui_ImplOpenGL3_RenderState, allowing to dynamically select between use of glBindSampler() and glTexParameter(). (#9378) 2026-06-17 15:02:51 +02:00
Brenton Bostick
7aaf10f15b Docs: fixed typos (#9449) 2026-06-17 14:11:19 +02:00
ocornut
13fc81fc82 Tables: fixes incorrect forward declaration for a missing function + fixed tooltip comment. (#9445, #9448) 2026-06-17 12:53:36 +02:00
ocornut
2064059a7f Docs, Backends: OpenGL3, Vulkan: added comments about custom sampler. (#9378) 2026-06-17 12:53:36 +02:00
Brenton Bostick
b47a3898b4 Fixed unused parameter 'table'. (#9447, #9446) 2026-06-17 12:51:54 +02:00
ocornut
138c0e6c7d Added IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64. 2026-06-15 19:32:56 +02:00
ocornut
b46a37eac9 Tables: comments about misleading TableSetupColumn() user_id parameter, renamed to user_data.
ImGuiTableColumnSortSpecs::ColumnUserID should be changed to ColumnUserData.
2026-06-15 19:05:38 +02:00
ocornut
e6147a3993 Tables: allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and TableUpdateLayout() by removing an early out.
As `table->Columns[column_n].DisplayOrder` is not viable in this scope during a reconcile.
2026-06-15 18:25:08 +02:00
ocornut
721da6a34c Tables: apply queued requests in TableUpdateLayout()
To allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and between TableUpdateLayout()

# Conflicts:
#	imgui_tables.cpp
2026-06-15 18:24:43 +02:00
ocornut
360183924b CI: use Visual Studio 2026. (correct path) 2026-06-15 17:06:14 +02:00
ocornut
2aaa6d8173 CI: use Visual Studio 2026.
ref: https://github.com/actions/runner-images/blob/win25-vs2026/20260608.135/images/windows/Windows2025-VS2026-Readme.md
2026-06-15 16:52:52 +02:00
ocornut
3240201de2 Fixing build. 2026-06-15 16:37:26 +02:00
ocornut
94a3dcc5fa Tables: tweaked debug tools + minor data packing in in ImGuiTableColumn 2026-06-15 16:15:39 +02:00
ocornut
fea6f4603a ImSpan: added clear(), empty() helpers. 2026-06-15 16:13:25 +02:00
ocornut
d43c3f929c Tables: split code from TableSetupColumn() so it can be more easily deferred. 2026-06-15 16:13:25 +02:00
ocornut
36ea9728d1 Tables: save/restore column ID (unused)
Ditched UserID storage, which was provably broken/unused.
2026-06-15 16:13:25 +02:00
ocornut
2e0f949039 Tables, Debug Log: added IMGUI_DEBUG_LOG_TABLE, ImGuiDebugLogFlags_EventTable. Clicking "Clear settings" calls TableResetSettings() immediately. 2026-06-12 22:12:25 +02:00
ocornut
924f57181b Tables: Headers: fixed label being clipped early to reserve space for a sort marker even when no sort marker is displayed.
Amend 892b48e2d6: while fixing auto fit this was ditched.
2026-06-12 18:22:52 +02:00
ocornut
e5ff2d07d7 Tables: Context-menu: added "Reset" sub-menu and "Reset Visibility" option. 2026-06-11 19:15:55 +02:00
ocornut
b10137f92f Internals: move function declarations into Tables section. 2026-06-10 17:19:34 +02:00
ocornut
aa377352ef Tables: TableGcCompactTransientBuffers() can ditch AngledHeadersRequests data.
Amend b30df8890.(#6917)
2026-06-10 17:15:50 +02:00
ocornut
4312c4399f Tables: moved RefScale update and application to TableUpdateLayout(). 2026-06-10 17:15:41 +02:00