GamingMinds-DanielC
c070207d7c
Fixed some corner cases and programmatic docking
2023-12-12 12:51:40 +01:00
GamingMinds-DanielC
c653a1123a
Don't bring appearing host window to front unless any of the contained windows require initial focus
2023-12-11 13:33:45 +01:00
ocornut
96b5b1724b
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# imgui_internal.h
2023-12-05 12:20:16 +01:00
Johel Ernesto Guerrero Peña
1fd5ff7152
Avoid C++26 removed deprecated arithmetic conversion on enumerations. ( #7088 , #7089 . #2983 , #3040 )
2023-12-05 12:13:08 +01:00
Bryce Berger
52886872f1
Misc: Added IMGUI_USER_H_FILENAME to change the path included when using IMGUI_INCLUDE_IMGUI_USER_H. ( #7039 )
2023-12-01 14:26:21 +01:00
ocornut
5768de79e2
InputText, ColorEdit, ColorPicker: better support for undocumented ImGuiItemFlags_ReadOnly flag. ( #7079 , #211 )
...
Amend fdc526e8f
2023-12-01 13:57:28 +01:00
ocornut
b112d73edb
Menus: amend to clarify/fix static analyzer warning. ( #6671 , #6926 )
2023-11-29 17:08:06 +01:00
ocornut
2ee40d3cf9
Menus: Tweaked hover slack logic, adding a timer to avoid situations where a slow vertical movements toward another parent BeginMenu() can keep the wrong child menu open. ( #6671 , #6926 )
2023-11-29 16:46:21 +01:00
ocornut
b4b864e40a
Backends: Vulkan: Fixed mismatching allocator passed to vkCreateCommandPool() vs vkDestroyCommandPool(). ( #7075 )
2023-11-29 14:24:25 +01:00
ocornut
d2b0167610
Fixed link error when using IMGUI_DISABLE_DEBUG_TOOLS
2023-11-29 14:09:39 +01:00
ocornut
7965494ff3
Debug Tools: Added DebugFlashStyleColor() to identify a style color. Added to Style Editor.
2023-11-28 19:40:38 +01:00
ocornut
c1a3c7f445
Fixed Clang zealous warnings
2023-11-28 19:33:10 +01:00
ocornut
c6ec69c7c1
Using nullptr in remaining examples/backends locations. ( #6313 , #7071 , #4537 )
2023-11-28 19:29:17 +01:00
ocornut
888834c636
Backends: Android: Fixed build breaking typo. ( #7060 )
...
Amend 86891b0
. My bad for not testing this.
2023-11-28 15:23:45 +01:00
ocornut
077e4db772
Misc: Added extra courtesy ==/!= operators when IMGUI_DEFINE_MATH_OPERATORS is defined.
2023-11-28 15:00:32 +01:00
ocornut
f6253b87d0
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2023-11-28 14:39:46 +01:00
ocornut
6f171a066d
Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overrided back to true when navigation is enabled. ( #6997 )
2023-11-28 14:28:19 +01:00
Marc Delorme
e07663d9a1
Docking: transform ImGuiContext* ctx = GImGui
to ImGuiContext& g = *GImGui
for consistency ( #5856 )
2023-11-28 14:18:52 +01:00
Chris Gregory
1f3090a48d
Backends: SDL3: Fix indent ( #7062 )
2023-11-28 12:09:07 +01:00
ocornut
86891b0986
Backends: Android: ImGui_ImplAndroid_HandleInputEvent() takes a const AInputEvent* ( #7060 )
2023-11-28 12:08:05 +01:00
ocornut
f37f6f67f6
Windows: BeginChild(): Fixed auto-resizing erroneously limiting size to host viewport minus padding. ( #7063 )
2023-11-27 16:33:20 +01:00
ocornut
bce4db00bc
Drag and Drop: Fixed drop target highlight on items temporarily pushing a widened clip rect. ( #7049 , #4281 , #3272 )
2023-11-22 19:30:16 +01:00
sakiodre
65a10410e3
Docs: Add suggestion to turn of char8_t behavior for C++20 ( #7025 )
2023-11-22 19:09:14 +01:00
ocornut
61b8197942
Misc: Renamed some defines in imstb_textedit.h to avoid conflicts when using unity/jumbo builds.
...
Bitting the bullet, as we rarely update this (and it is rarely updated) and it we may replace it anyhow.
2023-11-22 14:12:31 +01:00
ocornut
3733b5064e
Backends: SDL3: Fixed unused variable warning on master on some targets. ( #7000 )
2023-11-17 12:28:25 +01:00
codefrog2002
c5c1c4134b
Backends: OpenGL3: imgui_impl_opengl3_loader.h: change #define ARRAY_SIZE to GL3W_ARRAY_SIZE to avoid external conflicts ( #7017 , #7018 )
2023-11-16 01:38:47 +01:00
ocornut
7bb0a525c3
Fixed text functions fast-path for handling "%s" and "%.*s" to handle null pointers gracefully. ( #7016 , #3466 , #6846 )
2023-11-16 00:00:26 +01:00
ocornut
3d083dbe1a
Version 1.90.1 WIP
2023-11-15 23:53:58 +01:00
ocornut
ce0d0ac829
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2023-11-15 16:08:53 +01:00
ocornut
b81bd7ed98
Version 1.90.0
...
w/ Changelog tweaks.
2023-11-15 15:56:05 +01:00
Oliver Eriksson
6695006bea
Backends: Vulkan: use specified ColorAttachmentFormat when creating a secondary window when enabling UseDynamicRendering. ( #6999 , #5446 , #5037 )
2023-11-15 14:53:32 +01:00
ocornut
623bff23ce
Windows: WindowMinSize not applied on AlwaysAutoResize window. (amend e2035a5
)
...
See "window_size_min" test. Waiting for a fuller simplification of this, probably for a future version.
2023-11-15 14:44:01 +01:00
ocornut
f298491a8a
Docs: amend/tweak details about using io.WantCaptureMouse. ( #7012 )
2023-11-15 13:29:37 +01:00
ocornut
5de1312e1c
SplitterBehavior: tweak to not assert due to floating point precision.
...
Not guaranting behavior: clamping makes output lossy, size_1+size_2 in theory may be instable but couldn't repro.
API probably needs rework anyhow (should redistribute from provided available space).
2023-11-14 15:34:30 +01:00
ocornut
afadf74a53
BeginChild: undo child name simplification as it reveal an issue with handling of ### in child names.
...
When the later is fixed we can re-enable this. Essentially reverts 8ee8513
.
2023-11-14 14:23:18 +01:00
ocornut
46843b683b
Fonts: minor/shallow amends ( #6925 )
2023-11-13 19:00:29 +01:00
thedmd
ade4d0e08a
Fonts: added support for RasterizerDensity to FreeType based atlas generator. ( #6925 )
2023-11-13 19:00:28 +01:00
thedmd
ed29ff08ba
Fonts: added support for RasterizerDensity in built-in atlas generator. ( #6925 )
2023-11-13 19:00:28 +01:00
thedmd
abfb9269b5
Fonts: added RasterizerDensity to ImFontConfig. ( #6925 )
2023-11-13 19:00:28 +01:00
ocornut
0941adc931
Backends: SDL3: Updates for recent API changes. ( #7000 ) (w/ multi-viewports version)
...
# Conflicts:
# backends/imgui_impl_sdl3.cpp
2023-11-13 16:24:50 +01:00
ocornut
add915bdc4
Backends: SDL3: Updates for recent API changes. ( #7000 )
2023-11-13 16:21:18 +01:00
omar
4ad5817aac
Update backends/language lists
...
e.g. for #6579
2023-11-13 15:47:25 +01:00
ocornut
75c46a3930
Demo: Partly fix resizing constraint demo. ( #6210 , #5627 )
...
Broken by 2569c6474
2023-11-13 14:53:14 +01:00
ocornut
fe6544622b
SetNextWindowSizeConstraints() clarified parameters, fixed comments. ( #1139 , #3186 , #3270 )
2023-11-13 14:13:17 +01:00
ocornut
454f36d2af
Removed 'bool border' legacy versions of BeginChild() as they seemingly have no value other than confusing user and IDE.
...
Amend 7713c29
(was for #1666 , #1496 , #1395 , #1710 )
2023-11-10 16:03:19 +01:00
ocornut
9d950444a2
Backends: Vulkan: Fixes for VK_NO_PROTOTYPES (docking merge + reorder docking only bits)
...
Amend for 6e7b43b,79a9e2f
2023-11-10 15:40:41 +01:00
ocornut
44dbad64d7
Backends: Vulkan: Fixes for VK_NO_PROTOTYPES.
...
Amend for 6e7b43b,79a9e2f
2023-11-10 15:10:27 +01:00
ocornut
450f1d7e7b
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2023-11-10 14:56:10 +01:00
ocornut
79a9e2fdfb
Backends: Vulkan: (Breaking) full font upload is performed by ImGui_ImplVulkan_CreateFontsTexture(), no need for user code to create or provide a command-buffer. Removed ImGui_ImplVulkan_DestroyFontUploadObjects(). ( #6943 , #6715 , #6327 , #3743 , #4618 )
...
See changes in example_glfw_vulkan/main.cpp and example_sdl2_vulkan/main.cpp for reference.
2023-11-10 14:53:34 +01:00
ocornut
6e7b43b6c7
Backends: Vulkan: Added ImGui_ImplVulkan_DestroyFontsTexture(), made ImGui_ImplVulkan_CreateFontsTexture() destroy previous one. ( #6943 , #6715 , #6327 , #3743 , #4618 )
2023-11-10 14:53:06 +01:00