summaryrefslogtreecommitdiff
path: root/otk/label.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-03 08:54:51 +0000
committerDana Jansens <danakj@orodu.net>2002-12-03 08:54:51 +0000
commitc6f228f3ff9ab7087669366a23d2ae61d8e5b9b9 (patch)
treebbf89e7eaa23d8986efe071ad41d4433301ff7da /otk/label.hh
parentf77502100a32a6f875f33ef2ab01802f1cbc7c69 (diff)
xft2 works. and works good.
Diffstat (limited to 'otk/label.hh')
-rw-r--r--otk/label.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/otk/label.hh b/otk/label.hh
index 7cfa23bf..c959a2fa 100644
--- a/otk/label.hh
+++ b/otk/label.hh
@@ -2,6 +2,7 @@
#define __label_hh
#include "widget.hh"
+#include "font.hh"
namespace otk {
@@ -18,7 +19,9 @@ public:
void update(void);
private:
-
+ //! Object used by Xft to render to the drawable
+ XftDraw *_xftdraw;
+ //! Text displayed in the label
std::string _text;
};