slowriot
aaa8b8f4cb
Merge branch 'ocornut:master' into imgui_impl_emscripten
2026-09-07 22:38:05 +01:00
ocornut
334f484892
ColorEdit4, ColorPicker4: added support for ImGuiItemFlags_MixedValue. ( #5518 , #5677 , #6865 )
2026-09-07 19:48:28 +02:00
ocornut
dd32dace81
InputText: using MixedValue automatically sets ImGuiInputTextFlags_AutoSelectAll. ( #5518 , #5677 , #6865 )
2026-09-07 19:09:24 +02:00
ocornut
04b37d6d23
Added ImGuiItemFlags_MixedValue support for Drags, Sliders, InputScalar, InputText, RadioButton, Combo. ( #5518 , #5677 , #6865 )
2026-09-07 18:56:32 +02:00
ocornut
9090ba71e5
Fixed Tesselation -> Tessellation in comments.
2026-09-07 16:38:38 +02:00
ocornut
53d421955f
Amend Changelog. ( #8564 , #9534 )
2026-09-07 16:23:01 +02:00
ocornut
687f7fb8ac
Drags, Sliders: ongoing drags may be cancelled using Right-Mouse mouse button, reverting to the initial value. ( #8564 , #9534 )
2026-09-07 16:16:55 +02:00
Lukasz Stalmirski
4ebb04333b
IO: restore default platform handlers on ClearPlatformHandlers. ( #9537 , #8945 , #2769 )
...
Amend d4f722d5b.
2026-09-07 13:05:15 +02:00
ocornut
4898533613
Backends: DX10, DX11, DX12, Metal/4, OpenGL2/3, SDLGPU3, Vulkan: round framebuffer dimensions instead of truncating. ( #9538 , #9515 , #8628 )
2026-09-07 12:47:03 +02:00
SlowRiot
080319c4ce
Backends: WebGPU: round framebuffer dimensions instead of truncating. ( #9538 , #9515 , #8628 )
2026-09-07 12:38:02 +02:00
SlowRiot
d88b253cd7
add public function to update display properties at will
2026-09-06 16:02:23 +01:00
SlowRiot
7ba43170f8
expose translate button and key functions as public
2026-09-06 15:56:56 +01:00
SlowRiot
e69fd222c2
reformat comments
2026-09-06 15:55:11 +01:00
SlowRiot
da9e7b6e5e
expose a getter for css to imgui scale ratio
2026-09-06 15:52:16 +01:00
SlowRiot
ec5643bda6
Backends: Emscripten: derive display size from canvas framebuffer, per-axis mouse coordinate scaling
2026-09-05 17:28:51 +01:00
SlowRiot
cfa0d9f4e2
Backends: Emscripten: Add runtime device pixel ratio setter
2026-09-04 13:01:50 +01:00
SlowRiot
796b15e894
return bool true from Init for consistency with other backends (although no other outcome is possible)
2026-09-04 12:47:34 +01:00
SlowRiot
ca7b9ca3d5
Backends: Emscripten: Align enum and comment style
2026-09-04 12:42:39 +01:00
slowriot
9c96f47d37
Merge branch 'ocornut:master' into imgui_impl_emscripten
2026-09-04 12:29:51 +01:00
SlowRiot
df7092172f
adjust brace style for consistency
2026-09-04 12:29:01 +01:00
ocornut
96b6eb7728
Fixed PVS-Studio false positives.
...
Not sure if there's a way to report them.
2026-09-04 12:37:48 +02:00
ocornut
f150bf09f9
Drags, Sliders: ongoing drags may be cancelled using Escape or Gamepad Triangle, reverting to the initial value. ( #8564 , #9534 )
2026-09-04 12:24:49 +02:00
ocornut
51c3c0c992
Sliders: moved code from SliderBehaviorT() to SliderBehavior().
...
Remove a level of indent too.
2026-09-03 17:28:48 +02:00
slowriot
8329d94a47
Merge branch 'ocornut:master' into imgui_impl_emscripten
2026-09-03 16:06:34 +01:00
Lukasz Stalmirski
5316e70614
Backends: Vulkan: support multiple Vulkan contexts with custom loader. ( #6616 )
...
Vulkan function calls now go through a short trampoline function, only apply when IMGUI_IMPL_VULKAN_USE_LOADER is set.
2026-09-03 17:01:15 +02:00
SlowRiot
cf7b6f9402
CI: Add emscripten wgpu example to CI build
2026-09-03 15:03:23 +01:00
SlowRiot
dae858d80f
Examples: Add emscripten opengl3 example
2026-09-03 15:02:50 +01:00
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
7edd2b1f12
Sliders, Drags: adjust ScaleValueFromRatioT() to increase remapping precision (in theory). ( #9536 )
...
Omar: couldn't detect any output difference in test suite with large u64/s64 ranges drag/sliders.
I believe this is entirely theoretical and it's principal value is to shut Linter warnings
2026-09-03 15:42:24 +02: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
ocornut
1807b25b9a
ScaleValueFromRatioT: removed unnecessary check, amend f27af1b20.
2026-09-03 15:29:37 +02: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
ocornut
4dbb921b22
Examples: disabled /JMC in Visual Studio projects (unnecessary overhead).
2026-09-02 17:15:39 +02:00
ocornut
e2e9533991
Added IM_NODEBUGSTEP helper. Tagged ImVec2, ImVec4, ImRect and various operators.
...
cc #3038 . Amend 1bc6f82091, 301c956039
2026-09-02 17:13:47 +02:00
ocornut
a15761f11c
TreeNode: fixed UB shifts and general tree issues when using ImGuiTreeNodeFlags_DrawLinesXXX flags and over 32 deep. ( #9509 )
...
+ fix minor typo (#9533 )
2026-09-01 20:06:02 +02:00
ocornut
f562ab8e32
DrawList: reworked assert in PushTexture() to allow convenience grace period of using texture already queued for destroy during the same frame. ( #9528 , #8465 )
...
Amend 131f5c57ab
2026-09-01 16:22:14 +02:00
nilFinx
e0537bf72b
Fixed build issue with MacPorts Clang 16 (missing TARGET_OS_OSX). ( #9498 )
2026-08-31 18:42:46 +02:00
ocornut
ebc7307db5
ColorButton, RenderColorRectWithAlphaCheckerboard: fixed issues/inconsistencies with checkerboard rendering when combining color alpha and global style alpha. ( #9511 )
...
Cleanup hacks in ColorButton(). Amend d851775c80a, e9ff7162b.
2026-08-31 18:04:03 +02:00
ocornut
fd74775a0d
ColorButton: fixed double style alpha multiply. Remove call to GetColorU32() in RenderColorRectWithAlphaCheckerboard() for consistency. ( #9511 )
...
The main fix is the change from GetColorU32() to ColorConvertFloat4ToU32() in calling code.
The change from GetColorU32() to manual multiply in RenderColorRectWithAlphaCheckerboard() is merely for consistency with other ::Render calls.
2026-08-31 17:29:10 +02:00
ocornut
19ead810d2
ColorButton, ColorEdit, ColorPicker: cancel-out alpha caused by BeginDisabled() so disabled color buttons have the same color. ( #9511 )
2026-08-31 17:29:10 +02:00
ocornut
7e0de0e411
Examples: GLFW/SDL2/SDL3+WebGPU: fixed running with wgpu-native missing wgpuInstanceWaitAny(). ( #9377 )
2026-08-31 12:30:37 +02:00
ocornut
35a13e9948
Backends, Examples: WebGPU: further simplications. ( #9377 , #9532 , #9530 )
...
Suggested by @lucascompython
2026-08-31 12:23:26 +02:00