ocornut
ed9eb880b5
Windows: Fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. ( #7576 , #899 )
Latching TitleBarHeight, MenuBarHeight in window.
5 months ago
ocornut
1f9fc382c3
Version 1.90.8 WIP
Tidying up todo.txt
5 months ago
ocornut
00ad3c65bc
Version 1.90.7
5 months ago
ocornut
f814ef816f
Commented out CaptureKeyboardFromApp(), CaptureMouseFromApp(). Commented out obsolete IsKeyPressedMap() from imgui_internal.h (can call IsKeyPressed). Comments
5 months ago
ocornut
86931393a3
Shortcuts: Revert "SetShortcutRouting: require explicit routing. ( #456 )
This reverts commit a689fa262a
.
6 months ago
ocornut
7832e6a70e
Shortcuts: Routing: fixed mixed keys<>chars filtering not applying on global routes. ( #456 , #7618 )
6 months ago
ocornut
85d982011e
Shortcuts: fixed priority of route calculation (higher first). ( #456 , #7618 )
6 months ago
ocornut
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. ( #456 )
6 months ago
ocornut
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. ( #456 )
6 months ago
ocornut
650cb51bf1
Shortcuts: renamed ImGuiInputFlags_RouteActiveItem to ImGuiInputFlags_RouteActive. ( #456 , #7618 )
Amend ef9d525
6 months ago
ocornut
ef9d525f02
Shortcuts: added ImGuiInputFlags_RouteActiveItem. ( #456 , #7618 ) + rearrange Changelog
6 months ago
ocornut
16b72f2d21
Comments
6 months ago
ocornut
29439bdd27
Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. ( #1710 )
Calculation incorrectly didn't always account for scrollbar as it assumed the other axis would also be auto-fit.
6 months ago
ocornut
c150ad50c4
Shortcuts: claim mods ownership once pressed. ( #456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
7c71e66370
Shortcuts, SetShortcutRouting: move ImGuiInputFlags_RouteFromRootWindow evaluation to SetShortcutRouting() for now. ( #456 )
6 months ago
ocornut
d5a600e9c6
Shortcuts, SetShortcutRouting: added ImGuiInputFlags_RouteFromRootWindow. Made it possible for SetShortcutRouting() to query for another location.
6 months ago
ocornut
0eb025f484
Internals: move ItemHandleShortcut() next to Shortcut(), it's calling it anyhow. ( #456 )
6 months ago
ocornut
a689fa262a
SetShortcutRouting: require explicit routing. ( #456 )
6 months ago
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
6 months ago
ocornut
77e4171894
Shortcuts: added flags to SetNextItemShortcut(). ( #456 )
6 months ago
ocornut
197f8904fe
Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. ( #456 )
Unsure why filter in ItemHandleShortcut(), will probably find out soon enough.
6 months ago
ocornut
fc512a2474
Inputs: Added Shortcut(), SetNextItemShortcut(). Added ImGuiInputFlags, ImGuiInputFlags_RouteXXXX. ( #456 , #2637 )
6 months ago
ocornut
85513de247
Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). ( #456 )
For several reasons those changes makes sense. They are being made because making some of those API public.
Only past users of imgui_internal.h with the extra parameters will be affected.
Added asserts for valid flags in various functions to detect _some_ misuses, BUT NOT ALL.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
900b29055c
Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). ( #456 )
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
55748cdbe1
Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
6 months ago
ocornut
aa725ca79d
Inputs: moving ImGuiInputFlags_RouteAlways into ImGuiInputFlags_RouteTypeMask_
6 months ago
ocornut
28a283b460
Windows: BeginChild(), Tables:fixed visibility of fully clipped child windows and tables to Test Engine.
6 months ago
Eugene Sandulenko
aa5a6098ee
Fixed typos in comments ( #7599 )
6 months ago
ocornut
d39ca33b63
Fixed false positive with PVS-Studio.
Amend ae8218a
.
6 months ago
ocornut
ae8218a3ea
Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. ( #456 )
Rename IsNamedKeyOrModKey() to IsNamedKeyOrMod() for consistency.
Fixed GetKeyName(ImGuiKey_None) from returning "N/A" or "None" depending on IMGUI_DISABLE_OBSOLETE_KEYIO.
See "inputs_keychord_name" in imgui_test_suite.
6 months ago
ocornut
25e279ee73
Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. ( #2343 )
6 months ago
ocornut
b4f564c1ed
Internals: Shortcuts: *Breaking* : rename ImGuiInputFlags_RouteGlobalLow -> ImGuiInputFlags_RouteGlobal, ImGuiInputFlags_RouteGlobal -> ImGuiInputFlags_RouteGlobalOverFocused, ImGuiInputFlags_RouteGlobalHigh -> ImGuiInputFlags_RouteGlobalHighest ( #456 )
6 months ago
ocornut
5107e58b0f
Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. ( #2343 )
6 months ago
ocornut
8bd5d1d42f
Inputs: Fixed swapping of keys associated to mods. Fixed warnings. ( #2343 , #4084 , #5923 , #456 )
Amend 7747106
.
6 months ago
ocornut
7747106647
Inputs: swap Ctrl and Cmd on macOS X, remove ImGuiMod_Shortcut. ( #2343 , #4084 , #5923 , #456 )
6 months ago
Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
6 months ago
ocornut
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
6 months ago
Erin M
af2fbf043d
Backends/Internals: Don't use IME and clipboard default win32 functions when WINAPI_FAMILY_GAMES ( #7585 )
6 months ago
ocornut
e4576914cb
Internals: amend f806c76
to better match docking + fixed unused static forward declaration warning.
6 months ago
ocornut
d0524df887
Internals: slight refactor FindHoveredWindow() -> FindHoveredWindowEx() toward reducing far-away code duplication.
6 months ago
ocornut
f806c76e97
Tables, Dpi: added dummy g.DpiScale storage (to be altered in docking), using to scale tables border hit thickness.
+ Added note about how equivalent resize padding for windows (sourced from WINDOWS_HOVER_PADDING) would need further rework.
6 months ago
ocornut
5e23680454
Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. ( #7568 )
6 months ago
ocornut
f48aae600a
Version 1.90.7 WIP
6 months ago
ocornut
6ccc561a2a
Version 1.90.6
6 months ago
ocornut
d4495446d5
Windows, Internal: added experimental SkipRefresh mode. ( #3515 , #4763 , #7556 , #5116 , #4076 , #2749 , #2268 )
currently: ImGui::SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags_TryToAvoidRefresh);
- This is NOT meant to replace frame-wide/app-wide idle mode.
- This is another tool: the idea that a given window could avoid refresh and reuse last frame contents.
- I think it needs to be backed by a careful and smart design overall (refresh policy, load balancing, making it easy and obvious to user).
- It's not there yet, this is currently a toy for experimenting.
My other issues with this:
- It appears to be very simple, but skipping most of Begin() logic will inevitably lead to tricky/confusing bugs. Let's see how it goes.
- I don't like very much that this opens a door to varying inconsistencies
- I don't like very much that it can lead us to situation where the lazy refresh gets disabled in bulk due to some reason (e.g. resizing a dock space) and we get sucked in the temptation to update for idle rather than update for dynamism.
6 months ago
ocornut
0b309471f2
Windows: Changed default ClipRect to extend to windows' left and right borders. ( #3312 , #7540 , #3756 , #6170 , #6365 )
6 months ago
ocornut
0c9c12c1bb
InnerClipRect use ImFloor() matching docking branch (fix c41868531
for #6861 , #2884 , followed by rename 94da5842
)
Since negative windows can never be visibile in master it didn't show as a difference.
6 months ago
ocornut
6ebbecc6a0
Realign assignments.
No functional changes.
6 months ago
thedmd
fc4d818e17
Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign. ( #6917 )
6 months ago
ocornut
4bb7567141
Tables: Angled headers: fixed multi-line label display when angle is flipped. ( #6917 )
6 months ago