~ubuntu-branches/ubuntu/breezy/gimp/breezy

« back to all changes in this revision

Viewing changes to app/widgets/widgets-types.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-10-04 19:04:46 UTC
  • Revision ID: james.westby@ubuntu.com-20051004190446-ukh32kwk56s4sjhu
Tags: upstream-2.2.8
ImportĀ upstreamĀ versionĀ 2.2.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* The GIMP -- an image manipulation program
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 */
 
18
 
 
19
#ifndef __WIDGETS_TYPES_H__
 
20
#define __WIDGETS_TYPES_H__
 
21
 
 
22
 
 
23
#include "libgimpwidgets/gimpwidgetstypes.h"
 
24
 
 
25
#include "core/core-types.h"
 
26
 
 
27
#include "widgets/widgets-enums.h"
 
28
 
 
29
 
 
30
/*  input devices & controllers  */
 
31
 
 
32
typedef struct _GimpDeviceInfo               GimpDeviceInfo;
 
33
typedef struct _GimpControllerInfo           GimpControllerInfo;
 
34
typedef struct _GimpControllerKeyboard       GimpControllerKeyboard;
 
35
typedef struct _GimpControllerWheel          GimpControllerWheel;
 
36
 
 
37
 
 
38
/*  docks  */
 
39
 
 
40
typedef struct _GimpDock                     GimpDock;
 
41
typedef struct _GimpImageDock                GimpImageDock;
 
42
typedef struct _GimpToolbox                  GimpToolbox;
 
43
typedef struct _GimpDockbook                 GimpDockbook;
 
44
typedef struct _GimpDockable                 GimpDockable;
 
45
typedef struct _GimpDocked                   GimpDocked; /* dummy typedef */
 
46
 
 
47
 
 
48
/*  GimpEditor widgets  */
 
49
 
 
50
typedef struct _GimpEditor                   GimpEditor;
 
51
typedef struct _GimpColorEditor              GimpColorEditor;
 
52
typedef struct _GimpDeviceStatus             GimpDeviceStatus;
 
53
typedef struct _GimpErrorConsole             GimpErrorConsole;
 
54
typedef struct _GimpToolOptionsEditor        GimpToolOptionsEditor;
 
55
 
 
56
 
 
57
/*  GimpDataEditor widgets  */
 
58
 
 
59
typedef struct _GimpDataEditor               GimpDataEditor;
 
60
typedef struct _GimpBrushEditor              GimpBrushEditor;
 
61
typedef struct _GimpGradientEditor           GimpGradientEditor;
 
62
typedef struct _GimpPaletteEditor            GimpPaletteEditor;
 
63
 
 
64
 
 
65
/*  GimpImageEditor widgets  */
 
66
 
 
67
typedef struct _GimpImageEditor              GimpImageEditor;
 
68
typedef struct _GimpColormapEditor           GimpColormapEditor;
 
69
typedef struct _GimpComponentEditor          GimpComponentEditor;
 
70
typedef struct _GimpHistogramEditor          GimpHistogramEditor;
 
71
typedef struct _GimpSelectionEditor          GimpSelectionEditor;
 
72
typedef struct _GimpUndoEditor               GimpUndoEditor;
 
73
 
 
74
 
 
75
/*  GimpContainerView and its implementors  */
 
76
 
 
77
typedef struct _GimpContainerView            GimpContainerView; /* dummy typedef */
 
78
typedef struct _GimpContainerBox             GimpContainerBox;
 
79
typedef struct _GimpContainerComboBox        GimpContainerComboBox;
 
80
typedef struct _GimpContainerEntry           GimpContainerEntry;
 
81
typedef struct _GimpContainerGridView        GimpContainerGridView;
 
82
typedef struct _GimpContainerTreeView        GimpContainerTreeView;
 
83
typedef struct _GimpItemTreeView             GimpItemTreeView;
 
84
typedef struct _GimpDrawableTreeView         GimpDrawableTreeView;
 
85
typedef struct _GimpLayerTreeView            GimpLayerTreeView;
 
86
typedef struct _GimpChannelTreeView          GimpChannelTreeView;
 
