9#ifndef ASW_MODULES_UI_BUTTON_H
10#define ASW_MODULES_UI_BUTTON_H
74 std::optional<ButtonStyle>
style;
104 bool auto_size =
true);
114 void set_text(
const std::string& t,
bool auto_size =
false);
Shared state for the UI system.
Theme theme
The current UI theme.
UI context and focus management for the ASW UI module.
std::shared_ptr< TTF_Font > Font
Alias for a shared pointer to an TTF_Font.
std::shared_ptr< SDL_Texture > Texture
Alias for a shared pointer to an SDL_Texture.
ButtonStyle button
Default button style.
Types used throughout the ASW library.