projects
/
mikachu
/
openbox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
change how the widgets' _dirty flag works so that all inheritence levels of the widge...
[mikachu/openbox.git]
/
otk
/
label.hh
1
#ifndef __label_hh
2
#define __label_hh
3
4
#include "widget.hh"
5
6
namespace otk {
7
8
class OtkLabel : public OtkWidget {
9
10
public:
11
12
OtkLabel(OtkWidget *parent);
13
~OtkLabel();
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