summaryrefslogtreecommitdiff
path: root/plugingui/font.h
diff options
context:
space:
mode:
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;