- Feb 10, 2021
-
-
ocornut authored
-
ocornut authored
Viewports Added ImGui::GetMainViewport() as a way to get the bounds and work area of the host display. (#3789, #1542) Viewports: Backport a few constructs from 'docking' branch. Viewports: Added ImGuiViewportFlags_IsPlatformWindow, ImGuiViewportFlags_IsPlatformMonitor, ImGuiViewportFlags_OwnedByApp (none of them were in docking branch yet). ImGuiViewportFlags_IsPlatformMonitor is merely there to convey future intent, not yet used. Reduce uses of io.DisplaySize. MainMenuBar: Backport work area handling code from 'docking' branch. Metrics: Backported "Viewports" debug visualizer from 'docking' branch. Demo: Rework 'Examples->Fullscreen Window'. Demo: 'Simple Overlay' demo now moves under main menu-bar (if any) using GetMainViewport()'s work area.
-
Oleh Prypin authored
* Deps paths through https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable * Use heredocs for pasting source code * Remove fetch-depth arg, it's the default * Merge the `brew install`s, it's simpler and maybe even faster
-
- Feb 08, 2021
-
-
ocornut authored
ImDrawList: Clarified PathArcTo() need for a_min <= a_max with an assert. Fixed PathArcToFast() handling of a_min > a_max.
-
- Feb 05, 2021
-
-
ocornut authored
-
- Feb 03, 2021
-
-
ocornut authored
Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually.
-
Basil Fierz authored
Backend: webgpu: Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 (#3632, #3770)
-
ocornut authored
-
ocornut authored
ListBoxHeader: In version taking height in number of items, made vertical padding consistent regardless of if (items_count <= height_in_items) or not. Demo: Tweaks.
-
ocornut authored
ListBox: tweaked default height calculation. simplifying code internally (rework passing of full rect). Should have no visible side-effects + misc comments.
-
freddii authored
-
- Feb 02, 2021
-
-
ocornut authored
InputText: Fixed slightly off ScrollX tracking, noticeable with large values of FramePadding.x. Multiline: Fixed padding/cliprect not matching single-line version. (#3781) Fixed FramePadding.y worth of vertical offset when aiming with mouse.
-
ocornut authored
-
ocornut authored
Log/Capture: Fixes for handling \n in strings. Improve the look of various widgets. Added LogSetNextTextDecoration helper. Fixup/amend dbaf74d7. For now removed LogRenderedTextNewLine() - it is eventually desirable but currently carries too much ambiguities, so reverted until we have a better system and test suite.
-
Louis Schnellbach authored
Log/Capture: Fix various new line/spacing issue by using same render text position when there are both RenderText and LogRenderedText call in widget code. Also Buttons are now enclosed in bracket
-
ocornut authored
-
- Feb 01, 2021
-
-
Erwin Coumans authored
-
Petr Shurgalin authored
(squashed 4 commits)
-
ocornut authored
his is in order for text wrapping to have enough space when provided width precisely calculated with CalcTextSize().x. Amend 7b0bf230. Note that the rounding of either positions and widths are technically undesirable (e.g. #3437, #791) but variety of code is currently on it so we are first fixing current behavior before we'll eventually change it.
-
- Jan 28, 2021
-
-
ocornut authored
imgui_freetype: clarify breaking changes, and add BuildFontAtlas() to be consistent with planned obsolescence. Rename mislabelled internal helper. Demo: clarify labels in nested table demo. (#3765)
-
ocornut authored
-
Basil Fierz authored
(Squashed 11 commits)
-
- Jan 27, 2021
-
-
Hossein Noroozpour authored
- It adds an optional feature to support dynamic linkage of Vulkan instead of using default linkage. - It is now possible to have several potentially working implementation and whenever the Vulkan library was available it can work.
-
Rokas Kupstys authored
Backends: OSX: Fix mouse position not being reported when mouse buttons other than left one are down. (#3762) # Conflicts: # docs/CHANGELOG.txt
-
ocornut authored
Tables: Fixed PopItemWidth() or multi-components items not restoring per-colum ItemWidth correctly. (#3760) rework local stacks to facilitate modifying current value without altering the stack. May consider doing the same for ItemFlags and moving to g.ItemFlags...
- Jan 26, 2021
-
-
ocornut authored
Fonts: (Breaking) Rename ImGuiFreeType:: flags to ImGuiFreeTypeBuilderFlags_XXX. Remove ImGuiFreeType::BuildFontAtlas() flags. Rename ImFontConfig::RasterizerFlags to FontBuilderFlags. Add ImFontBuilderIO (opaque). Amend 53d59f3 with a dozen of small fixes.
-
Louis Schnellbach authored
Also renamed IMGUI_DISABLE_STB_TRUETYPE to IMGUI_ENABLE_STB_TRUETYPE
-
ocornut authored
Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no close button in the window. (#3731)
-
ocornut authored
-
Sammy Fatnassi authored
-
- Jan 25, 2021
-
-
ocornut authored
-
Kuanlan authored
-
ocornut authored
-
Belinsky-L-V authored
-
- Jan 21, 2021
-
-
ocornut authored
-