#include <ui_Application.hpp>
◆ DialogPrepareCallback
◆ OnInputCallback
◆ RenderCallback
◆ RenderOverFunction
◆ Application()
pu::ui::Application::Application |
( |
render::Renderer::Ref | renderer | ) |
|
◆ ~Application()
virtual pu::ui::Application::~Application |
( |
| ) |
|
|
virtual |
◆ AddRenderCallback()
void pu::ui::Application::AddRenderCallback |
( |
RenderCallback | render_cb | ) |
|
|
inline |
◆ CallForRender()
bool pu::ui::Application::CallForRender |
( |
| ) |
|
◆ CallForRenderWithRenderOver()
bool pu::ui::Application::CallForRenderWithRenderOver |
( |
RenderOverFunction | render_over_fn | ) |
|
◆ CanBeShown()
bool pu::ui::Application::CanBeShown |
( |
| ) |
|
|
inline |
◆ Close()
void pu::ui::Application::Close |
( |
const bool | do_exit = false | ) |
|
◆ CloseWithFadeOut()
void pu::ui::Application::CloseWithFadeOut |
( |
const bool | do_exit = false | ) |
|
|
inline |
◆ CreateShowDialog()
i32 pu::ui::Application::CreateShowDialog |
( |
const std::string & | title, |
|
|
const std::string & | content, |
|
|
const std::vector< std::string > & | opts, |
|
|
const bool | use_last_opt_as_cancel, |
|
|
sdl2::TextureHandle::Ref | icon = {}, |
|
|
DialogPrepareCallback | prepare_cb = nullptr ) |
◆ EndOverlay()
void pu::ui::Application::EndOverlay |
( |
| ) |
|
◆ FadeIn()
void pu::ui::Application::FadeIn |
( |
| ) |
|
◆ FadeOut()
void pu::ui::Application::FadeOut |
( |
| ) |
|
◆ GetButtonsDown()
u64 pu::ui::Application::GetButtonsDown |
( |
| ) |
|
|
inline |
◆ GetButtonsHeld()
u64 pu::ui::Application::GetButtonsHeld |
( |
| ) |
|
|
inline |
◆ GetButtonsUp()
u64 pu::ui::Application::GetButtonsUp |
( |
| ) |
|
|
inline |
◆ GetFadeBackgroundImageTexture()
sdl2::TextureHandle::Ref & pu::ui::Application::GetFadeBackgroundImageTexture |
( |
| ) |
|
|
inline |
◆ GetLayout()
template<typename L >
std::shared_ptr< L > pu::ui::Application::GetLayout |
( |
| ) |
|
|
inline |
◆ GetTouchState()
HidTouchScreenState pu::ui::Application::GetTouchState |
( |
| ) |
|
|
inline |
◆ HasFadeBackgroundImage()
bool pu::ui::Application::HasFadeBackgroundImage |
( |
| ) |
|
|
inline |
◆ IsFadedIn()
bool pu::ui::Application::IsFadedIn |
( |
| ) |
|
|
inline |
◆ IsShown()
bool pu::ui::Application::IsShown |
( |
| ) |
|
|
inline |
◆ LoadLayout()
void pu::ui::Application::LoadLayout |
( |
Layout::Ref | lyt | ) |
|
|
inline |
◆ LockRender()
void pu::ui::Application::LockRender |
( |
| ) |
|
|
inline |
◆ OnLoad()
virtual void pu::ui::Application::OnLoad |
( |
| ) |
|
|
pure virtual |
◆ OnRender()
void pu::ui::Application::OnRender |
( |
| ) |
|
◆ Prepare()
void pu::ui::Application::Prepare |
( |
| ) |
|
◆ ResetFadeBackgroundImage()
void pu::ui::Application::ResetFadeBackgroundImage |
( |
| ) |
|
◆ SetFadeAlphaIncrementStepCount()
void pu::ui::Application::SetFadeAlphaIncrementStepCount |
( |
const u8 | fade_alpha_increment_steps | ) |
|
|
inline |
◆ SetFadeBackgroundColor()
void pu::ui::Application::SetFadeBackgroundColor |
( |
const Color | clr | ) |
|
◆ SetFadeBackgroundImage()
void pu::ui::Application::SetFadeBackgroundImage |
( |
sdl2::TextureHandle::Ref | bg_tex | ) |
|
◆ SetOnInput()
◆ Show()
void pu::ui::Application::Show |
( |
| ) |
|
◆ ShowDialog()
i32 pu::ui::Application::ShowDialog |
( |
Dialog::Ref & | dialog | ) |
|
|
inline |
◆ ShowWithFadeIn()
void pu::ui::Application::ShowWithFadeIn |
( |
| ) |
|
|
inline |
◆ StartOverlay()
void pu::ui::Application::StartOverlay |
( |
Overlay::Ref | ovl | ) |
|
|
inline |
◆ StartOverlayWithTimeout()
void pu::ui::Application::StartOverlayWithTimeout |
( |
Overlay::Ref | ovl, |
|
|
const u64 | ms ) |
◆ UnlockRender()
void pu::ui::Application::UnlockRender |
( |
| ) |
|
|
inline |
◆ DefaultFadeAlphaIncrementSteps
u8 pu::ui::Application::DefaultFadeAlphaIncrementSteps = 20 |
|
staticconstexpr |
◆ fade_alpha
i32 pu::ui::Application::fade_alpha |
|
protected |
◆ fade_alpha_incr
◆ fade_alpha_increment_steps
u8 pu::ui::Application::fade_alpha_increment_steps |
|
protected |
◆ fade_bg_clr
Color pu::ui::Application::fade_bg_clr |
|
protected |
◆ fade_bg_tex
sdl2::TextureHandle::Ref pu::ui::Application::fade_bg_tex |
|
protected |
◆ in_render_over
bool pu::ui::Application::in_render_over |
|
protected |
◆ is_shown
bool pu::ui::Application::is_shown |
|
protected |
◆ loaded
bool pu::ui::Application::loaded |
|
protected |
◆ lyt
Layout::Ref pu::ui::Application::lyt |
|
protected |
◆ on_ipt_cb
◆ ovl
Overlay::Ref pu::ui::Application::ovl |
|
protected |
◆ ovl_start_time
std::chrono::steady_clock::time_point pu::ui::Application::ovl_start_time |
|
protected |
◆ ovl_timeout_ms
u64 pu::ui::Application::ovl_timeout_ms |
|
protected |
◆ render_cbs
◆ render_lock
RMutex pu::ui::Application::render_lock |
|
protected |
◆ render_over_fn
◆ renderer
render::Renderer::Ref pu::ui::Application::renderer |
|
protected |
The documentation for this class was generated from the following file: