Some documenting thingies.
[irreco.git] / irreco / trunk / src / core / irreco_background_dlg.h
blob716cf3703c214aa86013521b9770aa9c53dd2358
1 /*
2 * irreco - Ir Remote Control
3 * Copyright (C) 2007 Arto Karppinen (arto.karppinen@iki.fi)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
22 /* Typedef */
23 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
25 * Make sure that typedefs are available before we include anything elese.
27 * This makes sure that whatever other structures that depend on structures
28 * defined in this file will compile OK recardles of header inclusion order.
30 #ifndef __IRRECO_BACKGROUND_DLG_H_TYPEDEF__
31 #define __IRRECO_BACKGROUND_DLG_H_TYPEDEF__
32 typedef struct _IrrecoBackgroundDlg IrrecoBackgroundDlg;
33 #endif /* __IRRECO_BACKGROUND_DLG_H_TYPEDEF__ */
37 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
38 /* Include */
39 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
40 #ifndef __IRRECO_BACKGROUND_DLG_H__
41 #define __IRRECO_BACKGROUND_DLG_H__
42 #include "irreco.h"
43 #include "irreco_button.h"
44 #include "irreco_bg_browser_widget.h"
48 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
49 /* Datatypes */
50 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
51 struct _IrrecoBackgroundDlg {
52 GtkWidget *dialog;
53 GtkWidget *preview;
54 GtkWidget *color_button;
55 GtkWidget *radio_default;
56 GtkWidget *radio_color;
57 GtkWidget *radio_image;
58 GtkWidget *notebook;
59 IrrecoBgBrowserWidget *theme_bg_browser;
61 IrrecoButtonLayoutBgType type;
62 GString *filename;
67 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
68 /* Macro */
69 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
73 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
74 /* Prototypes */
75 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
76 IrrecoBackgroundDlg *irreco_background_dlg_create(IrrecoData *irreco_data,
77 GtkWindow *parent_window);
78 void irreco_background_dlg_destroy(IrrecoBackgroundDlg * background_dlg);
79 gboolean irreco_background_dlg_run(IrrecoBackgroundDlg * background_dlg,
80 IrrecoButtonLayout * irreco_layout);
83 #endif /* __IRRECO_BACKGROUND_DLG_H__ */