Classes | |
| struct | FlowLayout |
Functions | |
| FlowLayout | ComputeFlowLayout (float avail_width, float min_width, float max_width, float min_height, float max_height, float aspect_ratio, float spacing, int max_columns, int item_count) |
| ImVec4 | ScaleColor (const ImVec4 &color, float scale, float alpha) |
| ImVec4 | ScaleColor (const ImVec4 &color, float scale) |
| ImVec4 | WithAlpha (ImVec4 color, float alpha) |
| ImVec4 | GetEditorAccentColor (EditorType type, const gui::Theme &theme) |
Variables | |
| constexpr float | kDashboardCardBaseWidth = 180.0f |
| constexpr float | kDashboardCardBaseHeight = 120.0f |
| constexpr float | kDashboardCardWidthMaxFactor = 1.35f |
| constexpr float | kDashboardCardHeightMaxFactor = 1.35f |
| constexpr float | kDashboardCardMinWidthFactor = 0.9f |
| constexpr float | kDashboardCardMinHeightFactor = 0.9f |
| constexpr int | kDashboardMaxColumns = 5 |
| constexpr float | kDashboardRecentBaseWidth = 150.0f |
| constexpr float | kDashboardRecentBaseHeight = 35.0f |
| constexpr float | kDashboardRecentWidthMaxFactor = 1.3f |
| constexpr int | kDashboardMaxRecentColumns = 4 |
| FlowLayout yaze::editor::anonymous_namespace{dashboard_panel.cc}::ComputeFlowLayout | ( | float | avail_width, |
| float | min_width, | ||
| float | max_width, | ||
| float | min_height, | ||
| float | max_height, | ||
| float | aspect_ratio, | ||
| float | spacing, | ||
| int | max_columns, | ||
| int | item_count ) |
Definition at line 47 of file dashboard_panel.cc.
References yaze::editor::anonymous_namespace{dashboard_panel.cc}::FlowLayout::columns, ComputeFlowLayout(), yaze::editor::anonymous_namespace{dashboard_panel.cc}::FlowLayout::item_height, yaze::editor::anonymous_namespace{dashboard_panel.cc}::FlowLayout::item_width, and yaze::editor::anonymous_namespace{dashboard_panel.cc}::FlowLayout::spacing.
Referenced by ComputeFlowLayout().

| ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::ScaleColor | ( | const ImVec4 & | color, |
| float | scale, | ||
| float | alpha ) |
Definition at line 92 of file dashboard_panel.cc.
| ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::ScaleColor | ( | const ImVec4 & | color, |
| float | scale ) |
Definition at line 96 of file dashboard_panel.cc.
| ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::WithAlpha | ( | ImVec4 | color, |
| float | alpha ) |
Definition at line 100 of file dashboard_panel.cc.
| ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::GetEditorAccentColor | ( | EditorType | type, |
| const gui::Theme & | theme ) |
Definition at line 105 of file dashboard_panel.cc.
References yaze::gui::Theme::accent, yaze::gui::ConvertColorToImVec4(), yaze::gui::Theme::error, yaze::gui::Theme::info, yaze::editor::kAgent, yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kEmulator, yaze::editor::kGraphics, yaze::editor::kHex, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, yaze::editor::kSettings, yaze::editor::kSprite, yaze::editor::kUnknown, yaze::gui::Theme::primary, yaze::gui::Theme::secondary, yaze::gui::Theme::success, yaze::gui::Theme::text_primary, yaze::gui::Theme::text_secondary, and yaze::gui::Theme::warning.

|
constexpr |
Definition at line 28 of file dashboard_panel.cc.
|
constexpr |
Definition at line 29 of file dashboard_panel.cc.
|
constexpr |
Definition at line 30 of file dashboard_panel.cc.
|
constexpr |
Definition at line 31 of file dashboard_panel.cc.
|
constexpr |
Definition at line 32 of file dashboard_panel.cc.
|
constexpr |
Definition at line 33 of file dashboard_panel.cc.
|
constexpr |
Definition at line 34 of file dashboard_panel.cc.
|
constexpr |
Definition at line 35 of file dashboard_panel.cc.
|
constexpr |
Definition at line 36 of file dashboard_panel.cc.
|
constexpr |
Definition at line 37 of file dashboard_panel.cc.
|
constexpr |
Definition at line 38 of file dashboard_panel.cc.