9798 Commits

Author SHA1 Message Date
SlowRiot
8fa2322760 use imgui string hashing for key name to imgui key lookup 2026-04-02 22:24:52 +01:00
SlowRiot
34f61cf7e3 add new backend to compatible list in wgpu comments 2026-04-02 21:43:06 +01:00
SlowRiot
f9aa76fe58 add example artifacts to gitignore 2026-03-31 22:49:45 +01:00
SlowRiot
4c94c127fa tidy up example formatting 2026-03-31 22:49:38 +01:00
SlowRiot
117e14d5a5 user-adjustable target device pixel ratio 2026-03-31 22:46:35 +01:00
SlowRiot
88fe8d401f correct scaling independent of device pixel ratio 2026-03-31 21:31:11 +01:00
SlowRiot
784ad4e0d2 add example 2026-03-31 21:20:55 +01:00
SlowRiot
438a3326fd query display size from EM_ASM rather than requiring emscripten::val 2026-03-31 21:00:07 +01:00
SlowRiot
b144ac3b53 use static assert instead of IM_STATIC_ASSERT 2026-03-31 20:50:38 +01:00
SlowRiot
9c4f1e55f1 tidy up MediaStop commented default 2026-03-31 20:37:26 +01:00
SlowRiot
921fb3901d add changelog entries 2026-03-31 20:09:55 +01:00
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