yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dashboard_panel.cc File Reference
#include "app/editor/ui/dashboard_panel.h"
#include <algorithm>
#include <cfloat>
#include <fstream>
#include <sstream>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "app/editor/editor_manager.h"
#include "app/gui/core/color.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/platform_keys.h"
#include "app/gui/core/style.h"
#include "app/gui/core/theme_manager.h"
#include "app/gui/widgets/themed_widgets.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "util/file_util.h"

Go to the source code of this file.

Classes

struct  yaze::editor::anonymous_namespace{dashboard_panel.cc}::FlowLayout
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{dashboard_panel.cc}
 

Functions

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)
 
ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::ScaleColor (const ImVec4 &color, float scale, float alpha)
 
ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::ScaleColor (const ImVec4 &color, float scale)
 
ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::WithAlpha (ImVec4 color, float alpha)
 
ImVec4 yaze::editor::anonymous_namespace{dashboard_panel.cc}::GetEditorAccentColor (EditorType type, const gui::Theme &theme)
 

Variables

constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardBaseWidth = 180.0f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardBaseHeight = 120.0f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardWidthMaxFactor = 1.35f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardHeightMaxFactor = 1.35f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardMinWidthFactor = 0.9f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardCardMinHeightFactor = 0.9f
 
constexpr int yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardMaxColumns = 5
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardRecentBaseWidth = 150.0f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardRecentBaseHeight = 35.0f
 
constexpr float yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardRecentWidthMaxFactor = 1.3f
 
constexpr int yaze::editor::anonymous_namespace{dashboard_panel.cc}::kDashboardMaxRecentColumns = 4