From ef02a0c8ae65f169157c90064a335303e964a4c1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 05:54:40 +0000 Subject: almost done the ustring conversion --- src/labelwidget.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/labelwidget.hh') 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); }; } -- cgit v1.2.3