#include "rendertexture.hh"
#include "rendercolor.hh"
#include "font.hh"
+#include "ustring.hh"
-#include <string>
#include <list>
namespace otk {
static void registerNotify(int screen, StyleNotify *n);
static void unregisterNotify(int screen, StyleNotify *n);
static RenderStyle *style(int screen);
+ static bool setStyle(int screen, const ustring &stylefile);
enum Justify {
LeftTopJustify,
};
private:
+ static bool loadStyle(RenderStyle *s, int screen, const ustring &stylefile);
+ static void defaultStyle(RenderStyle *s, int screen);
+
int _screen;
- std::string _file;
+ ustring _file;
RenderColor *_root_color;
int _bevel_width;
public:
- RenderStyle(int screen, const std::string &stylefile);
virtual ~RenderStyle();
inline int screen() const { return _screen; }