]>
Dogcows Code - chaz/openbox/blob - otk/focuslabel.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __focuslabel_hh
3 #define __focuslabel_hh
5 #include "focuswidget.hh"
9 class FocusLabel
: public FocusWidget
{
13 FocusLabel(Widget
*parent
);
16 inline const ustring
&getText(void) const { return _text
; }
17 void setText(const ustring
&text
) { _text
= text
; _dirty
= true; }
19 virtual void renderForeground();
21 virtual void update();
23 void fitString(const std::string
&str
);
24 void fitSize(int w
, int h
);
26 virtual void setStyle(RenderStyle
*style
);
29 //! Text displayed in the label
35 #endif // __focuslabel_hh
This page took 0.034543 seconds and 4 git commands to generate.