Represents a single UI button.
More...
#include <button_manager.h>
Represents a single UI button.
◆ id
◆ isHovered
| bool Button::isHovered = false |
◆ isSelected
| bool Button::isSelected = false |
◆ isVisible
| bool Button::isVisible = true |
◆ label
| std::string Button::label |
◆ onClick
| std::function<void()> Button::onClick |
◆ rect
| SDL_FRect Button::rect {} |
◆ style
◆ textRect
| SDL_FRect Button::textRect {} |
◆ textTexture
| SDL_Texture* Button::textTexture = nullptr |
The documentation for this struct was generated from the following file: