SlowRiot
7a4179856d
don't use std::numeric_limits
2026-03-31 20:09:07 +01:00
SlowRiot
6a2efe6a6f
remove std::string, use C style strings
2026-03-31 20:01:55 +01:00
SlowRiot
94900e607a
replace key lookup map with handcrafted optimised decision tree
2026-03-31 19:55:55 +01:00
SlowRiot
c4b6c689ac
move cursor setting helper function implementations to the bottom of the file
2026-03-31 19:43:50 +01:00
SlowRiot
a8de6dadc7
reorder browser cursor implementation to the bottom of the file
2026-03-31 19:43:01 +01:00
SlowRiot
00400b697f
use attribute pure
2026-03-31 17:09:11 +01:00
SlowRiot
c96f9679b4
unset blur and focus callbacks
2026-03-31 17:01:02 +01:00
SlowRiot
57c52e75b2
restore cursor reliably even if previously unset
2026-03-31 16:55:05 +01:00
SlowRiot
0454ffec27
header comment fixes
2026-03-31 16:47:03 +01:00
slowriot
bf1893272a
add imgui include and use IMGUI_IMPL_API and honour IMGUI_DISABLE
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:45:11 +01:00
SlowRiot
8e35b501a4
fix comments on focus gain / loss
2026-03-31 16:33:50 +01:00
slowriot
41233b09b0
remove duplicate F6
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:30:26 +01:00
slowriot
72fae61cba
comment adjustment re. gamepads & touch
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:29:41 +01:00
slowriot
416d85c9e7
catch out of range buttons
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:28:20 +01:00
slowriot
426bff6aed
update comments re. gamepads
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:25:57 +01:00
slowriot
58236a21f8
comment typo
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:25:03 +01:00
SlowRiot
6d6d7d5f0f
store persistent state in backend data as per imgui norms
2026-03-31 16:08:48 +01:00
SlowRiot
ff4341d3d6
pointer and reference alignment consistent with imgui norms
2026-03-31 15:47:18 +01:00
SlowRiot
6ade9da529
remove use of auto and style consistency adjustments
2026-03-31 15:46:53 +01:00
SlowRiot
c20a89c055
comment on browser cursor helpers, and correct closing namespace comment
2026-03-31 15:44:00 +01:00
SlowRiot
0680e7d7a9
adjust brace and bracket style to match imgui standard
2026-03-31 15:22:17 +01:00
SlowRiot
2787e65712
remove copyright clashing with CLA
2026-03-31 15:12:36 +01:00
SlowRiot
739e9bbee1
adjust indentation to match imgui standard
2026-03-31 15:04:02 +01:00
SlowRiot
2ce0a48c50
add changelog
2026-03-31 14:55:56 +01:00
SlowRiot
5ab277a62d
adjust comment style to match imgui standard
2026-03-31 14:55:51 +01:00
SlowRiot
9e81994fef
Merge branch 'master' into imgui_impl_emscripten
2026-03-31 14:38:18 +01:00
ocornut
689f837afa
IO: added comments near ImGuiConfigFlags to refer to other fields. ( #3379 )
2026-03-30 13:04:38 +02:00
ocornut
97075fae4b
Clipper: always pulls current context on ImGuiListClipper::Begin(). ( #9324 , #5856 )
...
Marked Ctx as internal in the comments.
2026-03-30 12:53:30 +02:00
thedmd
bd3c925680
DrawList: PathArcTo(): fixed erroneous segment count for small arcs on large circles. ( #9331 , #9313 )
2026-03-30 12:04:22 +02:00
ocornut
b62cf3894b
Inputs: fixed an issue using SetKeyOwner() with ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease on ImGuiMod values. ( #9323 )
2026-03-25 22:00:14 +01:00
ocornut
e9eb04ea95
Internals: TempInputText: added callback/user_data parameters and made end of signature match InputText(). ( #2718 )
2026-03-25 17:46:04 +01:00
ocornut
ed2e5dd0f0
Examples+WebGPU: added support for WGVK in cmakefiles. ( #9316 , #9246 , #9257 )
2026-03-25 16:16:15 +01:00
ocornut
59183cf782
Backends, Examples: WebGPU: added support for WGVK. Remaining amends. ( #9316 , #9246 , #9257 )
2026-03-25 15:31:39 +01:00
r-lyeh
59780020f6
Backends, Examples: WebGPU: added support for WGVK. ( #9316 , #9246 , #9257 )
...
Squashed: minified SPIRV binaries by stripping strings + emitting in binary_to_compressed_c.
2026-03-25 15:31:35 +01:00
ocornut
0b82487fed
TempInputText: amends. Rename ImGuiInputTextFlags_MergedItem to ImGuiInputTextFlags_TempInput for explicitness. ( #2718 )
2026-03-25 14:29:54 +01:00
ocornut
51f590a2a8
Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. ( #9322 )
...
Amend 9a4fd69f6
2026-03-25 14:17:29 +01:00
ocornut
6c754ed2cb
TempInputText, InputText: enforce making active via ImGuiInputTextFlags_MergedItem. Restore cursor as Rect is provided + comments. ( #2718 , #6690 )
2026-03-25 11:36:40 +01:00
ocornut
79411a0405
Backends, Examples: WebGPU: fixed warnings + scale initial surface height for native.
2026-03-23 16:21:50 +01:00
ocornut
6b1776a7d2
Tables: context menu can be open using navigation Shift+F10 etc. ( #8803 , #9270 )
2026-03-23 15:37:56 +01:00
ocornut
38f5e5a0b8
Tables: rework column reordering code. ( #9312 )
...
- Move more logic into TableQueueSetColumnDisplayOrder() so that it may be called from different locations.
- Use to checking if both columns are on same size of the frozen barrier slightly changed to avoid reordering hidden column (with caveat of ill-defined design for what's "right").
2026-03-23 15:14:58 +01:00
ocornut
697b6886e3
Docs: update FAQ about label/ID system. ( #9318 )
2026-03-23 14:13:36 +01:00
ocornut
8314fc3e5a
Menus: shallow tweaks.
2026-03-20 20:47:07 +01:00
ocornut
50b488765f
ButtonBehavior, Selectable: made low-level ImGuiButtonFlags_PressedOnRelease not explicitely avoid taking current active id. ImGuiButtonFlags_NoHoldingActiveId may be used for that.
...
Ditto for ImGuiSelectableFlags_SelectOnRelease, ImGuiSelectableFlags_NoHoldingActiveId. All internals.
Toward #9312
2026-03-20 20:15:17 +01:00
ocornut
4af77622d9
Scrollbar: Fixed an issue which could lead initial click to move the current scroll by a pixel.
2026-03-20 16:14:17 +01:00
ocornut
2315b9f33d
InputTextMultiline: fixed an issue where edit buffer wouldn't be reapplied to back buffer on the IsItemDeactivatedAfterEdit() frame. ( #9308 , #8915 , #8273 )
2026-03-20 15:48:14 +01:00
ocornut
04dfcd838b
InputTextMultiline: fixed losing revert value when activating scrollbar. (toward #9308 )
2026-03-20 15:48:14 +01:00
ocornut
2d957152e4
InputTextMultiline: avoid going through reactivation path and InputTextDeactivateHook() when activating scrollbar. ( #9308 )
2026-03-20 15:37:56 +01:00
ocornut
325563a982
InputTextMultiline: InputTextMultiline: fixed an issue calculating lines count when active.
...
Amend 4252275
2026-03-20 15:17:07 +01:00
Pascal Thomet
763db046fa
Docs: fixed imgui_manual -> imgui_explorer link. ( #9315 )
2026-03-20 12:40:32 +01:00
ocornut
3a26b640b2
Drag and Drop: make SetDragDropPayload() memcpy size match our buffer.
2026-03-20 11:50:05 +01:00