]> Dogcows Code - chaz/openbox/blob - otk/focuslabel.hh
ea21710a4c50d0ce74409a6a2d566064356f877e
[chaz/openbox] / otk / focuslabel.hh
1 #ifndef __label_hh
2 #define __label_hh
3
4 #include "focuswidget.hh"
5
6 namespace otk {
7
8 class OtkFocusLabel : public OtkFocusWidget {
9
10 public:
11
12 OtkFocusLabel(OtkWidget *parent);
13 ~OtkFocusLabel();
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 int exposeHandler(const XExposeEvent &e);
20 int configureHandler(const XConfigureEvent &e);
21
22 private:
23
24 std::string _text;
25 bool _dirty;
26 };
27
28 }
29
30 #endif
This page took 0.032346 seconds and 4 git commands to generate.