summaryrefslogtreecommitdiff
path: root/render/theme.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-04 07:12:34 +0000
committerDana Jansens <danakj@orodu.net>2007-03-04 07:12:34 +0000
commit43d0f79057c1c4dfa1999db8fd6d9f48e5b47951 (patch)
tree13eb74852b3c8ee64a1f545eb881fa94c3e85f4b /render/theme.h
parentaeda86f46056a10126f85ad43fb51a92075bcefd (diff)
fonts are no longer loaded from the theme file. instead, they are created by the application and passed in while creating/loading a theme
Diffstat (limited to 'render/theme.h')
-rw-r--r--render/theme.h6
1 files changed, 5 insertions, 1 deletions
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