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