#include <ustylemanager.hpp>
Inheritance diagram for ufo::UStyleManager:
Public Member Functions | |
UStyleManager (UStyle *style, std::map< std::string, UStyleHints * > hints) | |
virtual | ~UStyleManager () |
UStyle * | getStyle () |
void | setStyle (UStyle *style) |
UPalette | getPalette () |
void | setPalette (const UPalette &palette) |
UFont | getFont () |
void | setFont (const UFont &font) |
void | loadStyleSheet (const std::string &fileName) |
void | putStyleHints (const std::string &classid, UStyleHints *styleHints) |
void | putStyleHints (const std::string &type, const std::string &classId, const std::string &name, UStyleHints *styleHints) |
UStyleHints * | getStyleHints (const std::string &type, const std::string &classId="", const std::string &name="") |
std::map< std::string, UStyleHints * > & | getStyleHints () |
|
Deletes all style hints objects created by this style manager. |
|
|
|
|
|
|
|
|
|
Loads a CSS style sheet file. |
|
Puts a copy of the given style hints in the cache. |
|
Sets the default font which is used if no other font is specified in the style hint object. |
|
Sets the default palette which is used if no other palette is specified in the style hint object. |
|
Sets the style object used for painting. |