yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
welcome_screen.cc File Reference
#include "app/editor/shell/coordinator/welcome_screen.h"
#include "util/i18n/tr.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <string>
#include "absl/strings/str_format.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "app/editor/system/session/user_settings.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/input.h"
#include "app/gui/core/style_guard.h"
#include "app/gui/core/theme_manager.h"
#include "app/gui/core/ui_helpers.h"
#include "app/gui/widgets/themed_widgets.h"
#include "app/platform/timing.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "util/file_util.h"

Go to the source code of this file.

Namespaces

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

Macros

#define IMGUI_DEFINE_MATH_OPERATORS
 
#define M_PI   3.14159265358979323846
 

Functions

void yaze::editor::anonymous_namespace{welcome_screen.cc}::UpdateWelcomeAccentPalette ()
 
ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::SectionHeadingColor ()
 
void yaze::editor::anonymous_namespace{welcome_screen.cc}::DrawAccentRule (ImDrawList *draw_list)
 
std::string yaze::editor::anonymous_namespace{welcome_screen.cc}::EllipsizeText (const std::string &text, float max_width)
 
void yaze::editor::anonymous_namespace{welcome_screen.cc}::DrawTriforceBackground (ImDrawList *draw_list, ImVec2 pos, float size, float alpha, float glow)
 
float yaze::editor::GetStaggeredEntryProgress (float entry_time, int section_index, float duration, float stagger_delay)
 

Variables

const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kTriforceGoldFallback = ImVec4(1.0f, 0.843f, 0.0f, 1.0f)
 
const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHyruleGreenFallback = ImVec4(0.133f, 0.545f, 0.133f, 1.0f)
 
const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kMasterSwordBlueFallback = ImVec4(0.196f, 0.6f, 0.8f, 1.0f)
 
const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHeartRedFallback = ImVec4(0.863f, 0.078f, 0.235f, 1.0f)
 
constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kRecentRowBaseHeight = 52.0f
 
constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeSplitMinWidth = 800.0f
 
constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeCardMaxWidth = 960.0f
 
constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeCardMaxHeight = 580.0f
 
ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kTriforceGold = kTriforceGoldFallback
 
ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHyruleGreen = kHyruleGreenFallback
 
ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kMasterSwordBlue = kMasterSwordBlueFallback
 
ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHeartRed = kHeartRedFallback
 

Macro Definition Documentation

◆ IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS

Definition at line 1 of file welcome_screen.cc.

◆ M_PI