X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.hh;h=5d5af64e7640c2e3a10edcdc3da94d2585e6afd5;hb=fabb6e8c1faa8339730cc7f56f84eb0a7e8b6c4f;hp=54a7f06f078ba177e6291c6fab17db95b26ba6d3;hpb=8f8acc24933830d4f5784616b9b0c5896bde0b93;p=chaz%2Fopenbox diff --git a/otk/focuslabel.hh b/otk/focuslabel.hh index 54a7f06f..5d5af64e 100644 --- a/otk/focuslabel.hh +++ b/otk/focuslabel.hh @@ -3,7 +3,6 @@ #define __label_hh #include "focuswidget.hh" -#include "font.hh" namespace otk { @@ -14,18 +13,16 @@ public: FocusLabel(Widget *parent); ~FocusLabel(); - inline const std::string &getText(void) const { return _text; } - void setText(const std::string &text) { _text = text; _dirty = true; } + inline const ustring &getText(void) const { return _text; } + void setText(const ustring &text) { _text = text; _dirty = true; } - void update(void); + void renderForeground(void); virtual void setStyle(Style *style); private: - //! Object used by Xft to render to the drawable - XftDraw *_xftdraw; //! Text displayed in the label - std::string _text; + ustring _text; }; }