1627 Commits (d61caf57145294fe98445eff3f21e24c71bd58c4)

Author SHA1 Message Date
omar 20bc06af70 Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages). ago%!(EXTRA string=6 years)
omar 28901dd104 Internals: Tweaks. Comments about PushID/GetID public function. ago%!(EXTRA string=6 years)
omar 00ffdb9fa9 ImGuiTextBuffer: Added append() function (unformatted). ago%!(EXTRA string=6 years)
omar 2c38b32db1 Removed trailing spaces (#2038, #2299) ago%!(EXTRA string=6 years)
omar f94ba546ba Added checks for "zero-as-null-pointer-constant" warnings for older Clang (#2299, followup to #2277) ago%!(EXTRA string=6 years)
omar 09f1cb642b FreeType: Minor tweaks previous commit (#2285) ago%!(EXTRA string=6 years)
omar 79d497edae Viewport: Made platform_io.Monitors mandatory for proper multi-viewport use. ago%!(EXTRA string=6 years)
omar 95ee99e6aa Version 1.68 WIP ago%!(EXTRA string=6 years)
omar 7a5058e3bf Version 1.67 ago%!(EXTRA string=6 years)
omar 6e41745f31 Added a bunch of diagnostic ignore to cope with Clang -Weverything being absurd. Also fixed two legit warnings. (#2277) ago%!(EXTRA string=6 years)
omar 49994ceb6e FAQ entry, moved ImTextureId, Gallery links. ago%!(EXTRA string=6 years)
omar 9a9712807e ImFontAtlas: Rewrote stb_truetype based builder. ago%!(EXTRA string=6 years)
omar 7ed8e55fc7 ImVector: Added size_in_bytes() helper. ago%!(EXTRA string=6 years)
omar e4c19f5af1 ImFontGlyphRangesBuilder: Using 32-bits fields for storage instead of 8-bit ones, comments, todo. ago%!(EXTRA string=6 years)
omar 7ffbcfe467 ImVector: Made reserve() another silly one-liner. It's not longer than other functions and our weird obsessions deserve to be carried with stringent consistence. + Comments ago%!(EXTRA string=6 years)
omar 1f6e0b2f98 ImVector: Made a struct. Using T/T* in the code instead of value_type/iterator. Renamed index_from_pointer() to index_from_ptr() (was not documented, added in 1.63, users not supposed to use ImVector, hopefully not a big deal). ago%!(EXTRA string=6 years)
omar 9ad341902d ImDrawList: Optimized some of the functions for performance of debug builds where non-inline function call cost are non-negligible. ago%!(EXTRA string=6 years)
omar 1ae7f88495 Tabs: Added ImGuiTabBarFlags_NoTooltip flag. (#261, #351) + added helpful assert ago%!(EXTRA string=6 years)
omar 5cb7ce2085 Renamed ImFont::GlyphRangesBuilder to ImFontGlyphRangesBuilder. Keep redirection typedef (will obsolete). ago%!(EXTRA string=6 years)
omar 1353c74dcf Comments/formatting on obsolete stuff ago%!(EXTRA string=6 years)
omar c3af134cc8 IO: Renamed InputCharacters[], marked internal as was always intended. AddInputCharacter() goes into a queue which can receive as many characters as needed during the frame. This is useful for automation to not have an upper limit on typing speed. Will later transition key/mouse to use the event queue later. ago%!(EXTRA string=6 years)
omar 1705a81efb Moved ImVector higher up in imgui :( because we will need it in ImGuiIO. ago%!(EXTRA string=6 years)
omar 9ba202821f Nav: Fixed an keyboard issue where holding Activate/Space for longer than two frames on a button would unnecessary keep the focus on the parent window, which could steal it from newly appearing windows. (#787) ago%!(EXTRA string=6 years)
omar d223d1e951 Added bindings in Readme. Added internal IMGUI_DEBUG_LOG() helper. Comments, missing breaking changes note relative to imgui_impl_xxxx changes, not really part of core but worth adding in the imgui.cpp breaking change section. ago%!(EXTRA string=6 years)
omar 4e98d4329b Comments ago%!(EXTRA string=6 years)
omar e1ed27aeaa (Breaking change) Reorganized Viewports advanced flags, moved into new io.ConfigViewportsXXX flags. Pay attention that ImGuiConfigFlags_ViewportsDecoration became ConfigViewportsNoDecoeration, so the value is inverted! (#1542) ago%!(EXTRA string=6 years)
omar c8349d3305 Viewport: Added ConfigViewportsNoParent to parent viewport default to NULL and not main viewport. Fix eg.. popups appearing erroneously focusing parent window. ago%!(EXTRA string=6 years)
omar 0cabe4dedf Viewport: Added ImGuiWindowClass / SetNextWindowClass() (concept imported from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542) ago%!(EXTRA string=6 years)
omar 0d6e3ab2b0 Docking: Renamed SetNextWindowId() -> SetNextWindowID() for consistency. (function vs member are still horribly inconsistent atm) ago%!(EXTRA string=6 years)
omar 4a6f95acc8 Viewport: Added Platform_UpdateWindow hook for general purpose: Rework Win32 code to reflect viewport flags changes into Win32 while the window is active. ago%!(EXTRA string=6 years)
omar 5305c32242 Viewport: Reorder flags. Set owned viewport common decoration flags in Begin(). Moved code in UpdateViewportsEndFrame() before we introduce family/class based overrides. ago%!(EXTRA string=6 years)
omar e194219f2e Renamed ImGuiDockFamily to ImGuiWindowClass. Renamed CompatibleWithClassZero to DockingAllowUnclassed. (#2109) ago%!(EXTRA string=6 years)
omar acacd93836 Renamed extra_flags to flags in InputXXX parameters. ago%!(EXTRA string=6 years)
omar 6b97ded438 Happy new year! & comments ago%!(EXTRA string=6 years)
omar 8fc19d2194 Removed IMGUI_HAS_TABS from Docking branch, it's not defined anywhere anymore. ago%!(EXTRA string=6 years)
omar a0e5bb9532 Viewport: Corrected/clarified comments. Moved RenderPlatformWindowsDefault() next to UpdatePlatformWindow(). Removed unnecessary flag check. ago%!(EXTRA string=6 years)
omar 39dde66b21 IO: Realigned all fields, very minor comments change. This is nearly a no-op if you don't ignore Spaces. ago%!(EXTRA string=6 years)
omar 5691385a33 IO: Added BackendPlatformUserData, BackendRendererUserData, BackendLanguageUserData void* for storage use by back-ends. (#2004 + for cimgui) ago%!(EXTRA string=6 years)
omar 89ac0ea7c1 Various user-facing comments ago%!(EXTRA string=6 years)
omar f1c7596409 Internals: Popup related comments. Renamed the misleading internal ClosePopup() function. Added bool* test to BeginPopupModal in demo. ago%!(EXTRA string=6 years)
omar 5d20da1b36 Viewport, DPI: Now using DpiScale from the ImGuiPlatformMonitor array instead of calling Platform_GetWindowDpiScale() before the platform window creation. Might even tentatively see if things work out without Platform_GetWindowDpiScale. (#1676) ago%!(EXTRA string=6 years)
omar 8497948ba0 Comments, minor tweaks. ago%!(EXTRA string=6 years)
omar ccce47c6a2 Demo: Using Tabs in Style Editor and Simple Layout example. + Adding missing early out in About and Documents examples. ago%!(EXTRA string=6 years)
omar 54a60aaa40 Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature) ago%!(EXTRA string=6 years)
omar cc1283fb78 Added ImGuiWindowFlags_UnsavedDocument window flag to append '*' to title without altering the ID, as a convenience to avoid using the ### operator. (merged from Docking branch) ago%!(EXTRA string=6 years)
omar 15447f5b7b Using named flags instead of 0 + shallow formatting tweaks from other branches. ago%!(EXTRA string=6 years)
omar 9476e07d5a Added io.ConfigWindowsMoveFromTitleBarOnly option. Still is ignored by window with no title bars (often popups). This affects clamping window within the visible area: with this option enabled title bars need to be visible. (#899) ago%!(EXTRA string=6 years)
omar 59f3c4fc20 Renamed io.ConfigResizeWindowsFromEdges to io.ConfigWindowsResizeFromEdges and removed its [Beta] mark. Resizing windows from edge is now enabled by default (io.ConfigWindowsResizeFromEdges=true). Note that it only works _if_ the back-end sets ImGuiBackendFlags_HasMouseCursors, which the standard back-end do. ago%!(EXTRA string=6 years)
omar f3a0b17bb8 Viewport: Win32, GLFW, SDL: Clarified back-ends by using global mouse position direction. GLFW: disabled io.MouseHoveredViewport setting under Mac/Linux. (#1542, #2117) + various comments. ago%!(EXTRA string=6 years)
omar b96b1f2412 Docking: Documenting an issue. Renamed member of ImGuiDockFamily. ago%!(EXTRA string=7 years)