HoverRace
2.0
|
Describes a font used for the UI. More...
#include <UiFont.h>
Public Types | |
enum | Style { BOLD = 0x01, ITALIC = 0x02, BOLD_ITALIC = BOLD | ITALIC } |
Public Member Functions | |
UiFont (const std::string &name, double size=20.0, int style=0) | |
UiFont (double size=20.0, int style=0) | |
UiFont (const UiFont &o)=default | |
UiFont (UiFont &&o) noexcept=default | |
bool | isBold () const noexcept |
bool | isItalic () const noexcept |
UiFont & | operator= (const UiFont &o)=default |
UiFont & | operator= (UiFont &&o)=default |
void | Set (const std::string &name, double size=20.0, int style=0) |
void | Set (double size=20.0, int style=0) noexcept |
Public Attributes | |
std::string | name |
double | size |
int | style |
Describes a font used for the UI.
|
inline |
|
inline |
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
std::string HoverRace::Display::UiFont::name |
double HoverRace::Display::UiFont::size |
int HoverRace::Display::UiFont::style |