ocornut
a76bc52da5
Window, Clipper: store initial precision loss and apply in clipper. ( #3609 , #3962 + https://github.com/ocornut/imgui_club/issues/20 )
ago%!(EXTRA string=4 years)
ocornut
23ef6c149e
Reworked modal/ctrl+tab dimming system to be entirely processed at end of the frame (backported 1dc3af3 from docking)
ago%!(EXTRA string=4 years)
ocornut
da3a36eefd
Backport from docking branch: minor stuff.
...
Fixed software mouse cursor being rendered multiple times if Render() is called more than once.
ago%!(EXTRA string=4 years)
ocornut
78c6435dbb
Inputs: (breaking wip) removed IsMouseTripleClicked() added recently (during 1.86 WIP), replaced with GetMouseClickedCount(). ( #3229 )
ago%!(EXTRA string=4 years)
ocornut
66f0fb986c
Inputtext, Nav: fixed using SetKeyboardFocusHere() on InputTextMultiline(). ( #4761 )
ago%!(EXTRA string=4 years)
ocornut
65f4be1a10
InputText: Internals: moved "apply_new_text" application code to reduce noise in a future commit (will be for #4714 ) + removed unused fields.
...
The move would ideally be no-op. technically we now clear state->Flags before calling ResizeCallback but those are unrelated. The 2 unused fields were incorrectly added by 24ff25981 .
ago%!(EXTRA string=4 years)
Pascal Thomet
7cd3cfa58a
Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) ( #3689 )
...
Various amends/renames. (Amend to fix a warning)
ago%!(EXTRA string=4 years)
ocornut
a9ea1ae854
Nav: fixing assert using Tab in a window without any tabbable element ( #4449 )
...
Amend 1a7526dc
ago%!(EXTRA string=4 years)
ocornut
bce1ba400f
Clipper: add ForceDisplayRangeByIndices ( #3841 , #3578 )
...
This partially reverts commit 6a7e2c74fb .
ago%!(EXTRA string=4 years)
ocornut
1a7526dcd4
Nav, Tabbing: refactor tabbing system to support clipped items, scrolling, using nav queries. ( #4449 )
...
Not using counter/modulo anymore and special provisions to handle tab wrapping with ImGuiListClipper. Wrapping may be done better as a next-frame forwarded request.
Also one extra step toward #3949 #3985
ago%!(EXTRA string=4 years)
ocornut
f01a6d3e8f
InputText, Nav: fixed repeated calls to SetKeyboardFocusHere() preventing to use InputText(). ( #4682 )
...
+ Stack Tool: favor inspecting HoveredID over ActiveID as the later is more likely to be locked.
ago%!(EXTRA string=4 years)
ocornut
64daeddf6f
Removed CalcListClipping() function. ( #3841 )
ago%!(EXTRA string=4 years)
ocornut
6a7e2c74fb
Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since #3841 is now solved automatically.
ago%!(EXTRA string=4 years)
ocornut
93cccd27f6
Clipper: bunch of rework. ( #3841 , #1725 )
...
- Focused/NavId now always included in display range.
- Any number of steps (while preserving zero-alloc policy).
- Non contiguous ranges for nav processing
- Moved new fields internally (+ moved StepNo away from sight so it doesn't get missused).
- Generally tweaks/refactors.
ago%!(EXTRA string=4 years)
GamingMinds-DanielC
cd1b5f7883
Clipper: enhanced ImGuiListClipper ( #3841 )
ago%!(EXTRA string=4 years)
ocornut
b409df34db
Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper.
ago%!(EXTRA string=4 years)
ocornut
a67f7dce31
Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper ( #3841 )
...
+ Extracted code into NavUpdateCreateWrappingRequest()
+ Fix for PVS in NavUpdate() assigning g.NavMousePosDirty twice.
ago%!(EXTRA string=4 years)
ocornut
19c72cd52a
Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling.
ago%!(EXTRA string=4 years)
ocornut
9c78fc928a
Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. ( #3229 )
ago%!(EXTRA string=4 years)
Chris Savoie
2318c764cf
Inputs: Mouse: Add support for tracking multiple clicks more than just double ( #3229 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
39b99072fb
ImVector: fix Clang warning (implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long long') to 'unsigned long long')
ago%!(EXTRA string=4 years)
ocornut
e3bd9434b1
1.86 WIP + internals: tweaks table temp data code.
ago%!(EXTRA string=4 years)
Rokas Kupstys
be03b8ff93
Misc: Fix build with MinGW when using IMGUI_API.
ago%!(EXTRA string=4 years)
ocornut
55d35d8387
Version 1.85
ago%!(EXTRA string=4 years)
ocornut
31d033c9d8
Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. ( #343 , #4079 , #2352 , #432 )
...
+ Removed references to counter used by previous implementation of SetKeyboardFocus functions (the TabStop ones will be removed after)
ago%!(EXTRA string=4 years)
ocornut
2de96c4bd5
Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). ( #4631 )
ago%!(EXTRA string=4 years)
Guus Waals
30db674147
Fix printf format warnings on mingw clang ( #4626 , #4183 , #3592 )
ago%!(EXTRA string=4 years)
ocornut
164a86d3b0
Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered().
ago%!(EXTRA string=4 years)
ocornut
8f495e5543
Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) ( #3692 , #3208 , #2812 , #4242 , #2900 )
ago%!(EXTRA string=4 years)
ocornut
fc4988ffb0
Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527 )
ago%!(EXTRA string=4 years)
ocornut
bbb95a5e06
IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) ( #3532 )
ago%!(EXTRA string=4 years)
Martin Ejdestig
d7260104b1
Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp ( #4573 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
30546bc0e7
ColorEdit: Fix multiple issues. ( #4014 )
...
* Change g.ColorEditLastColor type to ImU32 and store RGB color value.
- Fixes inability to change hue when saturation is 0. (#4014 )
- Fixes edgecases where lossy color conversion prevent restoration of hue/saturation.
- Fixes hue value jitter when modifying color using SV square.
* Fix hue resetting to 0 when it is set to 255 by explicitly restoring hue if it is 0 and previous value was 1.
* Further reduce hue jitter by restoring hue when color is modified using SV square.
ago%!(EXTRA string=4 years)
ocornut
2cffcbdc64
InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) ( #4552 , #2321 )
ago%!(EXTRA string=4 years)
ocornut
d366694062
Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. ( #211 ) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover ( #1651 )
ago%!(EXTRA string=4 years)
ocornut
82754561e2
Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse.
ago%!(EXTRA string=4 years)
ocornut
17a7084b57
Menus: Fixed crash when navigating left inside a child window inside a sub-menu. ( #4510 ).
ago%!(EXTRA string=4 years)
ocornut
321b84f01f
Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.
ago%!(EXTRA string=4 years)
ocornut
bd6c9e99fc
InputText: Allow cancelling/validating input with gamepad nav events.
...
Amend 158995f2 (#2321 )
ago%!(EXTRA string=4 years)
ocornut
3d9d3b49ae
Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework.
...
Bonus simplified Selectable() handling of its custom disabled flag. (#211 )
ago%!(EXTRA string=4 years)
ocornut
4aea1c5adb
IO: added io.WantCaptureMouseAllowPopupClose ( #4480 ) + comments
ago%!(EXTRA string=4 years)
ocornut
66102880a3
Updated links to Discussions
ago%!(EXTRA string=4 years)
ocornut
333807b483
Windows: fixed background order of overlapping childs submitted sequentially. ( #4493 )
...
Amend 07704496
ago%!(EXTRA string=4 years)
ocornut
780c1ee265
TextUnformatted: Accept null ranges including (NULL,NULL) without asserting. ( #3615 )
ago%!(EXTRA string=4 years)
ocornut
4a7c21d330
Fonts: Fixed ImFontAtlas::ClearInputData() marking atlas as not built. ( #4455 , #3487 )
ago%!(EXTRA string=4 years)
ocornut
e23bee353c
Removed GetWindowContentRegionWidth() function
ago%!(EXTRA string=4 years)
ocornut
0649f750b4
Version 1.85 WIP
ago%!(EXTRA string=4 years)
ocornut
d79ca9b0b6
Fixed nested BeginDisabled()/EndDisabled() calls. ( #211 , #4452 , #4453 , #4462 ) [Legulysse]
ago%!(EXTRA string=4 years)
ocornut
e6ffc04291
Moved ImDrawIdx declaration higher up in imgui.h (to ease work for dear_bindings)
...
Shuffled low-level data types declarations and tweaked comments
ago%!(EXTRA string=4 years)
ocornut
32d4f6c5d9
Fix BeginDisabled(false), again, ( #211 , #4452 , #4453 ) Version 1.84.1
...
(forced pushed since our earlier versioning didn't sort correctly in github web)
ago%!(EXTRA string=4 years)