~ubuntu-branches/ubuntu/utopic/glame/utopic

« back to all changes in this revision

Viewing changes to src/gui/edit_filter/filtereditgui.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-09 17:14:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020409171412-jzpnov7mbz2w6zsr
Tags: upstream-0.6.2
ImportĀ upstreamĀ versionĀ 0.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _FILTEREDITGUI_H
 
2
#define _FILTEREDITGUI_H
 
3
 
 
4
/*
 
5
 * filtereditgui.h
 
6
 *
 
7
 * $Id: filtereditgui.h,v 1.9 2001/12/02 17:52:56 richi Exp $
 
8
 *
 
9
 * Copyright (C) 2001 Johannes Hirche
 
10
 *
 
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.
 
15
 *
 
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.
 
20
 *
 
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
 
24
 *
 
25
 *
 
26
 */
 
27
 
 
28
#include <gnome.h>
 
29
#include "edit_filter/glamecanvas.h"
 
30
#include "edit_filter/canvasitem.h"
 
31
#include "filter.h"
 
32
 
 
33
 
 
34
struct _FiltereditGuiClass;
 
35
struct _FiltereditGui;
 
36
typedef struct _FiltereditGuiClass FiltereditGuiClass;
 
37
typedef struct _FiltereditGui FiltereditGui;
 
38
 
 
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))
 
45
 
 
46
struct _FiltereditGuiClass {
 
47
        GnomeAppClass parent_class;
 
48
 
 
49
};
 
50
 
 
51
struct _FiltereditGui {
 
52
        GnomeApp parent_object;
 
53
 
 
54
        int deleted;
 
55
 
 
56
        GlameCanvas *canvas;
 
57
        GtkToolbar *toolbar;
 
58
 
 
59
        int pm_playing;
 
60
};
 
61
 
 
62
 
 
63
 
 
64
GtkType filteredit_gui_get_type(void);
 
65
 
 
66
GtkWidget *glame_filtereditgui_new(filter_t *net, gboolean protected);
 
67
 
 
68
void glame_load_network(GtkWidget *foo, gpointer bla);
 
69
 
 
70
void glame_filtereditgui_draw_error(GlameCanvas* canv);
 
71
 
 
72
void glame_filtereditgui_reset_error(GlameCanvas* canv);
 
73
 
 
74
void glame_filtereditgui_init(void);
 
75
 
 
76
 
 
77
#endif