diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 05:54:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 05:54:40 +0000 |
| commit | ef02a0c8ae65f169157c90064a335303e964a4c1 (patch) | |
| tree | f1a1bf6cfe05ee11545bfa811f5a2582e1906dce /src/labelwidget.hh | |
| parent | 5a90d2b671f01f29043ab82f909440de0abfa362 (diff) | |
almost done the ustring conversion
Diffstat (limited to 'src/labelwidget.hh')
| -rw-r--r-- | src/labelwidget.hh | 7 |
1 files changed, 4 insertions, 3 deletions
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); }; } |
