|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
A short message shown at the top of the screen, see Root::toast. More...
#include <root.h>
Public Attributes | |
| std::string | text |
| The message. | |
| asw::Texture | icon { } |
| Picture before the text, e.g. an achievement icon. Optional. | |
| float | seconds = 0.0F |
| How long it stays, the theme toast seconds when 0. | |
| std::optional< asw::Color > | color { } |
| Text colour, the theme toast text colour when empty. | |
A short message shown at the top of the screen, see Root::toast.
| std::optional<asw::Color> asw::ui::Toast::color { } |
| asw::Texture asw::ui::Toast::icon { } |
| float asw::ui::Toast::seconds = 0.0F |