1 /*----------------------------------------------------------------------
3 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
6 Copyright (C) 2002 Gerber van der Graaf
8 This file is part of gpiv.
10 Gpiv is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software Foundation,
22 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 ----------------------------------------------------------------------*/
27 * $Log: preferences.h,v $
28 * Revision 1.12 2007-12-19 08:42:35 gerber
31 * Revision 1.11 2007-03-22 16:00:32 gerber
32 * Added image processing tabulator
34 * Revision 1.10 2007/02/05 15:17:09 gerber
35 * auto stretching, broadcast display settings to buffers from preferences
37 * Revision 1.9 2007-01-29 11:27:44 gerber
38 * added image formats png, gif, tif png, bmp, improved buffer display
40 * Revision 1.8 2006-09-18 07:27:06 gerber
41 * *** empty log message ***
43 * Revision 1.7 2006/01/31 14:28:13 gerber
46 * Revision 1.5 2005/01/19 15:53:43 gerber
47 * Initiation of Data Acquisition (DAC); trigerring of lasers and camera
48 * by using RTAI and Realtime Linux, recording images from IEEE1394
49 * (Firewire) IIDC compliant camera's
51 * Revision 1.4 2004/06/14 21:19:23 gerber
52 * Image depth up to 16 bits.
53 * Improvement "single int" and "drag int" in Eval tab.
54 * Viewer's pop-up menu.
55 * Adaption for gpiv_matrix_* and gpiv_vector_*.
57 * See Changelog for further info.
59 * Revision 1.3 2003/08/22 15:24:53 gerber
60 * interactive spatial scaling
62 * Revision 1.2 2003/07/25 15:40:24 gerber
63 * removed/disabled setting of correlation in Eval tab, Correlation type in Image info tab
65 * Revision 1.1.1.1 2003/06/17 17:10:52 gerber
72 /* #ifdef HAVE_CONFIG_H */
73 /* # include <config.h> */
78 /*------------------------------------------------------------------------
79 * widgets from preferences
83 create_preferences (GpivConsole
*gpiv
);
87 on_checkbutton_gpivbuttons_activate (GtkWidget
*widget
,
91 on_checkbutton_tab_activate (GtkWidget
*widget
,
95 on_radiobutton_imgfmt (GtkWidget
*widget
,
99 on_radiobutton_datafmt (GtkWidget
*widget
,
103 /* on_checkbutton_hdf_activate(GtkWidget *widget, */
104 /* gpointer data); */
107 on_checkbutton_xcorr_activate (GtkWidget
*widget
,
113 on_checkbutton_tooltips_activate (GtkWidget
*widget
,
118 on_checkbutton_process_cam_activate (GtkWidget
*widget
,
120 #endif /* ENABLE_CAM */
124 on_checkbutton_process_trig_activate (GtkWidget
*widget
,
126 #endif /* ENABLE_TRIG */
128 #ifdef ENABLE_IMGPROC
130 on_checkbutton_process_imgproc_activate (GtkWidget
*widget
,
132 #endif /* ENABLE_IMGPROC */
135 on_checkbutton_process_piv_activate (GtkWidget
*widget
,
139 on_checkbutton_process_gradient_activate (GtkWidget
*widget
,
143 on_checkbutton_process_resstats_activate (GtkWidget
*widget
,
147 on_checkbutton_process_errvec_activate (GtkWidget
*widget
,
151 on_checkbutton_process_peaklck_activate (GtkWidget
*widget
,
155 on_checkbutton_process_scale_activate (GtkWidget
*widget
,
159 on_checkbutton_process_avg_activate (GtkWidget
*widget
,
163 on_checkbutton_process_subtract_activate (GtkWidget
*widget
,
167 on_checkbutton_process_vorstra_activate (GtkWidget
*widget
,
171 on_spinbutton_bins_activate (GtkWidget
*widget
,
177 on_radiobutton_display_zoomscale (GtkWidget
*widget
,
181 on_radiobutton_display_background (GtkWidget
*widget
,
185 on_radiobutton_display_vecscale (GtkWidget
*widget
,
189 on_radiobutton_display_veccolor (GtkWidget
*widget
,
193 on_checkbutton_display_display_intregs (GtkWidget
*widget
,
197 on_checkbutton_display_display_piv (GtkWidget
*widget
,
201 on_radiobutton_display_scalar(GtkWidget
*widget
,
206 on_checkbutton_display_view_menubar_activate (GtkWidget
*widget
,
210 on_checkbutton_display_view_rulers_activate (GtkWidget
*widget
,
214 on_checkbutton_display_stretch_auto_activate (GtkWidget
*widget
,
218 on_preferences_response (GtkDialog
*dialog
,
223 apply_gpivpar (GpivConsole
* gpiv
);
227 store_defaultpar (void);
229 #endif /* PREFERENCES_H */