bugrepair: drag and drop
[gpiv.git] / src / dac_cam_interface.h
blobb5c8238e6ca62b4018568c6d6f20ec44a2fc8b00
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 * Dac tab
29 * $Log: dac_cam_interface.h,v $
30 * Revision 1.1 2006-09-18 07:29:51 gerber
31 * Split up of triggering and image recording (camera)
35 #ifndef GPIV_DAC_CAM_INTERFACE_H
36 #define GPIV_DAC_CAM_INTERFACE_H
37 #ifdef ENABLE_CAM
39 typedef struct _DacDraw DacDraw;
40 struct _DacDraw {
41 GtkWidget *window;
42 GtkWidget *darea;
46 DacDraw *
47 create_dacdraw(GpivCamVar *cam_var,
48 guchar *rgbbuf);
51 typedef struct _Cam Cam;
52 struct _Cam {
53 GtkWidget *frame_cam;
54 GtkWidget *vbox_cam;
55 GtkWidget *table_cam;
56 /* GtkWidget *label_cam; */
57 GtkWidget *camera_select;
58 GtkWidget *camera_select_menu;
59 GtkWidget *menu_item;
61 GtkWidget *format_menu;
62 GtkWidget *format_menu_menu;
63 /* GtkWidget *format0_menu_menu; */
65 GtkWidget *fps_menu;
66 GtkWidget *fps_menu_menu;
68 /* GtkWidget *frame_trigger; */
69 /* GtkWidget *vbox_trigger; */
70 GtkWidget *hbox_trigger;
71 GtkWidget *trigger_external;
72 GtkWidget *trigger_polarity;
73 GtkWidget* trigger_mode;
74 GtkWidget* trigger_mode_menu;
76 GtkWidget *checkbutton_camera_trigger;
77 GtkWidget *camera_exposure;
78 GtkWidget *camera_exposure_menu;
79 GtkWidget *menu_item_camera_exposure_man;
80 GtkWidget *menu_item_camera_exposure_auto;
81 GtkWidget *menu_item_camera_exposure_na;
82 GtkObject *adj_exposure_scale;
83 GtkWidget *exposure_scale;
85 GtkWidget *camera_iris;
86 GtkWidget *camera_iris_menu;
87 GtkWidget *menu_item_camera_iris_man;
88 GtkWidget *menu_item_camera_iris_auto;
89 GtkWidget *menu_item_camera_iris_na;
90 GtkObject *adj_iris_scale;
91 GtkWidget *iris_scale;
93 GtkWidget *camera_shutter;
94 GtkWidget *camera_shutter_menu;
95 GtkWidget *menu_item_camera_shutter_man;
96 GtkWidget *menu_item_camera_shutter_auto;
97 GtkWidget *menu_item_camera_shutter_na;
98 GtkObject *adj_shutter_scale;
99 GtkWidget *shutter_scale;
101 GtkWidget *camera_gain;
102 GtkWidget *camera_gain_menu;
103 GtkWidget *menu_item_camera_gain_man;
104 GtkWidget *menu_item_camera_gain_auto;
105 GtkWidget *menu_item_camera_gain_na;
106 GtkObject *adj_gain_scale;
107 GtkWidget *gain_scale;
109 GtkWidget *camera_temp;
110 GtkWidget *camera_temp_menu;
111 GtkWidget *menu_item_camera_temp_man;
112 GtkWidget *menu_item_camera_temp_auto;
113 GtkWidget *menu_item_camera_temp_na;
114 GtkObject *adj_temp_scale;
115 GtkWidget *temp_scale;
117 GtkWidget *label_temp;
118 GtkWidget *label_label_temp;
120 GtkWidget *camera_zoom;
121 GtkWidget *camera_zoom_menu;
122 GtkWidget *menu_item_camera_zoom_man;
123 GtkWidget *menu_item_camera_zoom_auto;
124 GtkWidget *menu_item_camera_zoom_na;
125 GtkObject *adj_zoom_scale;
126 GtkWidget *zoom_scale;
128 GtkWidget *camera_pan;
129 GtkWidget *camera_pan_menu;
130 GtkWidget *menu_item_camera_pan_man;
131 GtkWidget *menu_item_camera_pan_auto;
132 GtkWidget *menu_item_camera_pan_na;
133 GtkObject *adj_pan_scale;
134 GtkWidget *pan_scale;
136 GtkWidget *camera_tilt;
137 GtkWidget *camera_tilt_menu;
138 GtkWidget *menu_item_camera_tilt_man;
139 GtkWidget *menu_item_camera_tilt_auto;
140 GtkWidget *menu_item_camera_tilt_na;
141 GtkObject *adj_tilt_scale;
142 GtkWidget *tilt_scale;
145 GtkWidget *button_cam_start;
146 GtkWidget *button_cam_stop;
149 Cam *
150 create_cam(GnomeApp *main_window,
151 GtkWidget *container);
153 #endif /* ENABLE_CAM */
154 #endif /* GPIV_DAC_CAM_INTERFACE_H */