X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.hh;h=b3db60747063f3c4712d2d8d668d1d90480a6d0e;hb=74061b4e2d33d7e2101c4edda26cfc2a1294f32b;hp=54a7f06f078ba177e6291c6fab17db95b26ba6d3;hpb=8f8acc24933830d4f5784616b9b0c5896bde0b93;p=chaz%2Fopenbox diff --git a/otk/focuslabel.hh b/otk/focuslabel.hh index 54a7f06f..b3db6074 100644 --- a/otk/focuslabel.hh +++ b/otk/focuslabel.hh @@ -4,6 +4,7 @@ #include "focuswidget.hh" #include "font.hh" +#include "userstring.hh" namespace otk { @@ -14,8 +15,8 @@ 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 userstring &getText(void) const { return _text; } + void setText(const userstring &text) { _text = text; _dirty = true; } void update(void); @@ -25,7 +26,7 @@ private: //! Object used by Xft to render to the drawable XftDraw *_xftdraw; //! Text displayed in the label - std::string _text; + userstring _text; }; }