summaryrefslogtreecommitdiff
path: root/otk/label.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-12 23:55:30 +0000
committerDana Jansens <danakj@orodu.net>2003-01-12 23:55:30 +0000
commitbc99e6a420c04b4607bffc90e528d9572649f95f (patch)
tree4f6fd77cc1da27aa838ebd9d7de392a38248ef8e /otk/label.hh
parent703ef4df2278adef66a65bcfc9455da41d0413e6 (diff)
remove userstring
Diffstat (limited to 'otk/label.hh')
-rw-r--r--otk/label.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/otk/label.hh b/otk/label.hh
index 94ebe0b3..0366c262 100644
--- a/otk/label.hh
+++ b/otk/label.hh
@@ -4,7 +4,6 @@
#include "widget.hh"
#include "font.hh"
-#include "userstring.hh"
namespace otk {
@@ -15,8 +14,8 @@ public:
Label(Widget *parent);
~Label();
- inline const userstring &getText(void) const { return _text; }
- void setText(const userstring &text) { _text = text; _dirty = true; }
+ inline const std::string &getText(void) const { return _text; }
+ void setText(const std::string &text) { _text = text; _dirty = true; }
void update(void);
@@ -26,7 +25,7 @@ private:
//! Object used by Xft to render to the drawable
XftDraw *_xftdraw;
//! Text displayed in the label
- userstring _text;
+ std::string _text;
};
}