ocornut
788e91aece
Fixes for MSVC static analyzers (wider range of versions). ( #3938 , #4073 ) + warning fix ( #4089 ) + comments.
ago%!(EXTRA string=4 years)
ocornut
89162a04f4
Fixes for PVS Studio and MSVC static analyzers. Using a macro to suppress single-use MSVC false positives. ( #3938 , #4073 )
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
ocornut
2dec7b3301
InputText: Align caret/cursor to pixel coordinates. ( #4080 )
ago%!(EXTRA string=4 years)
ocornut
7cdb3850e7
CI: test with ImTextureID as pointer to catch accidental reuse of const ( #4060 )
ago%!(EXTRA string=4 years)
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.
ago%!(EXTRA string=4 years)
Jarhmander
7b8932554e
Backends: Win32: Change the case of XInput.h include, so it cross-compile nicely on unices. ( #4074 )
ago%!(EXTRA string=4 years)
ocornut
b493cae8c9
Nav: Fixed pressing Escape to leave menu layer while in a popup or child window. ( #787 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
21428ad3f4
Nav, InputText: Fixed accidental menu toggling while typing non-ascii characters using AltGR. ( #370 )
ago%!(EXTRA string=4 years)
ocornut
4540177ce7
Nav: clear activeid on menu toggle (so pressing Alt leaving an InputText will steal ActiveID. Previously wouldn't not, but ButtonBehavior() hover logic would not show Menu layer item as hovered when ActiveId != 0). ( #787 )
...
(Adjacent to #370 )
ago%!(EXTRA string=4 years)
ocornut
e61e8aea9c
Nav: clear navid in NavInitWindow() when window is marked with ImGuiWindowFlags_NoNavInputs. ( #787 )
...
(no expected side-effects, maybe consistency, but those NavLastIds[] values would likely have been 0 already)
ago%!(EXTRA string=4 years)
ocornut
daf97832f1
Internals: Nav: renaming.
ago%!(EXTRA string=4 years)
ocornut
06545c4f2a
Backends: DirectX9: explicitely setting up more graphics states to increase compatibility with unusual non-default states. ( #4063 )
...
Added D3DRS_FILLMODE, D3DRS_ZWRITEENABLE, D3DRS_RANGEFOGENABLE, D3DRS_SPECULARENABLE, D3DRS_STENCILENABLE, D3DRS_CLIPPING. Reordered some to match order in DX9 headers.
ago%!(EXTRA string=4 years)
ocornut
bfc4a3347a
Nav: Fixed using SetItemDefaultFocus() on windows with _NavFlattened flag + tools in metrics.
ago%!(EXTRA string=4 years)
ocornut
33cdbe97b8
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
ago%!(EXTRA string=4 years)
rokups
6d53884487
Backends: OSX: Fix keys remaining stuck in pressed state when CMD-tabbing to a different application. ( #3832 )
ago%!(EXTRA string=4 years)
ocornut
25fbff2156
ImDrawList: Revert alteration of normal scaling threshold, for now prioritize preserving property of limiting extents. ( #4053 , #3366 , #2964 , #2868 , #2518 , #2183 )
...
Amend fdda8b8
ago%!(EXTRA string=4 years)
ocornut
fdda8b8c12
ImDrawList: Fixed/improved thickness of thick strokes with sharp angles. ( #4053 , #3366 , #2964 , #2868 , #2518 , #2183 )
ago%!(EXTRA string=4 years)
ocornut
936f53229d
Internals: maintaining focus order inside windows + only storing root windows in WindowsFocusOrder[] array. (toward #2304 )
ago%!(EXTRA string=4 years)
ocornut
770f9daab3
Tables: Better preserve column data (mainly widths) when columns count changes. ( #4046 ) + .ini skips columns with no data.
ago%!(EXTRA string=4 years)
ocornut
34d4bc620d
Merge remote-tracking branch 'origin/master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
ago%!(EXTRA string=4 years)
thedmd
690a90bd35
Make PathArcTo accept counter-clockwise angles ( #4030 , #3491 )
ago%!(EXTRA string=4 years)
ocornut
5fed6bdc72
Demo: Improved popups demo and comments.
ago%!(EXTRA string=4 years)
ocornut
7c9c5dbe9a
Internals: Added ImFloorSigned() + use our own ImFloorSigned() for stb_truetype, compared as matching output for variety of font data. ( #2884 )
ago%!(EXTRA string=4 years)
ocornut
858ea17eba
Backends: DirectX10, DirectX11: fixed a crash when backing/restoring state if nothing is bound when entering the rendering function. ( #4045 )
ago%!(EXTRA string=4 years)
duddel
05a20ca738
Examples: Android: Make Android build compatible with Gradle 7.0. ( #3446 )
ago%!(EXTRA string=4 years)
ocornut
76902c482f
Changelog: added docking+entries from 1.72 to 1.82 to increase their visibility.
ago%!(EXTRA string=4 years)
ocornut
b957300260
Documentation tweaks ( #4042 )
ago%!(EXTRA string=4 years)
ocornut
e5efa01920
Docking: Fix window menu button. Broken by 3f16a52
( #4043 )
...
Worked on single-frame click.
ago%!(EXTRA string=4 years)
ocornut
3f16a524c8
Docking: move NavWindow to SelectedTabId application lower to leave a chance for in-between code to alter focus. + store per-node window menu button id to simplify usage.
ago%!(EXTRA string=4 years)
ocornut
646c873598
Docking: Fixed reappearing docked windows with no close button showing a tab with extraneous space for one frame.
ago%!(EXTRA string=4 years)
ocornut
e87dd0e65d
Docking: Fixed multiple simultaneously reappearing window from appearing undocked in their initial frame.
ago%!(EXTRA string=4 years)
ocornut
539de4387b
Docking: Fixed restoring of tab order within a dockspace or a split node.
...
(tests in "docking_tab_order")
ago%!(EXTRA string=4 years)
ocornut
d6a5cc7934
Metrics: hotfix (fix 6ba13349
+ f08566b4
, #4005 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
bcdc8bcc4b
Examples: Vulkan: Update GPU selection to pick discrete GPU if available, or use first GPU otherwise. ( #4012 )
...
Fixes examples failing on optimus laptops with integrated graphics not supporting Vulkan.
ago%!(EXTRA string=4 years)
ocornut
c283a1da5b
Fixed clipping of multi-line value text when label is single-line + Fixed vertical alignment of single-line value text when label is multi-line. ( #4004 )
ago%!(EXTRA string=4 years)
ocornut
92b7b1f72b
Scrolling: Fix mouse wheel axis swap when using SHIFT on macOS (system already does it). ( #4010 )
ago%!(EXTRA string=4 years)
Peter Kristensen
5f45047fb6
Update example makefiles to check the new homebrew paths ( #4003 )
...
Homebrew on Apple Silicon (i.e. Macbook Air/Pro M1) use `/opt/homebrew` instead of /usr/local.
ago%!(EXTRA string=4 years)
Sam Jones
71dda216ef
Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. ( #3998 , #2366 , #2186 )
ago%!(EXTRA string=4 years)
Doug Binks
f08566b4d7
InputText: Do not filter private unicode codepoints (e.g. icons) when pasted from clipboard. ( #4005 )
ago%!(EXTRA string=4 years)
TotalCaesar659
feb8b1e32d
Update URLs to HTTPS ( #4011 )
ago%!(EXTRA string=4 years)
ocornut
00d570e280
Added OpenPopup() ImGuiID overload ( #3993 , #331 )
ago%!(EXTRA string=4 years)
ocornut
65cd14502c
Fix popup positioning, broken by 84e6fe4
. ( #3991 , #3982 )
ago%!(EXTRA string=4 years)
ocornut
f0fc822837
Fix popup positioning, broken by 84e6fe4
. ( #3991 , #3982 )
ago%!(EXTRA string=4 years)
ocornut
6ddcdbe3e8
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_widgets.cpp
ago%!(EXTRA string=4 years)
ocornut
2403ed92a3
Added build/ to gitignore ( #3027 ), Examples: SDL2: Link with shell32.lib required by SDL2main.lib since SDL 2.0.12. [ #3988 , #3884 ] + added batch file for SDL+Vulkan.
ago%!(EXTRA string=4 years)
ocornut
3c7177c6a7
Internals: storing WindowsHoverPadding in context for external access. + Docs update binaries
ago%!(EXTRA string=4 years)
ocornut
9251eac585
Docking: fix undocking from tab-bar by moving mouse horizontally, amend 3ed07a8
+ d705192
.
...
Automation system may drag e.g. right-most tab far left (and vice-versa) and one frame and our current logic would fail at it.
ago%!(EXTRA string=4 years)
ocornut
45c45d2506
Internals: shallow tidying up of the old resize border structure. Make them match the ImGuiDir order. Split GetWindowResizeID() into GetWindowResizeCornerID() and GetWindowResizeBorderID().
ago%!(EXTRA string=4 years)
ocornut
3ed07a8f0b
Docking: removed io.ConfigDockingWithShift option. ( #2109 )
ago%!(EXTRA string=4 years)