252 Commits (9f200d10d569270995a8bb5893557196258fd997)

Author SHA1 Message Date
omar 9f200d10d5 Version 1.52 ago%!(EXTRA string=8 years)
omar 1f3372b7f1 ImFormatString, ImFormatStringV(): clarifying specs so that passing a NULL buffer should return the desired length. (#1038) ago%!(EXTRA string=8 years)
omar fce41d0b55 Demo: Fixed Fonts "set as default button" not having collading id on collapsed nodes. ago%!(EXTRA string=8 years)
omar 6ab737a4bb Popups: Fixed right-click to close popups not handling modal windows properly. (~#439) ago%!(EXTRA string=8 years)
omar 695ea45fca IsWindowHovered(): Changed default behavior to now return false is a widget from another window is active + Added support for ImGuiHoveredFlags_AllowWhenBlockedByActiveItem. (relate to drag'n drop idoms: #143) ago%!(EXTRA string=8 years)
omar 564ff2dfd3 IsItemHovered(), IsWindowHovered(): added flags to enable various and more specific behavior. Will enable improvements for popups/context menus and drag'n drop. (relate ~#439, #1013, #143, #925) ago%!(EXTRA string=8 years)
omar 2a32a2e662 Demos: Tweaks of popups/context/menus section. ago%!(EXTRA string=8 years)
omar a03093b2d4 CollapsingHeader(bool*) variant: fixed for IsItemHovered() to work properly in the nav branch.Basically the close button now has to use ItemAdd() to be navable into, which overwrite the IsItemHovered data. (#600, #787) ago%!(EXTRA string=8 years)
omar 2739b6ebcd Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed bg_alpha from internal BeginEx(). (3) ago%!(EXTRA string=8 years)
omar 1a35766356 BeginPopupContextItem() now supports a NULL string identifier and uses the last item ID if available. For interactive items (that have an ID) this works! For non interactive items we assert. ago%!(EXTRA string=8 years)
omar 43b4a81b3e Rnamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete). ago%!(EXTRA string=8 years)
omar c6e370a77a TreeNode: Added ImGuiTreeNodeFlags_FramePadding flag ago%!(EXTRA string=8 years)
omar 3b85a8b6a0 Demo: Added an extra test related to baseline and fixed an id collision. ago%!(EXTRA string=8 years)
omar 0106dcbd02 Fixed IsItemHovered() - part of the processing has to be done in ItemAdd() because the widget may alter clipping rectangle temporarily. ago%!(EXTRA string=8 years)
omar 99c7622a1b ItemAdd(), not performing computation for IsItemRectHovered() which does them itself, allowing us in the next commit to optimize ItemAdd() and make its logic more consistent with IsHovered(). ago%!(EXTRA string=8 years)
omar 9e1ad7295f ImFont: Renamed (supposedly internal) fields (e.g. XAdvance to AdvanceX). Custom text renderers might be affected if they didn't use the GetCharAdvance() helper function. ago%!(EXTRA string=8 years)
omar 10bb9524eb ImFont: Renamed ImFont::Glyph to ImFontGlyph (for consistency and so ImFontAtlas types can use it without ordering half of the file). Left a redirection type. ago%!(EXTRA string=8 years)
omar a34edb810e Demo: Fixed overlay demo keeps resizing (in case, e.g.: font changes) ago%!(EXTRA string=8 years)
omar 4b82759598 SetNextWindowPos: added a ImVec2 pivot parameter for positioning a given a center, bottom-right position, etc. As a generalization of SetNextWindowPosCenter() which is now obsolete. This will be useful for combo-like popups as well. ago%!(EXTRA string=8 years)
omar 1ff27d7db8 Added io.WantMoveMouse flags from Nav branch so Examples/Binding can already implement it. (#787) ago%!(EXTRA string=8 years)
omar 564c97b87e Comments ago%!(EXTRA string=8 years)
omar b409d399c8 Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update ago%!(EXTRA string=8 years)
omar 9e2f202f05 Demo: Not using the undesirable Begin() overload. ago%!(EXTRA string=8 years)
omar 6a1ba317c7 Demo: Minor coding style tweaks so bgfx copy needs less patching. ago%!(EXTRA string=8 years)
omar 37f3a718c6 Marked all fmt + va_list functions with format attribute so GCC/Clang can warn about them. Not ignoring -Wsuggest-attribute=format anymore for GCC/Clang. ago%!(EXTRA string=8 years)
omar 40f608ce9b Version 1.52 WIP ago%!(EXTRA string=8 years)
omar 55a6209931 Version 1.51 ago%!(EXTRA string=8 years)
omar 82c3116b4f Demo: Displaying version number in test window. ago%!(EXTRA string=8 years)
omar 54bdd00df7 Columns: Fix for explicit content width and scrollbar. (#519, #125) ago%!(EXTRA string=8 years)
omar 1ebd7ec049 Demo: Columns: Added Horizontal Scrolling demo. Tweaked another Columns demo. (#519, #125, #913) ago%!(EXTRA string=8 years)
omar 19a42cb2fd Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. (#125) ago%!(EXTRA string=8 years)
omar b4eeb4aa8d Renamed GetStyleColName() to GetStyleColorName() for consistency. Extra comments in Api Breaking Changes section. ago%!(EXTRA string=8 years)
omar 91d841dd5f Added PushStyleColor(ImGuiCol idx, ImU32 col) overload. (Which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicily to fix.) ago%!(EXTRA string=8 years)
omar 52f1a4124c Demo: Tweaked Fonts section. ago%!(EXTRA string=8 years)
omar 68bf5ecbc1 Marked the weird IMGUI_ONCE_UPON_A_FRAME helper macro as obsolete. prefer using the more explicit ImGuiOnceUponAFrame. Removed the broken __LINE__ from IMGUI_ONCE_UPON_A_FRAME ago%!(EXTRA string=8 years)
omar 668a4bf1bc Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update ago%!(EXTRA string=8 years)
omar 18b50f8eba Comments ago%!(EXTRA string=8 years)
omar 97fccbdb73 Demo: Fixed conflicting id introduced in be9628494a . Added tooltip. ago%!(EXTRA string=8 years)
omar 5eef7dd82f Demo: Consoles: Added "Copy" button to demonstrate LogToClipboard ago%!(EXTRA string=8 years)
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS ago%!(EXTRA string=8 years)
omar be9628494a Demo: Rearranged everything under Widgets in a more consistent way. ago%!(EXTRA string=8 years)
omar d888de4483 Demo: Merged a few demo tweaks from navigation branch to minimize drift. ago%!(EXTRA string=8 years)
omar 942cb0e1f2 Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346) ago%!(EXTRA string=8 years)
omar d952a8d3bf Demo: Color widget demo tweaks (#346) ago%!(EXTRA string=8 years)
omar e36b41cbd0 Fixed Y scroll aiming when Horizontal Scrollbar is enabled (#665). Tweak log demo. ago%!(EXTRA string=8 years)
omar 233a6efeba Fixed GetScrollMaxX(), GetScrollMaxY(). Tweak demo to display more data. Using functions in Begin(). (#1271) ago%!(EXTRA string=8 years)
omar cdea8ca94f Demo: Comment about 'static' and some tweaks (#1267) ago%!(EXTRA string=8 years)
omar f6460970c5 ColorPicker: Hue wheel + SV triangle picker mode (mode selection flags still wip, missing context menu and persistent options). (#346) ago%!(EXTRA string=8 years)
omar 3075d8bcd4 ColorEdit4: Preliminary support for ImGuiColorEditFlags_HDR flag (currently only lift limits). (#346) ago%!(EXTRA string=8 years)
omar 91a4f5df25 Demo: Tweaks ago%!(EXTRA string=8 years)