yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::anonymous_namespace{welcome_screen.cc} Namespace Reference

Functions

void UpdateWelcomeAccentPalette ()
 
ImVec4 SectionHeadingColor ()
 
void DrawAccentRule (ImDrawList *draw_list)
 
std::string EllipsizeText (const std::string &text, float max_width)
 
void DrawTriforceBackground (ImDrawList *draw_list, ImVec2 pos, float size, float alpha, float glow)
 

Variables

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

Function Documentation

◆ UpdateWelcomeAccentPalette()

void yaze::editor::anonymous_namespace{welcome_screen.cc}::UpdateWelcomeAccentPalette ( )

◆ SectionHeadingColor()

ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::SectionHeadingColor ( )

Definition at line 108 of file welcome_screen.cc.

References kTriforceGold, and SectionHeadingColor().

Referenced by DrawAccentRule(), and SectionHeadingColor().

Here is the call graph for this function:

◆ DrawAccentRule()

void yaze::editor::anonymous_namespace{welcome_screen.cc}::DrawAccentRule ( ImDrawList * draw_list)

Definition at line 113 of file welcome_screen.cc.

References DrawAccentRule(), and SectionHeadingColor().

Referenced by DrawAccentRule().

Here is the call graph for this function:

◆ EllipsizeText()

std::string yaze::editor::anonymous_namespace{welcome_screen.cc}::EllipsizeText ( const std::string & text,
float max_width )

Definition at line 125 of file welcome_screen.cc.

References EllipsizeText().

Referenced by EllipsizeText().

Here is the call graph for this function:

◆ DrawTriforceBackground()

void yaze::editor::anonymous_namespace{welcome_screen.cc}::DrawTriforceBackground ( ImDrawList * draw_list,
ImVec2 pos,
float size,
float alpha,
float glow )

Definition at line 169 of file welcome_screen.cc.

References DrawTriforceBackground(), and kTriforceGold.

Referenced by DrawTriforceBackground().

Here is the call graph for this function:

Variable Documentation

◆ kTriforceGoldFallback

const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kTriforceGoldFallback = ImVec4(1.0f, 0.843f, 0.0f, 1.0f)

Definition at line 37 of file welcome_screen.cc.

◆ kHyruleGreenFallback

const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHyruleGreenFallback = ImVec4(0.133f, 0.545f, 0.133f, 1.0f)

Definition at line 38 of file welcome_screen.cc.

◆ kMasterSwordBlueFallback

const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kMasterSwordBlueFallback = ImVec4(0.196f, 0.6f, 0.8f, 1.0f)

Definition at line 39 of file welcome_screen.cc.

◆ kHeartRedFallback

const ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHeartRedFallback = ImVec4(0.863f, 0.078f, 0.235f, 1.0f)

Definition at line 40 of file welcome_screen.cc.

◆ kRecentRowBaseHeight

constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kRecentRowBaseHeight = 52.0f
constexpr

Definition at line 44 of file welcome_screen.cc.

◆ kWelcomeSplitMinWidth

constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeSplitMinWidth = 800.0f
constexpr

Definition at line 45 of file welcome_screen.cc.

◆ kWelcomeCardMaxWidth

constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeCardMaxWidth = 960.0f
constexpr

Definition at line 46 of file welcome_screen.cc.

◆ kWelcomeCardMaxHeight

constexpr float yaze::editor::anonymous_namespace{welcome_screen.cc}::kWelcomeCardMaxHeight = 580.0f
constexpr

Definition at line 47 of file welcome_screen.cc.

◆ kTriforceGold

ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kTriforceGold = kTriforceGoldFallback

◆ kHyruleGreen

ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHyruleGreen = kHyruleGreenFallback

Definition at line 51 of file welcome_screen.cc.

Referenced by UpdateWelcomeAccentPalette().

◆ kMasterSwordBlue

ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kMasterSwordBlue = kMasterSwordBlueFallback

Definition at line 52 of file welcome_screen.cc.

Referenced by UpdateWelcomeAccentPalette().

◆ kHeartRed

ImVec4 yaze::editor::anonymous_namespace{welcome_screen.cc}::kHeartRed = kHeartRedFallback

Definition at line 53 of file welcome_screen.cc.

Referenced by UpdateWelcomeAccentPalette().