From f896a3e7d10bc3d5cf6a9eb292159b676ef66ac5 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 3 Apr 2010 21:51:58 +0200 Subject: handle on the fly theme/font changing in custom widgets --- plugins/gtkui/drawing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/gtkui/drawing.h') diff --git a/plugins/gtkui/drawing.h b/plugins/gtkui/drawing.h index 16f2c211..40196441 100644 --- a/plugins/gtkui/drawing.h +++ b/plugins/gtkui/drawing.h @@ -59,6 +59,9 @@ draw_rect (float x, float y, float w, float h, int fill); float draw_get_font_size (void); +void +draw_init_font (GtkStyle *style); + void draw_text (float x, float y, int width, int align, const char *text); -- cgit v1.2.3