Implement UI for icon and cursor themes.
[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 char* widget_theme;
45 char* icon_theme;
46 char* cursor_theme;
47 char* color_scheme;
48 char* icon_sizes;
49 int toolbar_style;
50 int toolbar_size;
51 gboolean changed;
52 gboolean use_lxsession;
53 };
54
55 extern LXAppearance app;
56
57 void lxappearance_changed();
58
59 #endif