From 43d0f79057c1c4dfa1999db8fd6d9f48e5b47951 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 4 Mar 2007 07:12:34 +0000 Subject: fonts are no longer loaded from the theme file. instead, they are created by the application and passed in while creating/loading a theme --- render/theme.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'render/theme.h') diff --git a/render/theme.h b/render/theme.h index 5190e07d..22bf7e10 100644 --- a/render/theme.h +++ b/render/theme.h @@ -187,7 +187,11 @@ struct _RrTheme { }; -RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme); +/*! The font values are all optional. If a NULL is used for any of them, then + the default font will be used. */ +RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme, + RrFont *active_window_font, RrFont *inactive_window_font, + RrFont *menu_title_font, RrFont *menu_item_font); void RrThemeFree(RrTheme *theme); G_END_DECLS -- cgit v1.2.3