669 Commits (e4a59d0025e288a38523b90ba9c3e014cb359a35)

Author SHA1 Message Date
omar c9f0275e22 Combo: Removed ImGuiWindowFlags_ComboBox flag. Moved internal window flags. ago%!(EXTRA string=8 years)
omar a4863e8084 Demo: Picker with palette demo supports drag and drop. (#143, #346) ago%!(EXTRA string=8 years)
omar abe5ad3c7a Demo: Added display for IsMouseDragging() function. ago%!(EXTRA string=8 years)
omar 94bf12f14b Demo: Display better mouse cursor info for debugging backends. ago%!(EXTRA string=8 years)
omar 0d53c8d480 Demo: Console: Fixed incorrect positioning which was hidden by a minor scroll issue (this would affect people who copied the console code as is) ago%!(EXTRA string=8 years)
omar a20fe279c5 Demo: Layout: Removed unnecessary BeginChild/EndChild calls ago%!(EXTRA string=8 years)
omar 532f564fd3 ImGuiTextBuffer: Renamed append() helper to appendf(), appendv() to appendfv(). Added reserve(). ago%!(EXTRA string=8 years)
omar 3f5b2a3fe3 Exposed ImDrawCornerFlags, replaced occurences of ~0 with an explicit ImDrawCornerFlags_All. Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3). ago%!(EXTRA string=8 years)
omar 3c5e64db78 Demo: Tweaked Image() code. ago%!(EXTRA string=8 years)
omar 28a31997b7 Style Editor: Simplified settings also show PopupBorderSize as a checkbox. (#707, #1019) ago%!(EXTRA string=8 years)
omar abbf836fd0 Style, Begin: removed ImGuiWindowFlags_ShowBorders window flag. Borders are now fully set up in the ImGuiStyle structure (see e.g. style.FrameBorderSize, style.WindowBorderSize). Use ImGui::ShowStyleEditor() to look them up. (#707, fix #819, #1031, ref #1019, ref #447) ago%!(EXTRA string=8 years)
omar 4cdd998be8 Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (#1450, #1451) ago%!(EXTRA string=8 years)
omar d7af1a218e Style: Added PopupRounding setting. (#1112) ago%!(EXTRA string=8 years)
omar 0a61b7195c Style: Added a default StyleColorsLight(). (#707) ago%!(EXTRA string=8 years)
omar e7e81b265d Demo: Tweaks. ago%!(EXTRA string=8 years)
omar 1c41603b31 Style Editor: Using local storage so Save/Revert button made some more sense without code passing its storage. Tweaked layout, added horizontal scroll bar, Fixed Save/Revert button to be always accessible. (fix #1211) ago%!(EXTRA string=8 years)
omar c1b5eab868 Style Editor: Sneakily adding a combo box to change colors (#707) ago%!(EXTRA string=8 years)
omar bd4bc929ce Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding. ago%!(EXTRA string=8 years)
omar 27fd1b913b Made it guaranteed by API that after calling Begin() the last Item represent the title bar. (#823) ago%!(EXTRA string=8 years)
omar 6001d9c7a4 Columns: Clipping columns borders on Y axis on CPU because some GPU drivers appears to be unhappy with triangle spanning large regions (not sure why tbh). (#125) ago%!(EXTRA string=8 years)
omar 0858c3d7cb Demo: Custom Rendering: Fixed clipping rectangle extruding out of parent window. ago%!(EXTRA string=8 years)
omar 8e6adc78af Examples: Constrained Resize: Added more test cases (for #1417) ago%!(EXTRA string=8 years)
omar ff4d4ca651 IsWindowHovered(): Added ImGuiHoveredFlags_FlattenChilds flag. Made IsRootWindowOrAnyChildHovered() obsolete in favor of IsWindowHovered( ImGuiHoveredFlags_FlattenChilds) (#1382, #1404) ago%!(EXTRA string=8 years)
omar 59323b54da Demo: Comments (#1408) ago%!(EXTRA string=8 years)
omar 6ab20ff9bf Minor tweaks to the user guide. ago%!(EXTRA string=8 years)
omar 77df1ba9e0 Version 1.53 WIP ago%!(EXTRA string=8 years)
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 29a652adee 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 59c6f35bf6 Added ActivateItem(), GetItemID() functions. ago%!(EXTRA string=8 years)
omar 518f02f4de Demo: better demo for SetKeyboardFocusHere() ago%!(EXTRA string=8 years)
omar 0046c618b0 Nav: Allow to collapse tree nodes with NavLeft and open them with NavRight (#787, #1079) ago%!(EXTRA string=8 years)
omar cf308f4039 Nav: Fixed SetItemDefaultFocus from stealing default focus when we are initializing default focus for a menu bar layer (#787) 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 7c2926de17 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)