Updated because of cvs conflict
[gpiv.git] / src / dac_cam_interface.h
blob314c4893cd867676720e0428c76d9a5f4ebfcd2d
1 /*----------------------------------------------------------------------
3 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
4 libraries.
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)
13 any later version.
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 * Dac tab
28 * $Log: dac_cam_interface.h,v $
29 * Revision 1.1 2006-09-18 07:29:51 gerber
30 * Split up of triggering and image recording (camera)
34 #ifndef GPIV_DAC_CAM_INTERFACE_H
35 #define GPIV_DAC_CAM_INTERFACE_H
36 #ifdef ENABLE_CAM
38 typedef struct _DacDraw DacDraw;
39 struct _DacDraw {
40 GtkWidget *window;
41 GtkWidget *darea;
45 DacDraw *
46 create_dacdraw(GpivCamVar *cam_var,
47 guchar *rgbbuf);
50 typedef struct _Cam Cam;
51 struct _Cam {
52 GtkWidget *frame_cam;
53 GtkWidget *vbox_cam;
54 GtkWidget *table_cam;
55 /* GtkWidget *label_cam; */
56 GtkWidget *camera_select;
57 GtkWidget *camera_select_menu;
58 GtkWidget *menu_item;
60 GtkWidget *format_menu;
61 GtkWidget *format_menu_menu;
62 /* GtkWidget *format0_menu_menu; */
64 GtkWidget *fps_menu;
65 GtkWidget *fps_menu_menu;
67 /* GtkWidget *frame_trigger; */
68 /* GtkWidget *vbox_trigger; */
69 GtkWidget *hbox_trigger;
70 GtkWidget *trigger_external;
71 GtkWidget *trigger_polarity;
72 GtkWidget* trigger_mode;
73 GtkWidget* trigger_mode_menu;
75 GtkWidget *checkbutton_camera_trigger;
76 GtkWidget *camera_exposure;
77 GtkWidget *camera_exposure_menu;
78 GtkWidget *menu_item_camera_exposure_man;
79 GtkWidget *menu_item_camera_exposure_auto;
80 GtkWidget *menu_item_camera_exposure_na;
81 GtkObject *adj_exposure_scale;
82 GtkWidget *exposure_scale;
84 GtkWidget *camera_iris;
85 GtkWidget *camera_iris_menu;
86 GtkWidget *menu_item_camera_iris_man;
87 GtkWidget *menu_item_camera_iris_auto;
88 GtkWidget *menu_item_camera_iris_na;
89 GtkObject *adj_iris_scale;
90 GtkWidget *iris_scale;
92 GtkWidget *camera_shutter;
93 GtkWidget *camera_shutter_menu;
94 GtkWidget *menu_item_camera_shutter_man;
95 GtkWidget *menu_item_camera_shutter_auto;
96 GtkWidget *menu_item_camera_shutter_na;
97 GtkObject *adj_shutter_scale;
98 GtkWidget *shutter_scale;
100 GtkWidget *camera_gain;
101 GtkWidget *camera_gain_menu;
102 GtkWidget *menu_item_camera_gain_man;
103 GtkWidget *menu_item_camera_gain_auto;
104 GtkWidget *menu_item_camera_gain_na;
105 GtkObject *adj_gain_scale;
106 GtkWidget *gain_scale;
108 GtkWidget *camera_temp;
109 GtkWidget *camera_temp_menu;
110 GtkWidget *menu_item_camera_temp_man;
111 GtkWidget *menu_item_camera_temp_auto;
112 GtkWidget *menu_item_camera_temp_na;
113 GtkObject *adj_temp_scale;
114 GtkWidget *temp_scale;
116 GtkWidget *label_temp;
117 GtkWidget *label_label_temp;
119 GtkWidget *camera_zoom;
120 GtkWidget *camera_zoom_menu;
121 GtkWidget *menu_item_camera_zoom_man;
122 GtkWidget *menu_item_camera_zoom_auto;
123 GtkWidget *menu_item_camera_zoom_na;
124 GtkObject *adj_zoom_scale;
125 GtkWidget *zoom_scale;
127 GtkWidget *camera_pan;
128 GtkWidget *camera_pan_menu;
129 GtkWidget *menu_item_camera_pan_man;
130 GtkWidget *menu_item_camera_pan_auto;
131 GtkWidget *menu_item_camera_pan_na;
132 GtkObject *adj_pan_scale;
133 GtkWidget *pan_scale;
135 GtkWidget *camera_tilt;
136 GtkWidget *camera_tilt_menu;
137 GtkWidget *menu_item_camera_tilt_man;
138 GtkWidget *menu_item_camera_tilt_auto;
139 GtkWidget *menu_item_camera_tilt_na;
140 GtkObject *adj_tilt_scale;
141 GtkWidget *tilt_scale;
144 GtkWidget *button_cam_start;
145 GtkWidget *button_cam_stop;
148 Cam *
149 create_cam(GnomeApp *main_window,
150 GtkWidget *container);
152 #endif /* ENABLE_CAM */
153 #endif /* GPIV_DAC_CAM_INTERFACE_H */