bug repair: loading .png image, from Adrian Daerr
[gpiv.git] / src / preferences.h
blob02b5d0eb5791a02d6965ea582c9b2d9a8153a7bb
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.h,v $
29 * Revision 1.13 2008-10-09 14:43:37 gerber
30 * paralellized with OMP and MPI
32 * Revision 1.12 2007-12-19 08:42:35 gerber
33 * debugged
35 * Revision 1.11 2007-03-22 16:00:32 gerber
36 * Added image processing tabulator
38 * Revision 1.10 2007/02/05 15:17:09 gerber
39 * auto stretching, broadcast display settings to buffers from preferences
41 * Revision 1.9 2007-01-29 11:27:44 gerber
42 * added image formats png, gif, tif png, bmp, improved buffer display
44 * Revision 1.8 2006-09-18 07:27:06 gerber
45 * *** empty log message ***
47 * Revision 1.7 2006/01/31 14:28:13 gerber
48 * version 0.3.0
50 * Revision 1.5 2005/01/19 15:53:43 gerber
51 * Initiation of Data Acquisition (DAC); trigerring of lasers and camera
52 * by using RTAI and Realtime Linux, recording images from IEEE1394
53 * (Firewire) IIDC compliant camera's
55 * Revision 1.4 2004/06/14 21:19:23 gerber
56 * Image depth up to 16 bits.
57 * Improvement "single int" and "drag int" in Eval tab.
58 * Viewer's pop-up menu.
59 * Adaption for gpiv_matrix_* and gpiv_vector_*.
60 * Resizing console.
61 * See Changelog for further info.
63 * Revision 1.3 2003/08/22 15:24:53 gerber
64 * interactive spatial scaling
66 * Revision 1.2 2003/07/25 15:40:24 gerber
67 * removed/disabled setting of correlation in Eval tab, Correlation type in Image info tab
69 * Revision 1.1.1.1 2003/06/17 17:10:52 gerber
70 * Imported gpiv
74 #ifndef PREFERENCES_H
75 #define PREFERENCES_H
76 /* #ifdef HAVE_CONFIG_H */
77 /* # include <config.h> */
78 /* #endif */
80 #include "gpiv_gui.h"
82 /*------------------------------------------------------------------------
83 * widgets from preferences
86 GtkDialog *
87 create_preferences (GpivConsole *gpiv);
90 void
91 on_checkbutton_gpivbuttons_activate (GtkWidget *widget,
92 gpointer data);
94 void
95 on_checkbutton_tab_activate (GtkWidget *widget,
96 gpointer data);
98 void
99 on_radiobutton_imgfmt (GtkWidget *widget,
100 gpointer data
102 void
103 on_radiobutton_datafmt (GtkWidget *widget,
104 gpointer data
106 /* void */
107 /* on_checkbutton_hdf_activate(GtkWidget *widget, */
108 /* gpointer data); */
110 void
111 on_checkbutton_xcorr_activate (GtkWidget *widget,
112 gpointer data);
116 void
117 on_checkbutton_tooltips_activate (GtkWidget *widget,
118 gpointer data);
120 #ifdef ENABLE_CAM
121 void
122 on_checkbutton_process_cam_activate (GtkWidget *widget,
123 gpointer data);
124 #endif /* ENABLE_CAM */
126 #ifdef ENABLE_TRIG
127 void
128 on_checkbutton_process_trig_activate (GtkWidget *widget,
129 gpointer data);
130 #endif /* ENABLE_TRIG */
132 #ifdef ENABLE_IMGPROC
133 void
134 on_checkbutton_process_imgproc_activate (GtkWidget *widget,
135 gpointer data);
136 #endif /* ENABLE_IMGPROC */
138 void
139 on_checkbutton_process_piv_activate (GtkWidget *widget,
140 gpointer data);
142 void
143 on_checkbutton_process_gradient_activate (GtkWidget *widget,
144 gpointer data);
146 void
147 on_checkbutton_process_resstats_activate (GtkWidget *widget,
148 gpointer data);
150 void
151 on_checkbutton_process_errvec_activate (GtkWidget *widget,
152 gpointer data);
154 void
155 on_checkbutton_process_peaklck_activate (GtkWidget *widget,
156 gpointer data);
158 void
159 on_checkbutton_process_scale_activate (GtkWidget *widget,
160 gpointer data);
162 void
163 on_checkbutton_process_avg_activate (GtkWidget *widget,
164 gpointer data);
166 void
167 on_checkbutton_process_subtract_activate (GtkWidget *widget,
168 gpointer data);
170 void
171 on_checkbutton_process_vorstra_activate (GtkWidget *widget,
172 gpointer data);
174 void
175 on_spinbutton_bins_activate (GtkWidget *widget,
176 gpointer data);
178 #ifdef ENABLE_MPI
179 void
180 on_spinbutton_nodes (GtkSpinButton *widget,
181 GtkWidget *entry);
182 #endif /* ENABLE_MPI */
184 void
185 on_radiobutton_display_zoomscale (GtkWidget *widget,
186 gpointer data);
188 void
189 on_radiobutton_display_background (GtkWidget *widget,
190 gpointer data);
192 void
193 on_radiobutton_display_vecscale (GtkWidget *widget,
194 gpointer data);
196 void
197 on_radiobutton_display_veccolor (GtkWidget *widget,
198 gpointer data);
200 void
201 on_checkbutton_display_display_intregs (GtkWidget *widget,
202 gpointer data);
204 void
205 on_checkbutton_display_display_piv (GtkWidget *widget,
206 gpointer data);
208 void
209 on_radiobutton_display_scalar(GtkWidget *widget,
210 gpointer data
213 void
214 on_checkbutton_display_view_menubar_activate (GtkWidget *widget,
215 gpointer data);
217 void
218 on_checkbutton_display_view_rulers_activate (GtkWidget *widget,
219 gpointer data);
221 void
222 on_checkbutton_display_stretch_auto_activate (GtkWidget *widget,
223 gpointer data);
225 void
226 on_preferences_response (GtkDialog *dialog,
227 gint response,
228 gpointer data);
230 void
231 apply_gpivpar (GpivConsole * gpiv);
234 void
235 store_defaultpar (void);
237 #endif /* PREFERENCES_H */