]> Dogcows Code - chaz/openbox/blob - otk/label.hh
7cfa23bf67629052bbb9ceeee5b777421453e921
[chaz/openbox] / otk / label.hh
1 #ifndef __label_hh
2 #define __label_hh
3
4 #include "widget.hh"
5
6 namespace otk {
7
8 class OtkLabel : public OtkWidget {
9
10 public:
11
12 OtkLabel(OtkWidget *parent);
13 ~OtkLabel();
14
15 inline const std::string &getText(void) const { return _text; }
16 void setText(const std::string &text) { _text = text; _dirty = true; }
17
18 void update(void);
19
20 private:
21
22 std::string _text;
23 };
24
25 }
26
27 #endif
This page took 0.032862 seconds and 3 git commands to generate.