5297 Commits (f422e7826f57d09ba4e8eb069353ef5eec0a41ef)

Author SHA1 Message Date
ocornut ccfb20095e Nav: small refactor of forwarding, clarified that MoveDir only set when RequestActive, removed one indent level in NavUpdatePageUpPageDown(). ago%!(EXTRA string=4 years)
ocornut 20a1edef89 Nav: made EndMenuBar() use NavMoveRequestForward() for consistency. Moved forward clearing to NavMoveRequestApplyResult(). Improved/fixed comments. ago%!(EXTRA string=4 years)
ocornut 84890a3074 Nav: simplify wrap requests code (may soon be useable for tabbing) ago%!(EXTRA string=4 years)
ocornut 4c31c98d22 Nav: extracted code out of NavUpdate() into NavUpdateCancelRequest() ago%!(EXTRA string=4 years)
ocornut 58f5092c53 Docking: fixed settings load issue when mouse wheeling. (#4310) 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 47fb332fb2 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ago%!(EXTRA string=4 years)
ocornut 32d4f6c5d9 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ago%!(EXTRA string=4 years)
ocornut 2e01952b35 Fix BeginDisabled(false), (#211, #4452) ago%!(EXTRA string=4 years)
ocornut f969e68c10 Fix BeginDisabled(false), (#211, #4452) ago%!(EXTRA string=4 years)
ocornut d2ffbd9b86 Version 1.84 ago%!(EXTRA string=4 years)
ocornut df2319a854 Small optimizations to BeginDisabled() to allow frequent calls (#211) ago%!(EXTRA string=4 years)
ocornut c543d93af1 Expose BeginDisabled()/EndDisabled() in public API. Add to demo. (#211) ago%!(EXTRA string=4 years)
ocornut 9c3359ef39 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (#3532) ago%!(EXTRA string=4 years)
ocornut 7bbf8f2ab0 Drag and Drop: fix using AcceptDragDropPayload() with ImGuiDragDropFlags_AcceptNoPreviewTooltip. ago%!(EXTRA string=4 years)
ocornut cd39460925 IO: set io.KeyModsPrev in EndFrame() to tolerate backend writing to io.KeyMods without breaking. (#4439) ago%!(EXTRA string=4 years)
thedmd 2f40be638f IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus (#3532) ago%!(EXTRA string=4 years)
Rokas Kupstys 86afe966d3 Metrics: Fixed a crash when inspecting the individual draw command of a foreground drawlist. ago%!(EXTRA string=4 years)
ocornut ff428f1d2f Nav: Fix not clearing NavWindowingToggleLayer properly (old code left it to true, relied on Alt release only). Removed unnecessary KeyMenu_ from NavInput. (#4439, #787) ago%!(EXTRA string=4 years)
ocornut 8fa502ca42 Nav: Alt doesn't toggle menu layer if other modifiers are held. (#4439) ago%!(EXTRA string=4 years)
ocornut b846969fe1 Removed unnecessary line in Begin() + commented out redirecting functions/enums names that were marked obsolete in 1.67 and 1.69 + readded commented obsoleted function. ago%!(EXTRA string=4 years)
Rokas Kupstys 3e4c89051d Popups: Fix OpenPopup() being called after BeginPopup() resulting in a failure to open a popup when focus is NULL. (#4308) ago%!(EXTRA string=4 years)
ocornut c881667c00 Fix - amend 1ad1530 (range-select branch need the NextItemData in NavProcessItem) ago%!(EXTRA string=4 years)
ocornut 90bf996e1a Internals: widgets always read back from g.LastItemData.InFlags (so we can now modify per-item disable state more easily). (#211) ago%!(EXTRA string=4 years)
ocornut 6b8a059fc9 Internals: moved LastItem data to a shared structure (instead of one per window) ago%!(EXTRA string=4 years)
ocornut 1ad153056a Internals: ItemAdd: set LastItemXXX fields before navigation calls + comments about io.IniFilename (#4294) ago%!(EXTRA string=4 years)
ocornut fb4bbeb033 Disabled: fixed IsItemHovered() if popped disabled state after item, or when using Selectable_Disabled. (#211) ago%!(EXTRA string=4 years)
ocornut 246ad6c03c Disabled: items more consistently release active id if the active item got disabled. (#211) (amend 2952525) ago%!(EXTRA string=4 years)
ocornut 638e1a721b Disabled: fixed IsItemHovered() returning true on disabled item when navigated to. (#211) ago%!(EXTRA string=4 years)
Rokas Kupstys 5dd1e38b7a Disabled: disabled items set HoveredId, allowing e.g. HoveredIdTimer to function. (#211, #3419) + Menus: fix hovering a disabled menu or menu item not closing other menus. ago%!(EXTRA string=4 years)
ocornut 4a100f7f11 Nav: Disabled items are not candidate for default focus. (#211, #787) + simplify handling of ImGuiButtonFlags_PressedOnDragDropHold path. ago%!(EXTRA string=4 years)
ocornut cc40ae2101 PushDisabled(): added bool + clarify support for stacked disabled (#211) ago%!(EXTRA string=4 years)
ocornut 30d164eb26 Backends: Win32: IME functions are disabled by default for non-Visual Studio compilers (MinGW etc.) (#2590, #738, #4185, #4301) ago%!(EXTRA string=4 years)
ocornut 3512f2c2c2 Internals: Menus: minor tidying up + renaming in ImGuiMenuColumns + removing extraneous offset field which is always zero + using smaller types. ago%!(EXTRA string=4 years)
ocornut eb6f4b1a6a Docking: Fix crash when a dock node gets re-qualified as dockspace>floating>dockspace.. (#3203, #4295) ago%!(EXTRA string=4 years)
ocornut cd4cc9ff0d Docking: Fixed crash issues using DockBuilderRemoveNode() in some situations. (#3111, #3179, #3203, #4295) ago%!(EXTRA string=4 years)
ocornut 9e8e5ac363 Docking: Added ImGuiDockNodeFlags_NoDockingOverEmpty. Breaking definition of ImGuiDockNodeFlags_NoDockingOverOther which now means "non empty node". (#3492, #2648, #4292) ago%!(EXTRA string=4 years)
ocornut 6136b3844b Docking: Reworked node flags saving/inheritance... (#4292, #3834, #3633, #3521, #3492, #3335, #2999, #2648) ago%!(EXTRA string=4 years)
ocornut 0a8ab75e4b Docking: removed DockNodeFlagsOverrideClear flags from ImGuiWindowClass. (#2999, #3521, #3633) ago%!(EXTRA string=4 years)
ocornut 4ddb6b46c3 Drag and Drop: drop target highlight doesn't try to bypass host clipping rectangle. (#4281, #3272) ago%!(EXTRA string=4 years)
ocornut 0f7eb00f67 Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ago%!(EXTRA string=4 years)
ocornut b5a2bd1a5b Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys(). ago%!(EXTRA string=4 years)
ocornut 0aeb978e61 Comments + adding spacing in headers because VS IDE parser display blocks so badly. Add helper in internal's ImGuiInputTextState. (#4275) ago%!(EXTRA string=4 years)
ocornut 95db098477 ImFontAtlas: move implicit AddFontDefault call to Build() function + remove unnecessary asserts in backend. ago%!(EXTRA string=4 years)
ocornut 38165f420f Fonts: Prefer using U+FFFD character for fallback instead of '?'. Use U+FF0E dot character to construct an ellipsis if U+002E '.' is not available. (#4269) ago%!(EXTRA string=4 years)
ocornut 1965f38e9e ImGuiWindowFlags_UnsavedDocument/ImGuiTabItmeFlags_UnsavedDocument display a dot instead of a '*'. ago%!(EXTRA string=4 years)
ocornut f0c4d609a6 Default window focus scope not 0. Added ImGuiSelectableFlags_SelectOnNav with comments and caveats. (#1861, #4242,) ago%!(EXTRA string=4 years)
ocornut cce307a2be Viewports: Fix popup/tooltip created without a parent window from being given a ParentViewportId value of the implicit/fallback window. (#4236, #2409) ago%!(EXTRA string=4 years)