ocornut
5e528d9eea
Docking: Clicking on the right-most close button of a docking node closes all windows. ( #4186 )
4 years ago
ocornut
f03ab2a5c5
Docking: Fix IsWindowAppearing() unnecessarily returning true twice in a row. ( #4177 , #3982 , #1497 , #1061 ) + added a zealous assert.
4 years ago
ocornut
fa1f540e6c
Docking: Amend 91704b7
, window->DockXXX booleans not properly cleared when window not docked. ( #4177 , #3982 , #1497 , #1061 )
...
Fix issue with freshly split windows/nodes incorrectly returning true to IsWindowAppearing().
4 years ago
ocornut
91704b773e
Docking: Fix IsWindowAppearing() and ImGuiCond_Appearing on docked windows. ( #4177 , #3982 , #1497 , #1061 )
4 years ago
ocornut
1ad1429c6d
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# docs/CHANGELOG.txt
4 years ago
ocornut
04fd5072fb
Fix warnings with VS2019 in C++20 mode ( #4173 )
4 years ago
Rokas Kupstys
4c420f3cf9
CI: Add a build of imgui_impl_vulkan.cpp with IMGUI_IMPL_VULKAN_NO_PROTOTYPES defined. ( #4151 , #3759 , #3227 )
4 years ago
ocornut
c2bf4abfa1
Internals: Added ImTextCharToUtf8() helper. Added "out_" markers in more UTF-8 functions. Metrics: Fonts: Fixed display of EllipsisChar by feeding proper utf-8.
4 years ago
ocornut
3a941f95e9
Metrics, Demo: moved font details display to metrics code. ( #4171 )
4 years ago
ocornut
e31d13fa76
Version 1.84 WIP
4 years ago
ocornut
556689591c
Backends: OpenGL3: Handle GL_CLIP_ORIGIN on <4.5 contexts if "GL_ARB_clip_control" extension is detected. ( #4170 , #3998 )
...
Expecting this to somehow cause another issue but we will fix it when it comes.
4 years ago
ocornut
1b435ae3e0
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
4 years ago
ocornut
ad5d1a8429
Version 1.83
4 years ago
Vladimir Davidovich
142c866bd9
Backends: WebGPU: Support draw_data->FramebufferScale ( #4163 )
4 years ago
ocornut
88a24fb896
Fix build with IMGUI_DISABLE_DEMO_WINDOWS
4 years ago
ocornut
029c83c73e
Combos: Changed the combo popup to use a different id to also using a context menu with the default item id. ( #4167 )
4 years ago
ocornut
c708299ca9
Docs: Improvements to description of using colored glyphes/emojis. ( #4169 , #3369 ) + Add Fonts to Metrics. Removed IMGUI_HAS_TABLE markers.
4 years ago
ocornut
8877eab393
Docs: Describe IMGUI_DISABLE_FILE_FUNCTIONS in imconfig ( #3628 , #2734 )
4 years ago
ocornut
b474bff6c6
Nav: Fixed single frame CTRL+Tab from properly enabling the menu layer of target window if it doesn't have other active layers.
4 years ago
ocornut
5d77b6f274
Docs: update links, sponsors
4 years ago
ocornut
105d82d134
Docking: Docking node tab bar honors ItemInnerSpacing.x before first tab. Tweak rendering and alignment of dock node menu marker. ( #4130 )
...
+ Fix ~0 in EndFrameDrawDimmedBackgrounds() which is obsolete way of signifying "all round corners".
4 years ago
ocornut
45f5ed52c1
Menus: made MenuItem() in a menu bar reflect the 'selected' argument with a highlight. ( #4128 )
4 years ago
ocornut
86c2b609ef
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
4 years ago
ocornut
fd06dc511f
Backends: GLFW: Adding bound check in KeyCallback because GLFW appears to send -1 on some setups. [ #4124 ]
4 years ago
ocornut
4181ccceea
Backends: WebGPU: Fix build, amend 3c72e51
. ( #3761 )
4 years ago
thedmd
3c72e5142b
Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. ( #3761 )
4 years ago
warriormaster12
2cdfcb8fd2
Backends: Vulkan: Fix for using IMGUI_IMPL_VULKAN_NO_PROTOTYPES ( #4151 , #3759 , #3227 )
4 years ago
ocornut
e7e170c534
InputText: Internal renaming to use our own types to clarify code a little bit.
4 years ago
ocornut
26a1bbfe1e
InputText: Fixed CTRL+Arrow or OSX double-click leaking the presence of spaces when ImGuiInputTextFlags_Password is used. ( #4155 , #4156 ) [@michael-swan]
4 years ago
ocornut
41030cbfe2
Tweak computation of io.Framerate so it is less biased toward high-values in the first 120 frames. ( #4138 )
4 years ago
Basil Fierz
83bdfef8e0
Backends: WGPU: update to latest specs. ( #4116 , #3632 )
...
Merged 13 commits.
4 years ago
ocornut
4ce6bd8cff
Tables: sharing splitter and sort buffers between tables, reducing memory footprints. ( #3740 )
...
+ GC pass on that data.
4 years ago
ocornut
32c453ae53
Tables: sharing transient buffers between tables, reducing memory footprints. ( #3740 )
4 years ago
Mertcan Davulcu
cbcd89152b
Backends: Android: Tweaks. ( #4034 )
4 years ago
Hattrick HttrckCldHKS
a8dcab8e2a
Backends: DX9: Fix potential resource leak ( #4093 )
4 years ago
ITotalJustice
ea9122b0ac
Examples: add backends include path in readmes. ( #4106 )
4 years ago
Bartosz Taudul
4c9f0cec27
Add and use SSE-enabled ImRsqrt() in place of 1.0f / ImSqrt(). ( #4091 )
...
Squashed 3 commits.
4 years ago
ocornut
84545dbe6f
Disabling some of MSVC most aggressive Debug runtime checks for some simple/low-level functions
...
(e.g. ImVec2, ImVector) leading to a 10-20% increase of performances with MSVC "default" Debug settings.
4 years ago
ocornut
31290807dc
Merge branch 'master' into docking
...
+ fix warning fix for mingw+dx9
# Conflicts:
# backends/imgui_impl_dx9.cpp
# imgui.cpp
4 years ago
ocornut
393941ceea
Refactor focusable/tabbalbe item registration toward allowing to handle it prior to clipping (not yet the case) ( #343 , #4079 )
...
Now performed in ItemAdd(). It can't be trivially moved above clipping effectively because it would require us to scroll to be useful, meaning we'd be better off locking the bounding box a frame earlier. Still wip.
As-is this commit has no value for end-user, but it's a reengineering that moves us closer to the solution. + Internals: moved internal flags.
4 years ago
ocornut
2c3f25d2d9
Nav: Fixed Tabbing initial activation from skipping the first item if it is tabbable through. ( #787 )
4 years ago
ocornut
9b90639577
Internals: ItemFlags is a shared resource as advertised. Fix Begin/PushItemFlags/End sequence (mostly for consistency)
4 years ago
ocornut
10a1c5b021
TestEngine: fixed wrong flags passed to ItemInfo queries. Was luckily/misleadingly not causing issues as the test-engine flags we tested were upper bits not colliding with the other type.
...
Moved those flags higher as well. (unrelated to the fix itself)
4 years ago
ocornut
788e91aece
Fixes for MSVC static analyzers (wider range of versions). ( #3938 , #4073 ) + warning fix ( #4089 ) + comments.
4 years ago
ocornut
89162a04f4
Fixes for PVS Studio and MSVC static analyzers. Using a macro to suppress single-use MSVC false positives. ( #3938 , #4073 )
4 years ago
ocornut
d28535f351
Fixes for Visual Studio 2019 static analyzers. ( #3938 , #4073 ) + two minor edge case were invalid scalar input (e.g. a sign only) would return buffer as modified.
4 years ago
ocornut
2dec7b3301
InputText: Align caret/cursor to pixel coordinates. ( #4080 )
4 years ago
ocornut
7cdb3850e7
CI: test with ImTextureID as pointer to catch accidental reuse of const ( #4060 )
4 years ago
Nick Lange
04e98fbe6b
Remove const qualifier on ImTextureID local ( #4060 )
...
When defining ImTextureID to a type such as Texture*, the const-qualifier here stops us from using the texture ID. const Texture* is not valid to be pushed as a texture ID anymore.
4 years ago
Jarhmander
7b8932554e
Backends: Win32: Change the case of XInput.h include, so it cross-compile nicely on unices. ( #4074 )
4 years ago