IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
A StyleSet is a collection of styles and in its entirety defines a skin. More...
Private Member Functions | |
GUI_font * | GetFont (GUI_FONT fontid=GUI_SMALL_DEFAULT_FONT) |
GUI_ElementStyle * | GetStyle (GUI_STYLE styleId=STYLE_DEFAULT) |
void | AddFont (GUI_font *font, GUI_FONT fontid) |
Adds a new font to the StyleSet. More... | |
void | AddStyle (GUI_ElementStyle *style, GUI_STYLE styleid) |
Adds a new style to the StyleSet. More... | |
Private Attributes | |
map< GUI_FONT, GUI_font * > | fonts |
maps identifiers to their respective fonts | |
map< GUI_STYLE, GUI_ElementStyle * > | styles |
maps identifiers to their respective styles | |
Friends | |
class | FontsAndStyles |
A StyleSet is a collection of styles and in its entirety defines a skin.
Adds a new font to the StyleSet.
font | Pointer to the already created font |
fontid | Identifier font should be associated with |
|
private |
Adds a new style to the StyleSet.
style | Pointer to the already created style |
styleid | Identifier this style should be associated with |
|
private |
fontid | The identifier of the desired font |
|
private |
styleId | The identifier of the desired style |