#include <algorithm>
#include <cmath>
#include <string_view>
Go to the source code of this file.
|
| namespace | yaze |
| |
| namespace | yaze::gui |
| | Graphical User Interface (GUI) components for the application.
|
| |
|
| std::string_view | yaze::gui::AdaptiveSheetScaleModeLabel (AdaptiveSheetScaleMode mode) |
| |
| float | yaze::gui::AdaptiveSheetFixedScale (AdaptiveSheetScaleMode mode) |
| |
| AdaptiveSheetLayout | yaze::gui::ResolveAdaptiveSheetLayout (float available_width, int source_width, int source_height, AdaptiveSheetScaleMode mode=AdaptiveSheetScaleMode::kFit, float min_scale=0.35f, float max_scale=4.0f, float horizontal_chrome=24.0f) |
| |
| AdaptiveSheetGridLayout | yaze::gui::ResolveAdaptiveSheetGridLayout (float available_width, int source_item_width, int source_item_height, int item_count, int preferred_columns=2, AdaptiveSheetScaleMode mode=AdaptiveSheetScaleMode::kFit, float min_scale=0.35f, float max_scale=4.0f, float gap=4.0f, float horizontal_chrome=24.0f) |
| |