diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-04 07:12:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-04 07:12:34 +0000 |
| commit | 43d0f79057c1c4dfa1999db8fd6d9f48e5b47951 (patch) | |
| tree | 13eb74852b3c8ee64a1f545eb881fa94c3e85f4b /render/theme.h | |
| parent | aeda86f46056a10126f85ad43fb51a92075bcefd (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.h | 6 |
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 |
