yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
editor_selection_dialog.cc File Reference
#include "app/editor/ui/editor_selection_dialog.h"
#include <algorithm>
#include <cfloat>
#include <fstream>
#include <sstream>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.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 "imgui/imgui.h"
#include "util/file_util.h"

Go to the source code of this file.

Classes

struct  yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::GridLayout
 

Namespaces

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

Functions

float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::GetEditorSelectScale ()
 
GridLayout yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::ComputeGridLayout (float avail_width, float min_width, float max_width, float min_height, float max_height, float preferred_width, float aspect_ratio, float spacing)
 
ImVec4 yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::ScaleColor (const ImVec4 &color, float scale, float alpha)
 
ImVec4 yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::ScaleColor (const ImVec4 &color, float scale)
 
ImVec4 yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::WithAlpha (ImVec4 color, float alpha)
 
ImVec4 yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::GetEditorAccentColor (EditorType type, const gui::Theme &theme)
 

Variables

constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectBaseFontSize = 16.0f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectCardBaseWidth = 180.0f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectCardBaseHeight = 120.0f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectCardWidthMaxFactor = 1.35f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectCardHeightMaxFactor = 1.35f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectRecentBaseWidth = 150.0f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectRecentBaseHeight = 35.0f
 
constexpr float yaze::editor::anonymous_namespace{editor_selection_dialog.cc}::kEditorSelectRecentWidthMaxFactor = 1.3f