]> Dogcows Code - chaz/openbox/blobdiff - src/labelwidget.hh
almost done the ustring conversion
[chaz/openbox] / src / labelwidget.hh
index 92c35c3c56d5c93388e7616b191bc15860311f97..094cf86814845e1e091433125333888f190ca12c 100644 (file)
@@ -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);
 };
 
 }
This page took 0.022132 seconds and 4 git commands to generate.