Commit Graph

6750 Commits (790132a672df39fbafcb48487f0704ee07032277)
 

Author SHA1 Message Date
omar 68389200c4 Internals: Comments about CalcWrapWidthForPos() ()
omar e0ec69d84b Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (, )
omar 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. ()
omar 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks.
omar 9c2a36f573 Internals: clarified the code for ClampWindowRect().
As a side-effect, some rounding error may be neutralized however this isn't the intent. ()
omar 8ead38c100 Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version.
omar 704723744e Disabled latest overzealous warnings from Clang
Louis Schnellbach b1d8309abc Added ImGuiTabItemFlags_NoTooltip for individual Tab Item.
ocornut 078571b7a9 Popups: added comments, reorganized the functions in imgui.h
ocornut 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. ()
ocornut 37eb89371b Popups: Internals: Added IsAnyPopupOpen().
ocornut d31fe97f74 Popups: Fix an edge case where programatically closing a popup while clicking on its empty space would attempt to focus it and close other popups. ()
ocornut 1dfd0634cb Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code.
ocornut 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point
ocornut c658cba22b Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing.
omar 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49)
Internals: Bits, comments, added ImRect::ToVec4()
Ben Carter d3b37180a3 ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex.
Amend 5363af7f47, 051ce0765e
ocornut a933cc4f4d Documentation update
ocornut 64d8d302fb ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases.
ocornut 16da8e6da6 Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). ()"
This reverts commit 9b3ce494fd.
ocornut 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example.
ocornut 40b799023b Docs: Update fonts.md () + update all references to FONTS.txt
Scott a72754886f Docs: Initial draft of fonts documentation ()
ocornut 9b3ce494fd Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). ()
This change benefits Columns but was primarily made with Tables in mind.
ocornut 84862ec78e ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where changing channels with different TextureId, VtxOffset would incorrectly apply new settings to draw channels. (, )
ocornut 3bef743df4 ImDrawList: Clarifying and guarateeing that CmdBuffer.back()->UserCallback should be always be NULL.
ocornut b1f2eacdf3 ImDrawList: Prefixed internal functions with underscore, renamed UpdateClipRect() to _OnChangedClipRect(), UpdateTextureID() -> _OnChangedTextureID()
ocornut e35a813d57 ImDrawList: Separating PrimXXX sections from more internals helper in the header file.
ocornut 117d57df5b ImDrawList: Additional comments and extracted bits into ImDrawList::PopUnusedDrawCmd()
ocornut a6bb047bab ImDrawList: Store header/current ImDrawCmd in instance to simplify merging code. Amend 0320e72, toward ,
ocornut 57191fe3d0 Comments about limiting WindowRounding to a reasonable size.
ocornut f6120f8e16 ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where starting a split when current VtxOffset was not zero would lead to draw commands with wrong VtxOffset. (
ocornut 41f47c853b ImDrawList: Amend 0320e72 removed an unnecessary test.
ocornut 0320e7257b ImDrawList: Small refactor to create empty command when beginning the frame, allowing to simplify some functions.
+ Missing clearing two fields in ClearFreeMemory() (was hamrless)
ocornut 003153b3ac ImDrawList: Tweaks to make style consistent (using pointers, same local names). Added comments. Should be no-op.
thedmd e22e3f300a ImDrawList: Fixed an issue when draw command merging or cancelling while crossing the VtxOffset boundary would lead to draw command being emitted with wrong VtxOffset value. (, , )
ocornut 78d5ccfb90 ImDrawList: PushColumnsBackground(): Fixed incorrect assert. ()
Rokas Kupstys 5af8a8c7e8 CI: Extra warnings for builds with Clang. Backends: OpenGL3: Fix sign conversion warnings.
Rokas Kupstys dc49b14e29 Misc: Fix examples of using other OpenGL3 bindings in Makefiles.
Mark Jansen 6eb66fbef3
Backends: Win32: Cache the result of a windows version check. ()
This is not expected to change while the application is running :)
ocornut 79fbab543d Minor fix to avoid undefined behavior sanitizer triggering ()
ocornut 53dfccbe4b imgui_freetype: Fix for rare case where FT_Get_Char_Index() succeed but FT_Load_Glyph() fails. ()
omar 5e976e9b05
Title capitalization ()
ocornut 41e8837f59 Comments, adding some spacing in ImVec2() constructors.
Giovanni Funchal 3f26a07ee1 Backends: OpenGL: Fixed loader auto-detection to not interfere with ES2/ES3 defines. ()
ocornut 5ddf60d8ce Commit to facilitate branches merges
ocornut a06eb83359 Examples: GLFW+Vulkan, SDL+Vulkan: Fix for handling of minimized windows. ()
Rokas Kupstys 6b688561aa CI: Test building without C++ runtime on GCC/Clang.
ocornut bb2529dd48 Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends.
ocornut a056603d8b Backends: Vulkan: Rename internal helper ImGui_ImplVulkanH_CreateWindow to ImGui_ImplVulkanH_CreateOrResizeWindow