87
typedef struct _GimpVectorsTreeView          GimpVectorsTreeView;
 
88
 
 
89
typedef struct _GimpContainerPopup           GimpContainerPopup;
 
90
typedef struct _GimpViewableButton           GimpViewableButton;
 
91
 
 
92
 
 
93
/*  GimpContainerEditor widgets  */
 
94
 
 
95
typedef struct _GimpContainerEditor          GimpContainerEditor;
 
96
typedef struct _GimpBufferView               GimpBufferView;
 
97
typedef struct _GimpDocumentView             GimpDocumentView;
 
98
typedef struct _GimpFontView                 GimpFontView;
 
99
typedef struct _GimpImageView                GimpImageView;
 
100
typedef struct _GimpTemplateView             GimpTemplateView;
 
101
typedef struct _GimpToolView                 GimpToolView;
 
102
 
 
103
 
 
104
/*  GimpDataFactoryView widgets  */
 
105
 
 
106
typedef struct _GimpDataFactoryView          GimpDataFactoryView;
 
107
typedef struct _GimpBrushFactoryView         GimpBrushFactoryView;
 
108
typedef struct _GimpPatternFactoryView       GimpPatternFactoryView;
 
109
 
 
110
 
 
111
/*  menus  */
 
112
 
 
113
typedef struct _GimpActionFactory            GimpActionFactory;
 
114
typedef struct _GimpActionGroup              GimpActionGroup;
 
115
typedef struct _GimpAction                   GimpAction;
 
116
typedef struct _GimpEnumAction               GimpEnumAction;
 
117
typedef struct _GimpPlugInAction             GimpPlugInAction;
 
118
typedef struct _GimpStringAction             GimpStringAction;
 
119
typedef struct _GimpMenuFactory              GimpMenuFactory;
 
120
typedef struct _GimpUIManager                GimpUIManager;
 
121
 
 
122
 
 
123
/*  misc dialogs  */
 
124
 
 
125
typedef struct _GimpColorDialog              GimpColorDialog;
 
126
typedef struct _GimpErrorDialog              GimpErrorDialog;
 
127
typedef struct _GimpFileDialog               GimpFileDialog;
 
128
typedef struct _GimpMessageDialog            GimpMessageDialog;
 
129
typedef struct _GimpProgressDialog           GimpProgressDialog;
 
130
typedef struct _GimpTextEditor               GimpTextEditor;
 
131
typedef struct _GimpViewableDialog           GimpToolDialog;
 
132
typedef struct _GimpViewableDialog           GimpViewableDialog;
 
133
 
 
134
 
 
135
/*  GimpPdbDialog widgets  */
 
136
 
 
137
typedef struct _GimpPdbDialog                GimpPdbDialog;
 
138
typedef struct _GimpBrushSelect              GimpBrushSelect;
 
139
typedef struct _GimpGradientSelect           GimpGradientSelect;
 
140
typedef struct _GimpPaletteSelect            GimpPaletteSelect;
 
141
typedef struct _GimpPatternSelect            GimpPatternSelect;
 
142
typedef struct _GimpFontSelect               GimpFontSelect;
 
143
 
 
144
 
 
145
/*  misc widgets  */
 
146
 
 
147
typedef struct _GimpActionView               GimpActionView;
 
148
typedef struct _GimpBlobEditor               GimpBlobEditor;
 
149
typedef struct _GimpColorBar                 GimpColorBar;
 
150
typedef struct _GimpColorDisplayEditor       GimpColorDisplayEditor;
 
151
typedef struct _GimpColorFrame               GimpColorFrame;
 
152
typedef struct _GimpColorPanel               GimpColorPanel;
 
153
typedef struct _GimpControllerEditor         GimpControllerEditor;
 
154
typedef struct _GimpDashEditor               GimpDashEditor;
 
155
typedef struct _GimpFgBgEditor               GimpFgBgEditor;
 
156
typedef struct _GimpFileProcView             GimpFileProcView;
 
157
typedef struct _GimpGridEditor               GimpGridEditor;
 
158
typedef struct _GimpHistogramBox             GimpHistogramBox;
 
159
typedef struct _GimpHistogramView            GimpHistogramView;
 
