#include <extras_Toast.hpp>
◆ Toast()
pu::ui::extras::Toast::Toast |
( |
elm::TextBlock::Ref & | text_block, |
|
|
const Color | bg_clr ) |
◆ OnPostRender()
void pu::ui::extras::Toast::OnPostRender |
( |
render::Renderer::Ref & | drawer | ) |
|
|
overridevirtual |
◆ OnPreRender()
void pu::ui::extras::Toast::OnPreRender |
( |
render::Renderer::Ref & | drawer | ) |
|
|
overridevirtual |
◆ SetText()
void pu::ui::extras::Toast::SetText |
( |
const std::string & | text | ) |
|
◆ DefaulBaseAlpha
u8 pu::ui::extras::Toast::DefaulBaseAlpha = 200 |
|
staticconstexpr |
◆ DefaulHeightAndTextHeightFactor
i32 pu::ui::extras::Toast::DefaulHeightAndTextHeightFactor = 3 |
|
staticconstexpr |
◆ DefaulHorizontalMargin
i32 pu::ui::extras::Toast::DefaulHorizontalMargin = 50 |
|
staticconstexpr |
◆ DefaultY
i32 pu::ui::extras::Toast::DefaultY = 550 |
|
staticconstexpr |
The documentation for this class was generated from the following file: