Commit Graph

4794 Commits (d20e3ee710c46cb8053f1d82864c1ba6792ff738)
 

Author SHA1 Message Date
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. (, fix , , ref , ref )
omar c433bc971f Reorder fields for consistency.
omar f7fe824805 Style: Tweaked border settings to homogenize a little how they look over different backgrounds. ()
omar 39137ccc3e Style: renamed ImGuiCol_ChildWindowBg to ImGuiCol_ChildBg. ()
Jason Wilkins 022f8c2342 fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph
omar 9886b09a0a Minor tweak, removed extraneous empty destructor.
Jason Wilkins e605f21797 TreePush with zero arguments was ambiguous. Resolved by making it call TreePush(const void*)
omar 9a44d447cd NewFrame() now asserts if neither Render or EndFrame have been called. Exposed EndFrame(). Made it legal to call EndFrame() more than one. ( etc.)
omar 538a704143 NewFrame(): using literal strings in the most-frequently firing IM_ASSERT expression to increase the odd of programmers seeing them (especially those who don't use a debugger).
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.