860 Commits (ecbedc8c2654eb1dadb7d92f47ebb051bfd9b3ba)

Author SHA1 Message Date
omar ecbedc8c26 Tweaks, ammend 93efa54, rename to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS (#1038) ago%!(EXTRA string=6 years)
omar 4e90906b04 Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734) ago%!(EXTRA string=6 years)
omar 93efa5415f Renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_STRING_FUNCTIONS. (#1038) ago%!(EXTRA string=6 years)
omar ca30ef4269 Drag and drop: Increase local payload buffer from 8 to 16 bytes. ago%!(EXTRA string=6 years)
omar 7e232092a6 Internals: Added GetWindowResizeID(), renamed GetScrollbarID() to GetWindowScrollbarID(). Using integer for resize ID so they matches regardless of the pointer size. ago%!(EXTRA string=6 years)
omar be05e12e21 Misc: Using static_assert() when using C++11, instead of our own construct (avoid zealous Clang warnings). ago%!(EXTRA string=6 years)
omar 03852470de Internals: Routing recoverable user errors via IMGUI_USER_ERROR() macro. (#1651) ago%!(EXTRA string=6 years)
omar 25eee91542 Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. (#1651) ago%!(EXTRA string=6 years)
omar b138f8cbcd Internal: Nav rename preparing for nav inputs ownership changes. IsNavInputPressed() -> IsNavInputTest() ago%!(EXTRA string=6 years)
omar 57dc34f4e8 TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. (#1896, #1861) ago%!(EXTRA string=6 years)
omar 011d475532 TreeNode: The collapsing arrow accepts click even if modifier keys are being held, facilitating interactions with multi-select patterns. (#2886, #1896, #1861) ago%!(EXTRA string=6 years)
omar d003674f2c Internals: Added ImChunkStream, used by window settings. (more generic followup to 4c13807, the class will be used more extensively by Tables) ago%!(EXTRA string=6 years)
omar a337e219b6 Internals: ImPool: Renaming. ago%!(EXTRA string=6 years)
omar 28f1d60de1 Internals: Renaming + added ImStrSkipBlank() from docking branch. ago%!(EXTRA string=6 years)
omar 09b2310237 Internals: Added index of helpers and shuffled a few things. ago%!(EXTRA string=6 years)
omar 4c13807b7d Misc: Optimized storage of window settings data (reducing allocation count). ago%!(EXTRA string=6 years)
omar 8fee5a4349 Internals: Renaming for consistency. ago%!(EXTRA string=6 years)
stfx 6bf5aed325 Declaration and assignment can be joined, Member function may be 'const'. (#2875) ago%!(EXTRA string=6 years)
Rokas Kupstys c863c1f6a1 Clean up number rounding. Now it is more obvious what code is doing. (#2862) ago%!(EXTRA string=6 years)
omar ec0e953cca Fixed a couple of subtle bounding box vertical positioning issues relating to text baseline alignment. ago%!(EXTRA string=6 years)
Rokas Kupstys 714fe29d1a Replace manual flooring with IM_FLOOR() macro. (#2850) ago%!(EXTRA string=6 years)
omar a41f0b2df4 Inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function. ago%!(EXTRA string=6 years)
omar c7bdec7e18 InputText, Nav: Fixed Left!Right keys broken when activating Keyboard Navigation. (#787) Amend 892dfb1 ago%!(EXTRA string=6 years)
omar bf746c4215 DragScalar, SliderScalar, InputScalar: Added p_ prefix to parameter that are pointers to the datato clarify how they are used, and more comments redirecting to the demo code. (#2844) ago%!(EXTRA string=6 years)
omar a6c3be4bda Internals: Tweaks to ItemSize() should be harmless. Added DebugDrawItemRect() helper. ago%!(EXTRA string=6 years)
omar 892dfb1dea InputText, Nav: Fixed Home/End key broken when activating Keyboard Navigation. (#787) ago%!(EXTRA string=6 years)
omar c262276988 Version 1.74 WIP ago%!(EXTRA string=6 years)
omar d5efe16157 Version 1.73 ago%!(EXTRA string=6 years)
omar ca858c084b Demo tweaks. Comments. Compacting the rarely used AutoFitXXX fields in ImGuiWindowTempData. ago%!(EXTRA string=6 years)
omar 52deb415e0 Internal: Refactored internal RenderMouseCursor so colors can be specified. (#2614) ago%!(EXTRA string=6 years)
omar 25849234f6 Internal: Tree: tweaks (initially tried to implement auto-scrolling, stashed) ago%!(EXTRA string=6 years)
omar eab03f4467 Selectable: Added ImGuiSelectableFlags_AllowItemOverlap flag in public api (was previously internal only). ago%!(EXTRA string=6 years)
omar 38d22bc47d ColorPicker / ColorEdit: restore Hue when zeroing Saturation. (#2722, #2770) - changelog, fixed uninitialized variables, tweaks, renaming. ago%!(EXTRA string=6 years)
Rokas Kupstys accb0261b8 ColorPicker / ColorEdit: restore Hue when zeroing Saturation. (#2722, #2770) ago%!(EXTRA string=6 years)
omar 74e01e62ce Fixed unused static function warning for some compilers. (#2793) ago%!(EXTRA string=6 years)
omar 7d5a17e5e4 Remove trailing spaces (grep for ' \r?$' in visual studio) ago%!(EXTRA string=6 years)
Rokas Kupstys 45405f0dc9 Font: implement a way to draw narrow ellipsis without relying on hardcoded 1 pixel dots. (#2775) ago%!(EXTRA string=6 years)
omar b05f6f6f50 Nav, Scrolling: Added support for Home/End key. (#787) ago%!(EXTRA string=6 years)
omar c077dd4872 Fixed missing IMGUI_API for IsMouseDragPastThreshold(). ago%!(EXTRA string=6 years)
omar 3f99890f40 TabBar: feed desired width (sum of unclipped tabs width) into layout system to allow for auto-resize. (#2768) ago%!(EXTRA string=6 years)
omar 62f75c7fb1 Added a mechanism to compact/free the larger allocations of unused windows (buffers are compacted when a window is unused for 60 seconds, as per io.ConfigWindowsMemoryCompactTimer = 60.0f). Note that memory usage has never been reported as a problem, so this is merely a touch of overzealous luxury. (#2636) ago%!(EXTRA string=6 years)
omar cb538fadfe Internals: Storing settings using ImVec2ih to match what we are doing with dock node. + removed ImMax from reading Size value (done in Begin) + removed seemingly unnecessary FLT_MAX compare in SettingsHandlerWindow_WriteAll. ago%!(EXTRA string=6 years)
omar f624455d7b Version 1.73 WIP ago%!(EXTRA string=6 years)
omar 9bd7846f07 Internal: Made ScrollToBringRectIntoView() handle recursing back to scroll parent window, so the function can be called elsewhere (instead of 1 deep recursion done in NavUpdateMoveResult(). ago%!(EXTRA string=6 years)
omar 6a0d0dab5a Version 1.72b (patch for nav) ago%!(EXTRA string=6 years)
omar 27079e68c2 Nav: Made hovering non-MenuItem Selectable not re-assign the source item for keyboard navigation. ago%!(EXTRA string=6 years)
omar 4cfaf7d89c Scrolling, Nav: Fixed programmatic scroll leading to a slightly incorrect scroll offset when the window has decorations or a menu-bar (broken in 1.71). This was mostly noticeable when a keyboard/gamepad movement led to scrolling the view, or using e.g. SetScrollHereY() function. Fix/amend a0994d74. ago%!(EXTRA string=6 years)
omar 3548fb8013 Internal refactor: moved all Scroll related functions in a same spot. ago%!(EXTRA string=6 years)
omar 1b1e539288 Internal: Moved NavScrollToBringItemIntoView() declaration to imgui_internal.h. Fixed spacing missing in 494d804. Fixed changelog wreck from 1.72. ago%!(EXTRA string=6 years)
omar 494d804735 Internal: Added ImGuiInputTextState::ClearText() helper. ago%!(EXTRA string=6 years)