1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
3 /*----------------------------------------------------------------------
5 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
8 Copyright (C) 2002 Gerber van der Graaf
10 This file is part of gpiv.
12 Gpiv is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2, or (at your option)
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 -----------------------------------------------------------------------------*/
29 * $Log: console_interface.h,v $
30 * Revision 1.8 2007-06-06 17:00:48 gerber
31 * Retreives images/data from URI using Gnome Virtual File System.
33 * Revision 1.7 2007-03-22 16:00:32 gerber
34 * Added image processing tabulator
36 * Revision 1.6 2007-01-29 11:27:43 gerber
37 * added image formats png, gif, tif png, bmp, improved buffer display
39 * Revision 1.5 2006-09-18 07:27:05 gerber
40 * *** empty log message ***
42 * Revision 1.4 2006/01/31 14:28:11 gerber
45 * Revision 1.2 2005/01/19 15:53:41 gerber
46 * Initiation of Data Acquisition (DAC); trigerring of lasers and camera
47 * by using RTAI and Realtime Linux, recording images from IEEE1394
48 * (Firewire) IIDC compliant camera's
50 * Revision 1.1.1.1 2003/06/17 17:10:52 gerber
54 /* -- widgets from GtkWidget *gpiv_gui_gtk ------------*/
55 /* #ifdef HAVE_CONFIG_H */
56 /* # include <config.h> */
59 /* GtkWidget* create_exit (void); */
61 #ifndef CONSOLE_INTERFACE_H
62 #define CONSOLE_INTERFACE_H
66 #include "dac_interface.h"
67 #endif /* ENABLE_DAC */
68 #include "imgh_interface.h"
70 #include "imgproc_interface.h"
71 #endif /* ENABLE_IMGPROC */
72 #include "piveval_interface.h"
73 #include "pivvalid_interface.h"
74 #include "pivpost_interface.h"
77 * widget for pop-up menu
80 typedef struct _GpivConsole GpivConsole
;
83 * General widgets for gpiv-gui
87 GtkTooltips
*tooltips
;
90 GtkWidget
*alignment3
;
94 gint tmp_toolbar_icon_size
;
95 GtkWidget
*button_open
;
96 GtkWidget
*button_save
;
97 /* GtkWidget *button_print; */
98 GtkWidget
*button_execute
;
99 GtkWidget
*button_stop
;
100 GtkWidget
*button_close
;
101 GtkWidget
*vseparator
;
102 GtkWidget
*button_exit
;
103 GtkWidget
*hbox_main
;
104 GtkWidget
*handlebox_buf
;
109 GtkWidget
*toggle_view_buttons
;
110 const GtkWidget
*toggle_view_tool
;
111 const GtkWidget
*toggle_view_tab
;
114 * Buffer handlebox & clist
116 gint first_selected_row
;
117 gint last_selected_row
;
118 GtkWidget
*alignment_buf
;
119 GtkWidget
*eventbox_buf
;
120 GtkWidget
*scrolledwindow_buf
;
121 GtkObject
*scrolledwindow_buf_adj
;
122 GtkWidget
*button_buf
;
123 GtkWidget
*viewport_buf
;
125 GtkTreeStore
*list_buf
;
128 GtkWidget
*clist_buf
;
129 GtkWidget
*label_buf_1
;
130 GtkWidget
*label_buf_2
;
131 GtkWidget
*vbox_main
;
136 GtkWidget
*handlebox1
;
137 GtkWidget
*scrolledwindow_handbox1
;
138 GtkWidget
*viewport_handbox1
;
140 GtkWidget
*hbox_toolbar2
;
142 GtkWidget
*button_toolbar_cam
;
145 GtkWidget
*button_toolbar_trig
;
147 #ifdef ENABLE_IMGPROC
148 GtkWidget
*button_toolbar_imgproc
;
150 GtkWidget
*button_toolbar_piv
;
151 GtkWidget
*button_toolbar_gradient
;
152 GtkWidget
*button_toolbar_resstats
;
153 GtkWidget
*button_toolbar_errvec
;
154 GtkWidget
*button_toolbar_peaklock
;
155 GtkWidget
*button_toolbar_scale
;
156 GtkWidget
*button_toolbar_average
;
157 GtkWidget
*button_toolbar_subavg
;
158 GtkWidget
*button_toolbar_vorstra
;
166 GtkWidget
*tablabel_dac
;
167 #else /* ENABLE_CAM */
170 GtkWidget
*tablabel_dac
;
171 #endif /* ENABLE_TRIG */
172 #endif /* ENABLE_CAM */
174 GtkWidget
*tablabel_imgh
;
175 #ifdef ENABLE_IMGPROC
177 GtkWidget
*tablabel_imgproc
;
180 GtkWidget
*tablabel_piveval
;
182 GtkWidget
*tablabel_pivvalid
;
184 GtkWidget
*tablabel_pivpost
;
186 GSList
*mouse_sel_group
;
195 create_menu_gpiv_popup (GpivConsole
* gpiv
);
199 * widget for display menu
201 /* GtkWidget* create_display_menu (void); */
202 /* GtkWidget *display_menu; */
205 * widget for closing buffer
208 close_buffer_yes_no (GpivConsole
* gpiv
,
213 #endif /* CONSOLE_INTERFACE_H */