|
Smolgui
Immediate gui library based on SFML
|
Store text options : boxSize, centered, type, etc. More...
#include <Options.h>
Public Member Functions | |
| TextOptions ()=default | |
| TextOptions (const VerticalAlignment alignment) | |
| TextOptions (const HorizontalAlignment alignment) | |
| TextOptions (const sf::Vector2f &size) | |
Public Attributes | |
| VerticalAlignment | vertical = VerticalAlignment::None |
| vertical alignment | |
| HorizontalAlignment | horizontal = HorizontalAlignment::None |
| horizontal alignment | |
| TextType | type = TextType::Normal |
| type of text | |
| sf::Vector2f | boxSize = {} |
| box that contains text, no box = no limit | |
Store text options : boxSize, centered, type, etc.
|
default |
|
inline |
|
inline |
|
inline |
| sf::Vector2f sgui::TextOptions::boxSize = {} |
box that contains text, no box = no limit
| HorizontalAlignment sgui::TextOptions::horizontal = HorizontalAlignment::None |
horizontal alignment
| TextType sgui::TextOptions::type = TextType::Normal |
type of text
| VerticalAlignment sgui::TextOptions::vertical = VerticalAlignment::None |
vertical alignment