Describes storage of styles registered in application. You may access it via application getStyles().
You can find more information in comments below.
class IStyles
{
public:
virtual int getStyleCount() = 0; // Return style count
virtual IStyle *getStyle(const int index) = 0; // Return style by index
virtual IStyle *getStyle(const String &class_name) = 0; // Return style by class name
virtual IStyle *getStyle(const String &package, const String &class_name) = 0; // Return style by package name and class name
virtual bool Add(IStyle *style) = 0; // Add style to list
virtual bool Add(const String &package, IStyle *style) = 0; // Add style to list and associate package name with it
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IStyles.h |