bugrepair: drag and drop
[gpiv.git] / src / preferences_interface.h
blob626b8825f258a4f0f77478a49408941a54f2b076
1 /*----------------------------------------------------------------------
3 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
4 libraries.
6 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
7 Gerber van der Graaf <gerber_graaf@users.sourceforge.net>
9 This file is part of gpiv.
11 Gpiv is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
14 any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software Foundation,
23 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 ----------------------------------------------------------------------*/
28 * $Log: preferences_interface.h,v $
29 * Revision 1.2 2008-10-09 14:43:37 gerber
30 * paralellized with OMP and MPI
32 * Revision 1.1 2008-09-16 11:23:03 gerber
33 * added preferences_interface
37 #ifndef PREFERENCES_INTERFACE_H
38 #define PREFERENCES_INTERFACE_H
40 #include "gpiv_gui.h"
44 typedef struct _Pref Pref;
45 struct _Pref {
46 GtkDialog *preferences;
47 GtkWidget *action_area;
48 GtkWidget *applybutton;
49 GtkWidget *cancelbutton;
50 GtkWidget *okbutton;
51 GtkWidget *notebook;
52 GtkWidget *table1;
53 GtkWidget *frame_view;
54 GtkWidget *vbox1;
55 GtkWidget *checkbutton_gpivbuttons;
56 GtkWidget *checkbutton_tab;
57 GtkWidget *frame_io;
58 GtkWidget *vbox_io;
59 GSList *imgformat_sel_group;
60 GtkWidget *radiobutton_imgfmt_0;
61 GtkWidget *radiobutton_imgfmt_1;
62 GtkWidget *radiobutton_imgfmt_2;
63 GSList *dataformat_sel_group;
64 GtkWidget *radiobutton_datafmt_0;
65 GtkWidget *radiobutton_datafmt_1;
66 /* GtkWidget *checkbutton_hdf; */
67 GtkWidget *checkbutton_xcorr;
70 GtkWidget *checkbutton_tooltips;
71 GtkWidget *frame_processes;
72 GtkWidget *vbox2;
73 #ifdef ENABLE_CAM
74 GtkWidget *checkbutton_process_cam;
75 #endif /* ENABLE_CAM */
76 #ifdef ENABLE_TRIG
77 GtkWidget *checkbutton_process_trig;
78 #endif /* ENABLE_TRIG */
79 #ifdef ENABLE_IMGPROC
80 GtkWidget *checkbutton_process_imgproc;
81 #endif /* ENABLE_ENABLE_IMGPROC */
82 GtkWidget *checkbutton_process_piv;
83 GtkWidget *checkbutton_process_gradient;
84 GtkWidget *checkbutton_process_resstats;
85 GtkWidget *checkbutton_process_errvec;
86 GtkWidget *checkbutton_process_peaklck;
87 GtkWidget *checkbutton_process_scale;
88 GtkWidget *checkbutton_process_avg;
89 GtkWidget *checkbutton_process_subtract;
90 GtkWidget *checkbutton_process_vorstra;
91 GtkWidget *hbox1;
92 GtkWidget *label_spinner_bins;
93 GtkObject *spinbutton_bins_adj;
94 GtkWidget *spinbutton_bins;
95 #ifdef ENABLE_MPI
96 GtkWidget *hbox2;
97 GtkWidget *label_spinner_nodes;
98 GtkObject *spinbutton_nodes_adj;
99 GtkWidget *spinbutton_nodes;
100 #endif /* ENABLE_MPI */
103 GtkWidget *tab1;
104 GtkWidget *table2;
106 GtkWidget *frame_display_vecscale;
107 GtkWidget *vbox_display_vecscale;
108 GSList *vecscale_group/* = NULL */;
109 GtkWidget *radiobutton_display_vecscale1;
110 GtkWidget *radiobutton_display_vecscale2;
111 GtkWidget *radiobutton_display_vecscale3;
112 GtkWidget *radiobutton_display_vecscale4;
113 GtkWidget *radiobutton_display_vecscale5;
114 GtkWidget *radiobutton_display_vecscale6;
115 GtkWidget *radiobutton_display_vecscale7;
119 GtkWidget *frame_display_veccolor;
120 GtkWidget *vbox_display_veccolor;
121 GSList *veccolor_group/* = NULL */;
122 GtkWidget *radiobutton_display_veccolor1;
123 GtkWidget *radiobutton_display_veccolor2;
124 GtkWidget *radiobutton_display_veccolor3;
125 GtkWidget *radiobutton_display_veccolor4;
129 GtkWidget *frame_display_zoomscale;
130 GtkWidget *vbox_display_zoomscale;
131 GSList *zoomscale_group/* = NULL */;
132 GtkWidget *radiobutton_display_zoomscale0;
133 GtkWidget *radiobutton_display_zoomscale1;
134 GtkWidget *radiobutton_display_zoomscale2;
135 GtkWidget *radiobutton_display_zoomscale3;
136 GtkWidget *radiobutton_display_zoomscale4;
137 GtkWidget *radiobutton_display_zoomscale5;
138 GtkWidget *radiobutton_display_zoomscale6;
139 GtkWidget *radiobutton_display_zoomscale7;
143 GtkWidget *frame_display_backgroundcolor;
144 GtkWidget *vbox_display_backgroundcolor;
145 GSList *backgroundcolor_group/* = NULL */;
146 GtkWidget *radiobutton_display_backgroundcolor1; /* _blue */
147 GtkWidget *radiobutton_display_backgroundcolor2; /* _black */
148 GtkWidget *radiobutton_display_background_img1;
149 GtkWidget *radiobutton_display_background_img2;
152 GtkWidget *frame_display_display;
153 GtkWidget *vbox_display_display;
154 GtkWidget *checkbutton_display_display_intregs;
155 GtkWidget *checkbutton_display_display_piv;
157 GSList *scalardata_group/* = NULL */;
158 GtkWidget *frame_display_pivderived_display;
159 GtkWidget *vbox_display_pivderived_display;
160 GtkWidget *radiobutton_display_display_none;
161 GtkWidget *radiobutton_display_display_vor;
162 GtkWidget *radiobutton_display_display_sstrain;
163 GtkWidget *radiobutton_display_display_nstrain;
165 GtkWidget *frame_display_view;
166 GtkWidget *vbox_display_view;
167 GtkWidget *checkbutton_display_view_menubar;
168 GtkWidget *checkbutton_display_view_rulers;
169 GtkWidget *checkbutton_display_stretch_auto;
171 GtkWidget *tab2;
173 /* GtkWidget *fontselection; */
174 /* GtkWidget *tab3; */
176 /* GtkWidget *dialog_action_area1; */
177 /* GtkWidget *button_ok; */
178 /* GtkWidget *button_apply; */
179 /* GtkWidget *button_cancel; */
183 #endif /* PREFERENCES_INTERFACE_H */