9817 Commits

Author SHA1 Message Date
SlowRiot
db34cdad81 Examples: Emscripten+WebGPU: Align configuration comments with other examples 2026-09-03 14:45:14 +01:00
SlowRiot
d4747a8e3d Examples: Emscripten+WebGPU: Match other example control flow formatting 2026-09-03 14:44:28 +01:00
SlowRiot
30a7ec6fd6 Examples: Emscripten+WebGPU: Align demo window with other examples 2026-09-03 14:40:16 +01:00
SlowRiot
4a63b47664 Examples: Emscripten+WebGPU: Align WebGPU setup with other examples 2026-09-03 14:35:41 +01:00
SlowRiot
b7e7477fe8 Examples: Emscripten+WebGPU: Match project C cast style 2026-09-03 14:32:39 +01:00
SlowRiot
40ed02df53 Examples: Emscripten+WebGPU: Match other example initialisation style 2026-09-03 14:31:37 +01:00
SlowRiot
1ea794bdb0 update changelog 2026-09-03 14:27:18 +01:00
SlowRiot
30be530f9e Backends: Emscripten: Build key lookup from static mapping table 2026-09-03 14:24:06 +01:00
SlowRiot
10a5ecc6af Backends: Emscripten: Standardise internal helper naming and linkage 2026-09-03 14:14:37 +01:00
SlowRiot
9fc439dd6f Backends: Emscripten: Match Dear ImGui C cast style 2026-09-03 14:11:19 +01:00
SlowRiot
a941ea2cbb Backends: Emscripten: Match Dear ImGui initialization style 2026-09-03 14:09:41 +01:00
SlowRiot
9e74bc4f1f handle NoMouseCursorChange state transitions in more detail 2026-04-02 23:50:33 +01:00
SlowRiot
0b66001258 correct handling for MouseDrawCursor switches 2026-04-02 23:43:39 +01:00
SlowRiot
106660b527 optimise browser cursor original state save and restore 2026-04-02 23:13:24 +01:00
SlowRiot
b452984bca hide the browser cursor if imgui is handling software cursor rendering 2026-04-02 23:03:29 +01:00
SlowRiot
4d012cfda2 leave the cursor alone if config requests no cursor change 2026-04-02 22:54:32 +01:00
SlowRiot
ed34b93d20 update comment to clarify shutdown conditions 2026-04-02 22:45:01 +01:00
slowriot
e09c947399
apply comment suggestion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 22:40:38 +01:00
slowriot
c0842c78cb
consume mousewheel event if imgui wants to capture the mouse
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 22:39:51 +01:00
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