~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#define GIMP_COORDS_MAX_WHEEL         1.0
46
46
#define GIMP_COORDS_DEFAULT_WHEEL     0.5
47
47
 
48
 
#define GIMP_COORDS_DEFAULT_VALUES  { 0.0, 0.0, \
49
 
                                      GIMP_COORDS_DEFAULT_PRESSURE, \
50
 
                                      GIMP_COORDS_DEFAULT_TILT,     \
51
 
                                      GIMP_COORDS_DEFAULT_TILT,     \
52
 
                                      GIMP_COORDS_DEFAULT_WHEEL }
 
48
#define GIMP_COORDS_DEFAULT_VELOCITY  0.0
 
49
 
 
50
#define GIMP_COORDS_DEFAULT_VALUES    { 0.0, 0.0, \
 
51
                                        GIMP_COORDS_DEFAULT_PRESSURE, \
 
52
                                        GIMP_COORDS_DEFAULT_TILT,     \
 
53
                                        GIMP_COORDS_DEFAULT_TILT,     \
 
54
                                        GIMP_COORDS_DEFAULT_WHEEL,    \
 
55
                                        GIMP_COORDS_DEFAULT_VELOCITY }
53
56
 
54
57
 
55
58
/*  base classes  */
95
98
typedef struct _GimpPattern          GimpPattern;
96
99
typedef struct _GimpPatternClipboard GimpPatternClipboard;
97
100
typedef struct _GimpPalette          GimpPalette;
 
101
typedef struct _GimpCurve            GimpCurve;
98
102
 
99
103
 
100
104
/*  drawable objects  */
136
140
typedef struct _GimpGuide           GimpGuide;
137
141
typedef struct _GimpImagefile       GimpImagefile;
138
142
typedef struct _GimpImageMap        GimpImageMap;
 
143
typedef struct _GimpImageMapConfig  GimpImageMapConfig;
139
144
typedef struct _GimpInterpreterDB   GimpInterpreterDB;
140
145
typedef struct _GimpParasiteList    GimpParasiteList;
141
146
typedef struct _GimpPdbProgress     GimpPdbProgress;
149
154
 
150
155
typedef struct _GimpPickable        GimpPickable; /* dummy typedef */
151
156
typedef struct _GimpProgress        GimpProgress; /* dummy typedef */
 
157
typedef struct _GimpTagged          GimpTagged;   /* dummy typedef */
152
158
 
153
159
 
154
160
/*  non-object types  */
162
168
typedef struct _GimpScanConvert     GimpScanConvert;
163
169
 
164
170
 
 
171
/*  tags  */
 
172
 
 
173
typedef GQuark                      GimpTag;
 
174
#define gimp_tag_new(name)          g_quark_from_string (name)
 
175
#define gimp_tag_get_name(tag)      g_quark_to_string (name)
 
176
 
 
177
 
165
178
/*  functions  */
166
179
 
167
 
typedef void     (* GimpInitStatusFunc)   (const gchar      *text1,
168
 
                                           const gchar      *text2,
169
 
                                           gdouble           percentage);
170
 
 
171
 
typedef gboolean (* GimpObjectFilterFunc) (const GimpObject *object,
172
 
                                           gpointer          user_data);
173
 
 
174
 
typedef gint64   (* GimpMemsizeFunc)      (gpointer          instance,
175
 
                                           gint64           *gui_size);
 
180
typedef void     (* GimpInitStatusFunc)    (const gchar      *text1,
 
181
                                            const gchar      *text2,
 
182
                                            gdouble           percentage);
 
183
 
 
184
typedef gboolean (* GimpObjectFilterFunc)  (const GimpObject *object,
 
185
                                            gpointer          user_data);
 
186
 
 
187
typedef gint64   (* GimpMemsizeFunc)       (gpointer          instance,
 
188
                                            gint64           *gui_size);
 
189
 
 
190
typedef void     (* GimpImageMapApplyFunc) (gpointer          apply_data,
 
191
                                            PixelRegion      *srcPR,
 
192
                                            PixelRegion      *destPR);
176
193
 
177
194
 
178
195
/*  structs  */
185
202
  gdouble xtilt;
186
203
  gdouble ytilt;
187
204
  gdouble wheel;
 
205
  gdouble velocity;
188
206
};
189
207
 
190
208
 
 
209
#include "gegl/gegl-types.h"
191
210
#include "paint/paint-types.h"
192
211
#include "text/text-types.h"
193
212
#include "vectors/vectors-types.h"