summaryrefslogtreecommitdiff
path: root/plugingui/font.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-08 14:56:19 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-08 14:56:19 +0200
commit895c942289c81ca24346d3bb18d2b922ae469554 (patch)
tree58a5ad2ae9ad311bfa59daaa8114a83b5277c3c5 /plugingui/font.cc
parent8cacd4e097bb969fe6de20d88e98763deef658e6 (diff)
Remove GlobalContext class. Move all native code from EventHandler class to NativeWindowX11 and NativeWindowWin32 classes.
Diffstat (limited to 'plugingui/font.cc')
-rw-r--r--plugingui/font.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/font.cc b/plugingui/font.cc
index f9c8135..828286c 100644
--- a/plugingui/font.cc
+++ b/plugingui/font.cc
@@ -93,7 +93,7 @@ size_t GUI::Font::textHeight(std::string text)
return img_font.height();
}
-GUI::PixelBufferAlpha *GUI::Font::render(GlobalContext *gctx, std::string text)
+GUI::PixelBufferAlpha *GUI::Font::render(std::string text)
{
int border = 1;
PixelBufferAlpha *pb =