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_CONCEPT_CONFIG_H_
20 #define FRAME_CONCEPT_CONFIG_H_
22 #include <gdk-pixbuf/gdk-pixbuf.h>
23 #include <X11/Xresource.h>
24 #include "render/render.h"
28 struct _ObFrameThemeConfig
30 const RrInstance *inst;
33 RrColor * focus_border_color;
34 RrColor * focus_corner_color;
35 RrColor * unfocus_border_color;
36 RrColor * unfocus_corner_color;
38 GdkPixbuf * focus_top;
39 GdkPixbuf * focus_left;
40 GdkPixbuf * focus_right;
41 GdkPixbuf * focus_bottom;
43 GdkPixbuf * focus_topleft;
44 GdkPixbuf * focus_bottomleft;
45 GdkPixbuf * focus_topright;
46 GdkPixbuf * focus_bottomright;
48 GdkPixbuf * unfocus_top;
49 GdkPixbuf * unfocus_left;
50 GdkPixbuf * unfocus_right;
51 GdkPixbuf * unfocus_bottom;
53 GdkPixbuf * unfocus_topleft;
54 GdkPixbuf * unfocus_bottomleft;
55 GdkPixbuf * unfocus_topright;
56 GdkPixbuf * unfocus_bottomright;
60 Pixmap px_focus_right;
61 Pixmap px_focus_bottom;
63 Pixmap px_focus_topleft;
64 Pixmap px_focus_bottomleft;
65 Pixmap px_focus_topright;
66 Pixmap px_focus_bottomright;
68 Pixmap px_unfocus_top;
69 Pixmap px_unfocus_left;
70 Pixmap px_unfocus_right;
71 Pixmap px_unfocus_bottom;
73 Pixmap px_unfocus_topleft;
74 Pixmap px_unfocus_bottomleft;
75 Pixmap px_unfocus_topright;
76 Pixmap px_unfocus_bottomright;
81 typedef struct _ObFrameThemeConfig ObFrameThemeConfig;
83 /*! The font values are all optional. If a NULL is used for any of them, then
84 the default font will be used. */
85 gint load_theme_config(const RrInstance *inst, const gchar *name,
86 const gchar * path, XrmDatabase db, RrFont *active_window_font,
87 RrFont *inactive_window_font, RrFont *menu_title_font,
88 RrFont *menu_item_font, RrFont *osd_font);
92 #endif /*FRAME_CONCEPT_CONFIG_H_*/