GnuCash  5.6-150-g038405b370+
gnc-flicker-gui.h
Go to the documentation of this file.
1 /*
2  * gnc-flicker-gui.h
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, contact:
16  *
17  * Free Software Foundation Voice: +1-617-542-5942
18  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
19  * Boston, MA 02110-1301, USA gnu@gnu.org
20  */
21 
32 #ifndef GNC_FLICKER_GUI_H
33 #define GNC_FLICKER_GUI_H
34 
35 #include <gtk/gtk.h>
36 
37 G_BEGIN_DECLS
38 
39 // structured data for the GUI
40 typedef struct
41 {
42  GtkWidget *dialog;
43  GtkWidget *input_entry;
44  GtkWidget *flicker_challenge;
45  GtkWidget *flicker_marker;
46  GtkWidget *flicker_hbox;
47  GtkAdjustment *adj_barwidth;
48  GtkAdjustment *adj_delay;
49  GtkSpinButton *spin_barwidth;
50  GtkSpinButton *spin_delay;
52 
59 void ini_flicker_gui (const char *pChallenge, GncFlickerGui *gui);
60 
61 G_END_DECLS
62 
63 #endif /* GNC_FLICKER_GUI_H */
void ini_flicker_gui(const char *pChallenge, GncFlickerGui *gui)
Initialize the dialog and drawing area.