#include <algorithm>#include "imgui/imgui.h"
Go to the source code of this file.
Classes | |
| struct | yaze::gui::UIConfig |
| Centralized UI dimension constants. More... | |
| struct | yaze::gui::SizeConstraints |
| Returns min/max size pair suitable for ImGui::SetNextWindowSizeConstraints. More... | |
Namespaces | |
| namespace | yaze |
| namespace | yaze::gui |
| Graphical User Interface (GUI) components for the application. | |
Functions | |
| ImVec2 | yaze::gui::ViewportRelativeSize (float width_factor, float height_factor) |
| Returns an ImVec2 sized as a fraction of the main viewport WorkSize. | |
| ImVec2 | yaze::gui::DialogSize (float width_factor=0.6f, float height_factor=0.65f) |
| Returns a standard dialog size as a fraction of the viewport. | |
| SizeConstraints | yaze::gui::ConstrainToViewport (ImVec2 min_size, float max_factor=0.95f) |
| ImVec2 | yaze::gui::ScaledSize (float base_width, float base_height) |
| Returns a DPI-scaled version of a fixed pixel size. | |
| ImVec2 | yaze::gui::GetContentRegionAvailClamped (const ImVec2 &min_size) |
| Returns content region available size clamped to a minimum. | |