bugrepair VFS, update autotools files
[gpiv.git] / src / imgproc_interface.h
blob5428d6f237497d1df63636e584cd8e3d3c9f5202
2 /*----------------------------------------------------------------------
4 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
5 libraries.
7 Copyright (C) 2007, 2008
8 Gerber van der Graaf <gerber_graaf@users.sourceforge.net>
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)
15 any later version.
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 * Image processing tab
30 * $Log: imgproc_interface.h,v $
31 * Revision 1.1 2008-09-16 10:16:08 gerber
32 * added imgproc routines
35 #ifndef GPIV_IMGPROC_INTERFACE_H
36 #define GPIV_IMGPROC_INTERFACE_H
37 /* #ifdef ENABLE_IMGPROC */
39 typedef struct _ImgfilterVar ImgfilterVar;
40 struct _ImgfilterVar {
41 gint filter_id;
42 gchar *button_label;
43 gchar *label_filtervar_label;
44 gint value;
45 gint upper;
46 gchar *label_step_filter_label;
47 gint count_nr;
48 gchar *appbar_msg;
52 typedef struct _ImgfilterInterface ImgfilterInterface;
53 struct _ImgfilterInterface {
54 GtkWidget *button_filter;
55 GtkWidget *label_filtervar;
56 GtkObject *spinbutton_adj_filtervar;
57 GtkWidget *spinbutton_filtervar;
58 GtkWidget *label_step_filter;
62 typedef struct _Imgprocess Imgprocess;
63 struct _Imgprocess {
64 GtkWidget *vbox_label;
65 GtkWidget *label_title;
67 GtkWidget *vbox_scroll;
68 GtkWidget *scrolledwindow;
69 GtkWidget *viewport;
70 GtkWidget *vbox;
71 GtkWidget *table;
73 ImgfilterVar *ivar[IMG_FILTERS];
74 ImgfilterInterface *imf_inf[IMG_FILTERS];
76 GtkWidget *button;
80 Imgprocess *
81 create_imgproc(GnomeApp *main_window,
82 GtkWidget *container);
84 /* #endif */ /* ENABLE_IMGPROC */
85 #endif /* GPIV_IMGPROC_INTERFACE_H */