4356 Commits (077e4db772b6ce0f5f6a2488ac9473b81ff67aee)

Author SHA1 Message Date
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 4ddb6b46c3 Drag and Drop: drop target highlight doesn't try to bypass host clipping rectangle. (#4281, #3272) 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 d0c6dd9baf ImVector: added clear_delete(), clear_destruct() helpers. ago%!(EXTRA string=4 years)
ocornut 61f4aec868 Added PushDisabled(), PopDisabled() currently only exposed in imgui_internal.h (#211) ago%!(EXTRA string=4 years)
ocornut 94b680e830 Internals: fixed ImPool:: iteration, rename GetBufSize to GetMapSize. Amend c6c82b9f ago%!(EXTRA string=4 years)
ocornut c6c82b9f1d Internals: fixed iterating ImPool, fix after use of TableRemove() (was only used by TestEngine) ago%!(EXTRA string=4 years)
ocornut 5b4bc985ad Nav, Combo: removed unnecessary window->LastNavIds[] assignment in combo code. + minor renaming. ago%!(EXTRA string=4 years)
ocornut c2bf4abfa1 Internals: Added ImTextCharToUtf8() helper. Added "out_" markers in more UTF-8 functions. Metrics: Fonts: Fixed display of EllipsisChar by feeding proper utf-8. ago%!(EXTRA string=4 years)
ocornut 3a941f95e9 Metrics, Demo: moved font details display to metrics code. (#4171) ago%!(EXTRA string=4 years)
ocornut e31d13fa76 Version 1.84 WIP ago%!(EXTRA string=4 years)
ocornut ad5d1a8429 Version 1.83 ago%!(EXTRA string=4 years)
ocornut 88a24fb896 Fix build with IMGUI_DISABLE_DEMO_WINDOWS ago%!(EXTRA string=4 years)
ocornut 029c83c73e Combos: Changed the combo popup to use a different id to also using a context menu with the default item id. (#4167) ago%!(EXTRA string=4 years)
ocornut c708299ca9 Docs: Improvements to description of using colored glyphes/emojis. (#4169, #3369) + Add Fonts to Metrics. Removed IMGUI_HAS_TABLE markers. ago%!(EXTRA string=4 years)
ocornut b474bff6c6 Nav: Fixed single frame CTRL+Tab from properly enabling the menu layer of target window if it doesn't have other active layers. ago%!(EXTRA string=4 years)
thedmd 3c72e5142b Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. (#3761) ago%!(EXTRA string=4 years)
ocornut 41030cbfe2 Tweak computation of io.Framerate so it is less biased toward high-values in the first 120 frames. (#4138) ago%!(EXTRA string=4 years)
ocornut 4ce6bd8cff Tables: sharing splitter and sort buffers between tables, reducing memory footprints. (#3740) ago%!(EXTRA string=4 years)
ocornut 32c453ae53 Tables: sharing transient buffers between tables, reducing memory footprints. (#3740) ago%!(EXTRA string=4 years)
ocornut 393941ceea Refactor focusable/tabbalbe item registration toward allowing to handle it prior to clipping (not yet the case) (#343, #4079) ago%!(EXTRA string=4 years)
ocornut 2c3f25d2d9 Nav: Fixed Tabbing initial activation from skipping the first item if it is tabbable through. (#787) ago%!(EXTRA string=4 years)
ocornut 9b90639577 Internals: ItemFlags is a shared resource as advertised. Fix Begin/PushItemFlags/End sequence (mostly for consistency) ago%!(EXTRA string=4 years)
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 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) ago%!(EXTRA string=4 years)
ocornut e61e8aea9c Nav: clear navid in NavInitWindow() when window is marked with ImGuiWindowFlags_NoNavInputs. (#787) ago%!(EXTRA string=4 years)
ocornut daf97832f1 Internals: Nav: renaming. 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 936f53229d Internals: maintaining focus order inside windows + only storing root windows in WindowsFocusOrder[] array. (toward #2304) ago%!(EXTRA string=4 years)
ocornut 5fed6bdc72 Demo: Improved popups demo and comments. ago%!(EXTRA string=4 years)
ocornut b957300260 Documentation tweaks (#4042) ago%!(EXTRA string=4 years)