Rocket::Core::StyleSheetFactory Class Reference
#include <StyleSheetFactory.h>
Detailed Description
Creates stylesheets on the fly as needed. The factory keeps a cache of built sheets for optimisation.
- Author:
- Lloyd Weehuizen
Member Function Documentation
| StyleSheet * Rocket::Core::StyleSheetFactory::GetStyleSheet |
( |
const String & |
sheet |
) |
[static] |
Gets the named sheet, retrieving it from the cache if its already been loaded
- Parameters:
-
| sheet | name of sheet to load |
| StyleSheet * Rocket::Core::StyleSheetFactory::GetStyleSheet |
( |
const StringList & |
sheets |
) |
[static] |
Builds and returns a stylesheet based on the list of input sheets Generated sheets will be cached for later use
- Parameters:
-
| sheets | List of sheets to combine into one |
Returns one of the available node selectors.
- Parameters:
-
| name[in] | The name of the desired selector. |
- Returns:
- The selector registered with the given name, or NULL if none exists.
The documentation for this class was generated from the following files: