X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=22bf7e10b162727610405e1bb7d879dbbbd148a2;hb=d209d828a7aceea9da59da980cd57f50757f3a29;hp=64201c70762ccc33d8d7f6e64cd689f5eff08119;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index 64201c70..22bf7e10 100644 --- a/render/theme.h +++ b/render/theme.h @@ -1,6 +1,7 @@ -/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- theme.h for the Openbox window manager + Copyright (c) 2006 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -21,6 +22,8 @@ #include "render.h" +G_BEGIN_DECLS + typedef struct _RrTheme RrTheme; struct _RrTheme { @@ -184,7 +187,13 @@ 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 + #endif