Référence des attributs de la police. More...
#include "cogitant/display/context.h"
Public Member Functions | |
| FontStyle () | |
| Constructeur par défaut. More... | |
| FontStyle (unsigned char s) | |
| Constructeur. More... | |
| bool | has (unsigned char a) const |
| Est-ce que le style contient l'attribut a. More... | |
| bool | operator== (FontStyle const &f) const |
| Opérateur d'égalité. More... | |
| bool | operator!= (FontStyle const &f) const |
| Opérateur de différence. More... | |
Public Attributes | |
| unsigned char | m_attributes |
| Attributs du style. More... | |
Static Public Attributes | |
| static const unsigned char | NORMAL |
| Aucun attribut. More... | |
| static const unsigned char | BOLD |
| Caractères gras. More... | |
| static const unsigned char | ITALIC |
| Caractères gras. More... | |
| static const unsigned char | UNDERLINED |
| Caractères gras. More... | |
Référence des attributs de la police.
| cogitantdisplay::FontStyle::FontStyle | ( | ) |
Constructeur par défaut.
L'objet contruit repère le style par défaut (FS_NORMAL).
| cogitantdisplay::FontStyle::FontStyle | ( | unsigned char | s | ) |
Constructeur.
| bool cogitantdisplay::FontStyle::has | ( | unsigned char | a | ) | const |
Est-ce que le style contient l'attribut a.
| bool cogitantdisplay::FontStyle::operator!= | ( | FontStyle const & | f | ) | const |
Opérateur de différence.
| bool cogitantdisplay::FontStyle::operator== | ( | FontStyle const & | f | ) | const |
Opérateur d'égalité.
|
static |
Caractères gras.
1.
|
static |
Caractères gras.
2.
| unsigned char cogitantdisplay::FontStyle::m_attributes |
Attributs du style.
Combinaison des différentes constantes d'attributs.
|
static |
Aucun attribut.
0.
|
static |
Caractères gras.
4.