]> Dogcows Code - chaz/openbox/blob - otk/focuslabel.hh
fix indenting
[chaz/openbox] / otk / focuslabel.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __label_hh
3 #define __label_hh
4
5 #include "focuswidget.hh"
6 #include "font.hh"
7
8 namespace otk {
9
10 class FocusLabel : public FocusWidget {
11
12 public:
13
14 FocusLabel(Widget *parent);
15 ~FocusLabel();
16
17 inline const ustring &getText(void) const { return _text; }
18 void setText(const ustring &text) { _text = text; _dirty = true; }
19
20 void update(void);
21
22 virtual void setStyle(Style *style);
23
24 private:
25 //! Object used by Xft to render to the drawable
26 XftDraw *_xftdraw;
27 //! Text displayed in the label
28 ustring _text;
29 };
30
31 }
32
33 #endif
This page took 0.033531 seconds and 4 git commands to generate.