160
typedef struct _GimpMessageBox               GimpMessageBox;
 
161
typedef struct _GimpProgressBox              GimpProgressBox;
 
162
typedef struct _GimpSizeBox                  GimpSizeBox;
 
163
typedef struct _GimpStrokeEditor             GimpStrokeEditor;
 
164
typedef struct _GimpTemplateEditor           GimpTemplateEditor;
 
165
typedef struct _GimpThumbBox                 GimpThumbBox;
 
166
 
 
167
 
 
168
/*  views  */
 
169
 
 
170
typedef struct _GimpView                     GimpView;
 
171
typedef struct _GimpNavigationView           GimpNavigationView;
 
172
 
 
173
 
 
174
/*  view renderers  */
 
175
 
 
176
typedef struct _GimpViewRenderer             GimpViewRenderer;
 
177
typedef struct _GimpViewRendererBrush        GimpViewRendererBrush;
 
178
typedef struct _GimpViewRendererBuffer       GimpViewRendererBuffer;
 
179
typedef struct _GimpViewRendererDrawable     GimpViewRendererDrawable;
 
180
typedef struct _GimpViewRendererGradient     GimpViewRendererGradient;
 
181
typedef struct _GimpViewRendererLayer        GimpViewRendererLayer;
 
182
typedef struct _GimpViewRendererImage        GimpViewRendererImage;
 
183
typedef struct _GimpViewRendererImagefile    GimpViewRendererImagefile;
 
184
typedef struct _GimpViewRendererVectors      GimpViewRendererVectors;
 
185
 
 
186
 
 
187
/*  cell renderers  */
 
188
 
 
189
typedef struct _GimpCellRendererAccel        GimpCellRendererAccel;
 
190
typedef struct _GimpCellRendererViewable     GimpCellRendererViewable;
 
191
 
 
192
 
 
193
/*  misc utilities & constructors  */
 
194
 
 
195
typedef struct _GimpDialogFactory            GimpDialogFactory;
 
196
typedef struct _GimpEnumStore                GimpEnumStore;
 
197
typedef struct _GimpEnumComboBox             GimpEnumComboBox;
 
198
typedef struct _GimpUnitStore                GimpUnitStore;
 
199
typedef struct _GimpUnitComboBox             GimpUnitComboBox;
 
200
 
 
201
 
 
202
/*  structs  */
 
203
 
 
204
typedef struct _GimpActionEntry              GimpActionEntry;
 
205
typedef struct _GimpToggleActionEntry        GimpToggleActionEntry;
 
206
typedef struct _GimpRadioActionEntry         GimpRadioActionEntry;
 
207
typedef struct _GimpEnumActionEntry          GimpEnumActionEntry;
 
208
typedef struct _GimpStringActionEntry        GimpStringActionEntry;
 
209
typedef struct _GimpPlugInActionEntry        GimpPlugInActionEntry;
 
210
typedef struct _GimpDialogFactoryEntry       GimpDialogFactoryEntry;
 
211
typedef struct _GimpSessionInfo              GimpSessionInfo;
 
212
typedef struct _GimpSessionInfoBook          GimpSessionInfoBook;
 
213
typedef struct _GimpSessionInfoDockable      GimpSessionInfoDockable;
 
214
typedef struct _GimpSessionInfoAux           GimpSessionInfoAux;
 
215
 
 
216
 
 
217
/*  function types  */
 
218
 
 
219
typedef void (* GimpActionGroupSetupFunc)  (GimpActionGroup *group);
 
220
typedef void (* GimpActionGroupUpdateFunc) (GimpActionGroup *group,
 
221
                                            gpointer         data);
 
222
 
 
223
typedef void (* GimpUIManagerSetupFunc)    (GimpUIManager   *manager,
 
224
                                            const gchar     *ui_path);
 
225
 
 
226
typedef void (* GimpMenuPositionFunc)      (GtkMenu         *menu,
 
227
                                            gint            *x,
 
228
                                            gint            *y,
 
229
                                            gpointer         data);
 
230
 
 
231
 
 
232
#endif /* __WIDGETS_TYPES_H__ */