X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Flabelwidget.hh;fp=src%2Flabelwidget.hh;h=094cf86814845e1e091433125333888f190ca12c;hb=ef02a0c8ae65f169157c90064a335303e964a4c1;hp=92c35c3c56d5c93388e7616b191bc15860311f97;hpb=5a90d2b671f01f29043ab82f909440de0abfa362;p=chaz%2Fopenbox diff --git a/src/labelwidget.hh b/src/labelwidget.hh index 92c35c3c..094cf868 100644 --- a/src/labelwidget.hh +++ b/src/labelwidget.hh @@ -6,6 +6,7 @@ #include "otk/widget.hh" #include "otk/font.hh" #include "otk/style.hh" +#include "otk/ustring.hh" namespace ob { @@ -17,7 +18,7 @@ private: otk::Color *_text_color; int _sidemargin; otk::Style::TextJustify _justify; - std::string _text; + otk::ustring _text; //! Object used by Xft to render to the drawable XftDraw *_xftdraw; @@ -34,8 +35,8 @@ public: virtual void update(); - inline const std::string &text() const { return _text; } - void setText(const std::string &text); + inline const otk::ustring &text() const { return _text; } + void setText(const otk::ustring &text); }; }