#include <ui_Dialog.hpp>
◆ Dialog()
pu::ui::Dialog::Dialog |
( |
const std::string & |
title, |
|
|
const std::string & |
content |
|
) |
| |
◆ ~Dialog()
pu::ui::Dialog::~Dialog |
( |
| ) |
|
◆ AddOption()
void pu::ui::Dialog::AddOption |
( |
const std::string & |
opt_name | ) |
|
◆ HasCancelOption()
bool pu::ui::Dialog::HasCancelOption |
( |
| ) |
|
|
inline |
◆ HasIcon()
constexpr bool pu::ui::Dialog::HasIcon |
( |
| ) |
|
|
inlineconstexpr |
◆ IsOk()
bool pu::ui::Dialog::IsOk |
( |
| ) |
|
|
inline |
◆ MakeDialogColor()
static constexpr Color pu::ui::Dialog::MakeDialogColor |
( |
const u8 |
alpha | ) |
|
|
inlinestaticconstexpr |
◆ MakeOverColor()
static constexpr Color pu::ui::Dialog::MakeOverColor |
( |
const u8 |
alpha | ) |
|
|
inlinestaticconstexpr |
◆ RemoveCancelOption()
void pu::ui::Dialog::RemoveCancelOption |
( |
| ) |
|
|
inline |
◆ SetCancelOption()
void pu::ui::Dialog::SetCancelOption |
( |
const std::string & |
opt_name | ) |
|
|
inline |
◆ SetIcon()
void pu::ui::Dialog::SetIcon |
( |
const std::string & |
icon_path | ) |
|
◆ Show()
◆ UserCancelled()
constexpr bool pu::ui::Dialog::UserCancelled |
( |
| ) |
|
|
inlineconstexpr |
◆ ContentExtraWidth
constexpr u32 pu::ui::Dialog::ContentExtraWidth = 90 |
|
staticconstexpr |
◆ ContentX
constexpr u32 pu::ui::Dialog::ContentX = 45 |
|
staticconstexpr |
◆ ContentY
constexpr u32 pu::ui::Dialog::ContentY = 140 |
|
staticconstexpr |
◆ DefaultContentColor
constexpr Color pu::ui::Dialog::DefaultContentColor = { 0x14, 0x14, 0x14, 0xFF } |
|
staticconstexpr |
◆ DefaultOptionColor
constexpr Color pu::ui::Dialog::DefaultOptionColor = { 0xA, 0xA, 0xA, 0xFF } |
|
staticconstexpr |
◆ DefaultTitleColor
constexpr Color pu::ui::Dialog::DefaultTitleColor = { 0xA, 0xA, 0xA, 0xFF } |
|
staticconstexpr |
◆ DialogBorderRadius
constexpr u32 pu::ui::Dialog::DialogBorderRadius = 35 |
|
staticconstexpr |
◆ DialogExtraBaseWidth
constexpr u32 pu::ui::Dialog::DialogExtraBaseWidth = 250 |
|
staticconstexpr |
◆ FadeAlphaIncrement
constexpr u8 pu::ui::Dialog::FadeAlphaIncrement = 25 |
|
staticconstexpr |
◆ IconExtraHeight
constexpr u32 pu::ui::Dialog::IconExtraHeight = 25 |
|
staticconstexpr |
◆ IconMargin
constexpr u32 pu::ui::Dialog::IconMargin = 30 |
|
staticconstexpr |
◆ MaxScreenFadeAlpha
constexpr u8 pu::ui::Dialog::MaxScreenFadeAlpha = 125 |
|
staticconstexpr |
◆ OptionBorderRadius
constexpr u32 pu::ui::Dialog::OptionBorderRadius = OptionHeight / 3 |
|
staticconstexpr |
◆ OptionBottomMargin
constexpr u32 pu::ui::Dialog::OptionBottomMargin = 25 |
|
staticconstexpr |
◆ OptionHeight
constexpr u32 pu::ui::Dialog::OptionHeight = 60 |
|
staticconstexpr |
◆ OptionHorizontalMargin
constexpr u32 pu::ui::Dialog::OptionHorizontalMargin = 30 |
|
staticconstexpr |
◆ OptionsBaseHorizontalMargin
constexpr u32 pu::ui::Dialog::OptionsBaseHorizontalMargin = 45 |
|
staticconstexpr |
◆ OverAlphaIncrement
constexpr u8 pu::ui::Dialog::OverAlphaIncrement = 48 |
|
staticconstexpr |
◆ SpaceBetweenContentAndOptions
constexpr u32 pu::ui::Dialog::SpaceBetweenContentAndOptions = 140 |
|
staticconstexpr |
◆ SpaceBetweenOptions
constexpr u32 pu::ui::Dialog::SpaceBetweenOptions = 20 |
|
staticconstexpr |
◆ TitleExtraWidth
constexpr u32 pu::ui::Dialog::TitleExtraWidth = 90 |
|
staticconstexpr |
◆ TitleTopMargin
constexpr u32 pu::ui::Dialog::TitleTopMargin = 20 |
|
staticconstexpr |
◆ TitleX
constexpr u32 pu::ui::Dialog::TitleX = 45 |
|
staticconstexpr |
◆ TitleY
constexpr u32 pu::ui::Dialog::TitleY = 55 |
|
staticconstexpr |
The documentation for this class was generated from the following file: