omar
103c5edaaa
Internals: debug log macros.
ago%!(EXTRA string=5 years)
ocornut
75de34e281
Viewports, Docking: Added per-viewport work area system for e.g. menu-bars. Fixed DocksapceOverViewport() and demo code (overlay etc) ( #3035 , #2889 , #2474 , #1542 , #2109 )
...
Clarified that BeginMenuMainBar() had an incorrect knowledge of its height (which was previously harmless).
Designed to easily allow for status bars although we don't have/use them yet, but custom code could use them.
ago%!(EXTRA string=5 years)
ocornut
f032ad6b1f
Viewports: Renamed GetRect() to GetMainRect() in prevision for work rect. Comments
ago%!(EXTRA string=5 years)
ocornut
898e91f20d
Internals: Added TempInputText() to facilitate creation of custom widgets, renamed TempInputTextScalar() to TempInputScalar() etc. ( #2718 )
...
+ Minor imgui.h/todo comments
ago%!(EXTRA string=5 years)
ocornut
871727dd2f
Viewports: Software mouse cursor is also scaled by current DpiScale. (amend #939 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
3ff13edad9
Viewports: Improve menu positioning in multi-monitor setups.
...
This change uses mouse position for initial positioning of popup menus. It ensures that menu appears in expected location on monitor mouse is currently hovering. This change fixes incorrect menu positioning (permanent or on the first frame) when menu item spans multiple monitors.
ago%!(EXTRA string=5 years)
ocornut
e547f898a9
Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.
ago%!(EXTRA string=5 years)
ocornut
3c80d57dc7
Viewports, Window: Avoid manually clipping resize grips and borders, which messes up with automation ability to locate the items. Also simpler and more standard.
...
Amend d8f9f6ba2a
and 377f730054
.
ago%!(EXTRA string=5 years)
ocornut
02a6c06080
Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child window also manipulate the ItemFlags stack. ( #3024 ) [ @Stanbroek ]
...
Amend f843facba4
and 8828889d5e
ago%!(EXTRA string=5 years)
Omar
8836975dcf
Drag and Drop, Nav: Disabling navigation arrow keys when drag and drop is active. ( #3025 )
ago%!(EXTRA string=5 years)
omar
ccaec1a270
Version 1.76 WIP
ago%!(EXTRA string=5 years)
omar
30bb15672d
Remove trailing spaces
ago%!(EXTRA string=5 years)
omar
58b3e02b95
Version 1.75
...
Comments
ago%!(EXTRA string=5 years)
omar
7e2d172ae5
Backends: GLFW, SDL: Platform monitors declared properly even if multi-viewport is not enabled.
ago%!(EXTRA string=5 years)
omar
d37d25470a
Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
ago%!(EXTRA string=5 years)
omar
3bde375078
Nav, Docking: Fixed failing to restore NavId when refocusing due to missing nav window.
ago%!(EXTRA string=5 years)
omar
365b639981
Nav, Docking: Fixed failing to restore NavId when refocusing a child within a docked window.
ago%!(EXTRA string=5 years)
omar
d4fc525614
Nav, Focus: Fixed messed up Ctrl+Tab order with Docked windows.
...
Amend d9bca0d853
, fc41839cab
, fc42528f13
for docking.
ago%!(EXTRA string=5 years)
omar
fc42528f13
When testing for the presence of the ImGuiWindowFlags_NoBringToFrontOnFocus flag we test both the focused/clicked window (which could be a child window) and the root window.
ago%!(EXTRA string=5 years)
omar
fc41839cab
Focus: Reworking FocusWindow() so in Docking branch we can fix CTRL+Tab being out of order on Docked windows because WindowsFocusOreder is poorly maintained.
...
When merging this and d9bca0d8
in Docking we'll replace two ocurrences of RootWindow with RootWindowDockStop.
ago%!(EXTRA string=5 years)
omar
fb257eef3e
Internals: Update ->RootWindow and other links before applying the SetNextWindowXXX stuff. This is so FocusWindow() can always assume that ->RootWindow != NULL.
ago%!(EXTRA string=5 years)
omar
4b4be11fd2
Docking: Clarifying that DockNode!=NULL when DockIsActive. Comments. Cleanup.
ago%!(EXTRA string=5 years)
omar
d9bca0d853
Nav: Fixed a bug where the initial CTRL-Tab press while in a child window sometimes selected the current root window instead of always selecting the previous root window. ( #787 )
ago%!(EXTRA string=5 years)
omar
47fab0e166
Misc renaming, comments. Docs: add missing spacing to Changelog.
ago%!(EXTRA string=5 years)
omar
6e1f8be07b
Window: Fix SetNextWindowBgAlpha(1.0f) failing to override alpha component. ( #3007 )
ago%!(EXTRA string=5 years)
omar
3b828e6f96
Fix following bbe946f
(ImRect <> ImVec4)
ago%!(EXTRA string=5 years)
omar
bbe946fb6c
Minor fixes/tweaks (some to reduce drift wiih master branch)
ago%!(EXTRA string=5 years)
omar
5f4dfad5b7
Merge misc/shallow changes from Docking to reduce drift.
...
Most are comments. Fix menu bar clipping: 07ff47bf1b
ago%!(EXTRA string=5 years)
omar
6c1a73774d
Tooltip: Testing DragDropWithinSourceOrTarget in BeginTooltipEx() instead of just BeginTooltip() - feel this was an overlook. Added tooltip flags instead of using bool.
ago%!(EXTRA string=5 years)
omar
377f730054
Fix resizing viewport-owning windows when mouse pos is outside the InnerClipRect (can happen with OS decoration on). ( #1542 )
ago%!(EXTRA string=5 years)
omar
f68075b333
Docking: Added DockNodeFlagsOverrideSet/DockNodeFlagsOverrideClear (experimental)
ago%!(EXTRA string=5 years)
omar
5363af7f47
AddCircle, AddCircleFilled: Add auto-calculation of circle segment counts (amends)
...
Tweak default max error value, Changelog, comments, path-fast for 12 segments circles, made LUT store ImU8
ago%!(EXTRA string=5 years)
Ben Carter
051ce0765e
AddCircle, AddCircleFilled: Add auto-calculation of circle segment counts
ago%!(EXTRA string=5 years)
omar
2eda3585e7
Fixed hoverable/focus bug introduced in 3fe6ae97
( #2997 )
...
+ ArrowButtonEx() internal bits.
ago%!(EXTRA string=5 years)
omar
f1b5c742ff
Viewports: Add various comments
ago%!(EXTRA string=5 years)
omar
7e068da2bd
Docking: Internals: Renamed members from XxxxID to XxxxxId to be more consistent with rest of the codebase (still some inconsistency left that are harder to fix)
ago%!(EXTRA string=5 years)
omar
3fe6ae9732
Internals: Move some Nav functions and members around (no functional change) + Misc comments
ago%!(EXTRA string=5 years)
omar
2478dbfdb7
Disable warning C5054 introduced in VS 2019 16.2 ( #2983 )
ago%!(EXTRA string=5 years)
Loïc Molinari
6c00d1916e
Disable format checks when using stb_sprintf.h
...
STB sprintf allows extra formats like %b or %$d. If ImGui is configured
to use STB sprintf, it generates warnings with GCC and clang when using
such formats because it keeps applying default printf-style warnings.
This commit disables printf-style warnings when using STB sprintf.
Since the printf-style warnings are defined in imgui.h based on the
compiler, IMGUI_USE_STB_SPRINTF can't just be defined in the cpp file
anymore and it's been moved as a proper config in imconfig.h.
ago%!(EXTRA string=5 years)
omar
9ad4c5da7e
Fix zealous warnings + Internals: Renamed members from XxxxID to XxxxxId to be more consistent with rest of the codebase (still some inconsistency left that are harder to fix)
ago%!(EXTRA string=5 years)
omar
f6d6880a61
Internals: Nav: PushFocusScope, PopFocusScope, GetFocusScopeID() helpers
ago%!(EXTRA string=5 years)
omar
2ebe08be40
Focus, Nav: Merged bits from RangeSelect features to enable early manipulation of focus scope for styling purpose.
...
FocusScopeId is tracked by nav scoring/request and stored in result.
It's all rather WIP and we should reorganize the SetNavIDXXX functions fiasco at some point (soon?).
Didn't separate FocusScope from SelectionScope for now, will re-investigate this later, this is the minimum commit to be able to do some styling.
ago%!(EXTRA string=5 years)
omar
e2eb0b4bc4
Internals: Begin tries to setup WindowTemp/DC members in same order as their declaration. Readme: remove Coverity banner (PVS is better)
ago%!(EXTRA string=5 years)
omar
02c2d18aa3
Internals: Renaming and marking of legacy focus/tabbing system
ago%!(EXTRA string=5 years)
omar
52334ad8df
Internals: Minor ordering/comments of ImGuiWindowTempData.
ago%!(EXTRA string=5 years)
omar
ff5299e0e0
Docs: FAQ, Comments.
ago%!(EXTRA string=5 years)
Rokas Kupstys
97a8dc6514
CI: Added PVS-Studio static analysis on the continuous-integration server.
ago%!(EXTRA string=5 years)
Rokas Kupstys
ae1e3619f6
Disable some PVS studio warnings.
...
V1048: While they are technically correct we want to emphasize assigned values must remain same.
ago%!(EXTRA string=5 years)
omar
f9630e60c5
Metrics: Fix not being able to expand "ParentWindow" when parent window is same as root window.
ago%!(EXTRA string=5 years)
omar
d581939387
Removed trailing spaces.
ago%!(EXTRA string=5 years)