]>
Dogcows Code - chaz/openbox/blob - otk/label.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
9 class Label
: public Widget
{
13 Label(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(void);
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 to be displayed in the label
31 //! The actual text being shown, may be a subset of _text
33 //! The drawing offset for the text
This page took 0.036041 seconds and 4 git commands to generate.