| 
    TGUI
    0.8.9
    
   | 
 
Wrapper for text styles. More...
#include <TGUI/TextStyle.hpp>
Public Member Functions | |
| TextStyle () | |
| Creates the object without a text style.  More... | |
| TextStyle (unsigned int style) | |
| Creates the object from one or more sf::Text::Style enum members.  More... | |
| TextStyle (const std::string &string) | |
| Creates the object from a string representing the text styles.  More... | |
| TextStyle (const char *string) | |
| Creates the object from a string representing the text styles.  More... | |
| bool | isSet () const | 
| Checks if a style was set.  More... | |
| operator unsigned int () const | |
| Converts this object into an unsigned int.  More... | |
Wrapper for text styles.
The class is used for 2 purposes:
| tgui::TextStyle::TextStyle | ( | ) | 
Creates the object without a text style.
The isSet function will return false when the object was created using this constructor.
| tgui::TextStyle::TextStyle | ( | unsigned int | style | ) | 
| tgui::TextStyle::TextStyle | ( | const std::string & | string | ) | 
Creates the object from a string representing the text styles.
| string | String to be deserialized as text styles | 
| tgui::TextStyle::TextStyle | ( | const char * | string | ) | 
| bool tgui::TextStyle::isSet | ( | ) | const | 
Checks if a style was set.
| tgui::TextStyle::operator unsigned int | ( | ) | const | 
Converts this object into an unsigned int.