]> icculus.org git repositories - mikachu/openbox.git/blob - otk/focuslabel.hh
add the config header and emacs comment to all the .cc's
[mikachu/openbox.git] / 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
20 private:
21
22   std::string _text;
23 };
24
25 }
26
27 #endif