1
#ifndef _FILTEREDITGUI_H
2
#define _FILTEREDITGUI_H
7
* $Id: filtereditgui.h,v 1.9 2001/12/02 17:52:56 richi Exp $
9
* Copyright (C) 2001 Johannes Hirche
11
* This program 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 of the License, or
14
* (at your option) 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
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29
#include "edit_filter/glamecanvas.h"
30
#include "edit_filter/canvasitem.h"
34
struct _FiltereditGuiClass;
35
struct _FiltereditGui;
36
typedef struct _FiltereditGuiClass FiltereditGuiClass;
37
typedef struct _FiltereditGui FiltereditGui;
39
#define FILTEREDIT_GUI_TYPE (filteredit_gui_get_type())
40
#define FILTEREDIT_GUI(object) (GTK_CHECK_CAST((object), FILTEREDIT_GUI_TYPE, FiltereditGui))
41
#define FILTEREDIT_GUI_CLASS(object) (GTK_CHECK_CLASS_CAST((object), FILTEREDIT_GUI_TYPE, FiltereditGuiClass))
42
#define IS_FILTEREDIT_GUI(object) (GTK_CHECK_TYPE((object), FILTEREDIT_GUI_TYPE))
43
#define IS_FILTEREDIT_GUI_CLASS(object) (GTK_CHECK_CLASS_TYPE((object), FILTEREDIT_GUI_TYPE))
44
#define FILTEREDIT_GUI_GET_CLASS(object) ((FiltereditGuiClass*) (((GtkObject*) (obj))->klass))
46
struct _FiltereditGuiClass {
47
GnomeAppClass parent_class;
51
struct _FiltereditGui {
52
GnomeApp parent_object;
64
GtkType filteredit_gui_get_type(void);
66
GtkWidget *glame_filtereditgui_new(filter_t *net, gboolean protected);
68
void glame_load_network(GtkWidget *foo, gpointer bla);
70
void glame_filtereditgui_draw_error(GlameCanvas* canv);
72
void glame_filtereditgui_reset_error(GlameCanvas* canv);
74
void glame_filtereditgui_init(void);