X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=22bf7e10b162727610405e1bb7d879dbbbd148a2;hb=7744067b6b50124c31f647e2943ef1fce9fdec96;hp=651f09e7141ef0ecd9c4acbd99e58f6fda964129;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index 651f09e7..22bf7e10 100644 --- a/render/theme.h +++ b/render/theme.h @@ -1,6 +1,7 @@ /* -*- 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