1
/* The GIMP -- an image manipulation program
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
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.
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.
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.
19
#ifndef __WIDGETS_TYPES_H__
20
#define __WIDGETS_TYPES_H__
23
#include "libgimpwidgets/gimpwidgetstypes.h"
25
#include "core/core-types.h"
27
#include "widgets/widgets-enums.h"
30
/* input devices & controllers */
32
typedef struct _GimpDeviceInfo GimpDeviceInfo;
33
typedef struct _GimpControllerInfo GimpControllerInfo;
34
typedef struct _GimpControllerKeyboard GimpControllerKeyboard;
35
typedef struct _GimpControllerWheel GimpControllerWheel;
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 */
48
/* GimpEditor widgets */
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;
57
/* GimpDataEditor widgets */
59
typedef struct _GimpDataEditor GimpDataEditor;
60
typedef struct _GimpBrushEditor GimpBrushEditor;
61
typedef struct _GimpGradientEditor GimpGradientEditor;
62
typedef struct _GimpPaletteEditor GimpPaletteEditor;
65
/* GimpImageEditor widgets */
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;
75
/* GimpContainerView and its implementors */
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;
89
typedef struct _GimpContainerPopup GimpContainerPopup;
90
typedef struct _GimpViewableButton GimpViewableButton;
93
/* GimpContainerEditor widgets */
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;
104
/* GimpDataFactoryView widgets */
106
typedef struct _GimpDataFactoryView GimpDataFactoryView;
107
typedef struct _GimpBrushFactoryView GimpBrushFactoryView;
108
typedef struct _GimpPatternFactoryView GimpPatternFactoryView;
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;
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;
135
/* GimpPdbDialog widgets */
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;
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;
170
typedef struct _GimpView GimpView;
171
typedef struct _GimpNavigationView GimpNavigationView;
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;
189
typedef struct _GimpCellRendererAccel GimpCellRendererAccel;
190
typedef struct _GimpCellRendererViewable GimpCellRendererViewable;
193
/* misc utilities & constructors */
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;
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;
219
typedef void (* GimpActionGroupSetupFunc) (GimpActionGroup *group);
220
typedef void (* GimpActionGroupUpdateFunc) (GimpActionGroup *group,
223
typedef void (* GimpUIManagerSetupFunc) (GimpUIManager *manager,
224
const gchar *ui_path);
226
typedef void (* GimpMenuPositionFunc) (GtkMenu *menu,
232
#endif /* __WIDGETS_TYPES_H__ */