~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): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
20
20
#define __CORE_TYPES_H__
21
21
 
22
22
 
23
 
#include "libgimpmath/gimpmath.h"
24
23
#include "libgimpmodule/gimpmoduletypes.h"
25
24
#include "libgimpthumb/gimpthumb-types.h"
26
25
 
46
45
#define GIMP_COORDS_MAX_WHEEL         1.0
47
46
#define GIMP_COORDS_DEFAULT_WHEEL     0.5
48
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 }
 
53
 
49
54
 
50
55
/*  base classes  */
51
56
 
62
67
typedef struct _GimpContainer       GimpContainer;
63
68
typedef struct _GimpList            GimpList;
64
69
typedef struct _GimpDocumentList    GimpDocumentList;
 
70
typedef struct _GimpToolPresets     GimpToolPresets;
65
71
 
66
72
 
67
73
/*  context objects  */
79
85
 
80
86
/*  data objects  */
81
87
 
82
 
typedef struct _GimpDataFactory     GimpDataFactory;
83
 
typedef struct _GimpData            GimpData;
84
 
typedef struct _GimpBrush           GimpBrush;
85
 
typedef struct _GimpBrushGenerated  GimpBrushGenerated;
86
 
typedef struct _GimpBrushPipe       GimpBrushPipe;
87
 
typedef struct _GimpGradient        GimpGradient;
88
 
typedef struct _GimpPattern         GimpPattern;
89
 
typedef struct _GimpPalette         GimpPalette;
 
88
typedef struct _GimpDataFactory      GimpDataFactory;
 
89
typedef struct _GimpData             GimpData;
 
90
typedef struct _GimpBrush            GimpBrush;
 
91
typedef struct _GimpBrushClipboard   GimpBrushClipboard;
 
92
typedef struct _GimpBrushGenerated   GimpBrushGenerated;
 
93
typedef struct _GimpBrushPipe        GimpBrushPipe;
 
94
typedef struct _GimpGradient         GimpGradient;
 
95
typedef struct _GimpPattern          GimpPattern;
 
96
typedef struct _GimpPatternClipboard GimpPatternClipboard;
 
97
typedef struct _GimpPalette          GimpPalette;
90
98
 
91
99
 
92
100
/*  drawable objects  */
100
108
 
101
109
/*  undo objects  */
102
110
 
103
 
typedef struct _GimpUndo            GimpUndo;
104
 
typedef struct _GimpItemUndo        GimpItemUndo;
105
 
typedef struct _GimpUndoStack       GimpUndoStack;
106
 
typedef struct _GimpUndoAccumulator GimpUndoAccumulator;
 
111
typedef struct _GimpUndo              GimpUndo;
 
112
typedef struct _GimpImageUndo         GimpImageUndo;
 
113
typedef struct _GimpItemUndo          GimpItemUndo;
 
114
typedef struct _GimpItemPropUndo      GimpItemPropUndo;
 
115
typedef struct _GimpChannelUndo       GimpChannelUndo;
 
116
typedef struct _GimpChannelPropUndo   GimpChannelPropUndo;
 
117
typedef struct _GimpDrawableUndo      GimpDrawableUndo;
 
118
typedef struct _GimpDrawableModUndo   GimpDrawableModUndo;
 
119
typedef struct _GimpLayerMaskUndo     GimpLayerMaskUndo;
 
120
typedef struct _GimpLayerMaskPropUndo GimpLayerMaskPropUndo;
 
121
typedef struct _GimpLayerUndo         GimpLayerUndo;
 
122
typedef struct _GimpLayerPropUndo     GimpLayerPropUndo;
 
123
typedef struct _GimpMaskUndo          GimpMaskUndo;
 
124
typedef struct _GimpGuideUndo         GimpGuideUndo;
 
125
typedef struct _GimpSamplePointUndo   GimpSamplePointUndo;
 
126
typedef struct _GimpFloatingSelUndo   GimpFloatingSelUndo;
 
127
typedef struct _GimpUndoStack         GimpUndoStack;
 
128
typedef struct _GimpUndoAccumulator   GimpUndoAccumulator;
107
129
 
108
130
 
109
131
/*  misc objects  */
111
133
typedef struct _GimpBuffer          GimpBuffer;
112
134
typedef struct _GimpEnvironTable    GimpEnvironTable;
113
135
/* typedef struct _GimpGrid         GimpGrid; in config-types.h */
 
136
typedef struct _GimpGuide           GimpGuide;
114
137
typedef struct _GimpImagefile       GimpImagefile;
115
138
typedef struct _GimpImageMap        GimpImageMap;
 
139
typedef struct _GimpInterpreterDB   GimpInterpreterDB;
116
140
typedef struct _GimpParasiteList    GimpParasiteList;
117
141
typedef struct _GimpPdbProgress     GimpPdbProgress;
118
142
typedef struct _GimpProjection      GimpProjection;
 
143
typedef struct _GimpSubProgress     GimpSubProgress;
119
144
typedef struct _GimpStrokeDesc      GimpStrokeDesc;
120
145
/* typedef struct _GimpTemplate     GimpTemplate; in config-types.h */
121
146
 
131
156
typedef struct _GimpArea            GimpArea;
132
157
typedef struct _GimpCoords          GimpCoords;
133
158
typedef struct _GimpGradientSegment GimpGradientSegment;
134
 
typedef struct _GimpGuide           GimpGuide;
 
159
typedef struct _GimpSamplePoint     GimpSamplePoint;
135
160
typedef         guint32             GimpTattoo;
136
161
typedef struct _GimpPaletteEntry    GimpPaletteEntry;
137
162
typedef struct _GimpPlugInDebug     GimpPlugInDebug;
140
165
 
141
166
/*  functions  */
142
167
 
143
 
typedef void       (* GimpInitStatusFunc)   (const gchar         *text1,
144
 
                                             const gchar         *text2,
145
 
                                             gdouble              percentage);
146
 
 
147
 
typedef gboolean   (* GimpObjectFilterFunc) (const GimpObject    *object,
148
 
                                             gpointer             user_data);
149
 
 
150
 
typedef gboolean   (* GimpUndoPopFunc)      (GimpUndo            *undo,
151
 
                                             GimpUndoMode         undo_mode,
152
 
                                             GimpUndoAccumulator *accum);
153
 
typedef void       (* GimpUndoFreeFunc)     (GimpUndo            *undo,
154
 
                                             GimpUndoMode         undo_mode);
 
168
typedef void     (* GimpInitStatusFunc)   (const gchar      *text1,
 
169
                                           const gchar      *text2,
 
170
                                           gdouble           percentage);
 
171
 
 
172
typedef gboolean (* GimpObjectFilterFunc) (const GimpObject *object,
 
173
                                           gpointer          user_data);
 
174
 
 
175
typedef gint64   (* GimpMemsizeFunc)      (gpointer          instance,
 
176
                                           gint64           *gui_size);
155
177
 
156
178
 
157
179
/*  structs  */