summaryrefslogtreecommitdiff
path: root/plugingui/font.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 17:44:20 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 17:44:20 +0100
commit4b7414b3f6869f2bdeb097e4f997498bae9f0aee (patch)
tree53e9741d7d40f1ff6f77d47fc308b18168dca330 /plugingui/font.h
parenta1fba9ba11a13f94c524f2ac78206b3fdfb3be74 (diff)
New box rendering of all widgets. Minor tweaks still missing.
Diffstat (limited to 'plugingui/font.h')
-rw-r--r--plugingui/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/font.h b/plugingui/font.h
index 848b168..32a06f2 100644
--- a/plugingui/font.h
+++ b/plugingui/font.h
@@ -30,6 +30,7 @@
#include "pixelbuffer.h"
#include "globalcontext.h"
+#include "image.h"
#include <string>
@@ -51,6 +52,8 @@ public:
PixelBufferAlpha *render(GlobalContext *gctx, std::string text);
private:
+ Image img_font;
+
GlobalContext *gctx;
std::map<char, int> character_offset;
std::map<char, size_t> character_width;