1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
3 frame_default_config.h for the Openbox window manager
4 Copyright (c) 2006 Mikael Magnusson
5 Copyright (c) 2003-2007 Dana Jansens
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 See the COPYING file for a copy of the GNU General Public License.
19 #ifndef FRAME_CONCEPT2_CONFIG_H_
20 #define FRAME_CONCEPT2_CONFIG_H_
22 #include <X11/Xresource.h>
23 #include "render/render.h"
27 struct _ObFrameThemeConfig
29 const RrInstance *inst;
33 RrColor * focus_border_color;
34 RrColor * focus_corner_color;
35 RrColor * unfocus_border_color;
36 RrColor * unfocus_corner_color;
41 typedef struct _ObFrameThemeConfig ObFrameThemeConfig;
43 /*! The font values are all optional. If a NULL is used for any of them, then
44 the default font will be used. */
45 gint load_theme_config(const RrInstance *inst, const gchar *name,
46 const gchar * path, XrmDatabase db, RrFont *active_window_font,
47 RrFont *inactive_window_font, RrFont *menu_title_font,
48 RrFont *menu_item_font, RrFont *osd_font);
52 #endif /*FRAME_CONCEPT2_CONFIG_H_*/