128952028dfc05e6f552507be734277a5a7656d9
[lxde/lxappearance.git] / src / lxappearance2.h
1 /*
2 * lxappearance2.h
3 *
4 * Copyright 2010 PCMan <pcman.tw@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22 #ifndef _LXAPPEARANCE2_H_
23 #define _LXAPPEARANCE2_H_
24
25 #include <gtk/gtk.h>
26
27 typedef struct _LXAppearance LXAppearance;
28 struct _LXAppearance
29 {
30 GtkWidget* dlg;
31 GtkWidget* notebook;
32
33 GtkWidget* widget_theme_view;
34 GtkListStore* widget_theme_store;
35
36 GtkWidget* icon_theme_view;
37 GtkListStore* icon_theme_store;
38
39 GtkWidget* cursor_theme_view;
40 GtkListStore* cursor_theme_store;
41
42 GSList* icon_themes; /* a list of IconTheme struct */
43
44 GtkWidget* tb_style_combo;
45 GtkWidget* tb_icon_size_combo;
46
47 char* widget_theme;
48 char* icon_theme;
49 char* cursor_theme;
50 char* color_scheme;
51 char* icon_sizes;
52 int toolbar_style;
53 int toolbar_icon_size;
54 gboolean changed;
55 gboolean use_lxsession;
56 };
57
58 extern LXAppearance app;
59
60 void lxappearance_changed();
61
62 #endif