Commit Graph

6285 Commits (03038df1cc018d80fb0307416fb24de0eaf41a99)
 

Author SHA1 Message Date
omar 9289e8055c
Merge pull request from franciscod/uninitialized_o3_werror
ImFontAtlas: Fix maybe-uninitialized warning.
omar 4cdd998be8 Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (, )
omar d323e8cca2 Fixed Style merge for nav branch (, )
omar d211a0e338 Merge branch 'master' into navigation (with style breakable)
# Conflicts:
#	imgui.cpp
#	imgui_draw.cpp
omar 4022ada843 Merge branch 'master' into drag_and_drop
omar 4daf377c9b Added comment about TextUnformatted(). ()
omar 8a7f03cbf9 Combo: Offset popup position by border size so that a double border isn't so visible. ()
omar d7af1a218e Style: Added PopupRounding setting. ()
omar 067605052d Fix IsItemHovered() returning true for non-title bar hidden items that are clipped due to window collapsing logic. Fix 27fd1b913b. ()
omar 6f7b1bf2e1 Internals: Renamed ImGuiWindow::Accessed to WriteAccessed.
omar 0e4f1df1a4 Style: Made changes to Classic style (!!!). Tweaked Dark style. ()
omar 0a61b7195c Style: Added a default StyleColorsLight(). ()
omar e7e81b265d Demo: Tweaks.
omar 58345b11e1 Style: Removed ImGuiCol_ComboBg in favor of combo boxes using ImGuiCol_PopupBg for consistency. ()
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 )
omar c1b5eab868 Style Editor: Sneakily adding a combo box to change colors ()
omar 331eac511e Style: Dark: Tweaks + setting BorderShadow correctly.
omar 29e0078b66 Internals: Window minor internal renaming + added WindowRounding latch.
omar bd4bc929ce Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding.
omar 4e62118b61
Merge pull request from codecat/minor-fixes
Examples: DirectX: fix wrong comment in dx implementation headers
Codecat 979fe30a6f Fix wrong comment in dx implementation headers
omar da2be7bbdc Style: ScaleAllSizes() helper rounds down every values so they are aligned on integers.
Francisco Demartino f5871c0b92 fix uninitialized atlas packing context
omar 834fa52c8e Columns: Added ImGuiColumnsFlags_GrowParentContentsSize to internal API to restore old content sizes behavior. (, )
omar 7746dd104c Merge branch 'master' into drag_and_drop
omar 44c590393c Merge branch 'master' into navigation
omar 29d962069d Internals: Updating condition/allow flags with a function.
omar 4ad414c8d4 Internals: Window: Store whether the windows has a close button (we need that info for window/tabs dropping preview calculation)
omar 7c4be0a000 Internals: Added BringWindowToFront(), BringWindowToBack() helpers.
omar 6817f3a3d9 Merge branch 'master' into navigation
omar e9a7e73bba Windows with MenuBar have a larger minimum height to avoid artefacts (I fixed most of the vertical/horizontal artefacts, but the ones in rounded corners were too hard to fix).
omar f36037b384 Menu: Fixed minor rendering issues on the right size with rounded window when resizing a window small.
omar 9b82d9fbef Scrollbar: Minor graphical fix for when scrollbar don't have enough visible space to display the full grab.
omar f5bdf443c9 Minor comments, tweaks
omar 5ea6e80da1 Make it possible to use SetNextWindowPos() on a child window. Useful internally.
omar 5027311e7f Drag and drop: Standardizing payload types as defines. ()
omar 44b761b308 Merge branch 'master' into drag_and_drop
omar 27fd1b913b Made it guaranteed by API that after calling Begin() the last Item represent the title bar. ()
omar ae060b1d67 Merge branch 'master' into drag_and_drop
omar 64031852de Merge branch 'master' into navigation
omar 64e79035d5 Scrollbar flicker fix for menus/popups (fixes 4d00dd8326 and 2df8fa95df). Hopefully right this time.
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). ()
Demo: Columns: Adding a billion of extra lines and using clipper.
omar 0858c3d7cb Demo: Custom Rendering: Fixed clipping rectangle extruding out of parent window.
omar ffad688fc8 Drag and Drop: Added payload->IsPreview() to user can render their custom preview while handling overlapping drop targets. ()
omar 852ece3a0e Fixed build (3e06450d27 not meant for master branch, but ok)
omar 2275cb8b83 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
omar 3e06450d27 Internals: Added ArrowButton() helper.
omar 7908cce25f Drag and Drop: Added internal BeginDragDropTargetCustom() convenient to avoid submitting dummy ItemAdd. ()
omar 4d00dd8326 Fixed scrollbar flickering on/off when uncollapsing a window (fixes 2df8fa95df)
omar 30bf40195b io.OptNoCursorBlink -> io.OptCursorBlink ()