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

« back to all changes in this revision

Viewing changes to app/core/gimpbrushpipe.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
 * Copyright (C) 1999 Adrian Likins and Tor Lillqvist
4
4
 *
24
24
#include "gimpbrush.h"
25
25
 
26
26
 
27
 
#define GIMP_BRUSH_PIPE_FILE_EXTENSION ".gih"
28
 
 
29
 
 
30
27
#define GIMP_TYPE_BRUSH_PIPE            (gimp_brush_pipe_get_type ())
31
28
#define GIMP_BRUSH_PIPE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_BRUSH_PIPE, GimpBrushPipe))
32
29
#define GIMP_BRUSH_PIPE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_BRUSH_PIPE, GimpBrushPipeClass))
55
52
  GimpBrush         parent_instance;
56
53
 
57
54
  gint              dimension;
58
 
  gint             *rank;       /* Size in each dimension */
59
 
  gint             *stride;     /* Aux for indexing */
60
 
  PipeSelectModes  *select;     /* One mode per dimension */
61
 
 
62
 
  gint             *index;      /* Current index for incremental dimensions */
63
 
 
64
 
  gint              nbrushes;   /* Might be less than the product of the
65
 
                                 * ranks in some odd special case */
 
55
  gint             *rank;       /* Size in each dimension */
 
56
  gint             *stride;     /* Aux for indexing */
 
57
  PipeSelectModes  *select;     /* One mode per dimension */
 
58
 
 
59
  gint             *index;      /* Current index for incremental dimensions */
 
60
 
 
61
  gint              nbrushes;   /* Might be less than the product of the
 
62
                                 * ranks in some odd special case */
66
63
  GimpBrush       **brushes;
67
64
  GimpBrush        *current;    /* Currently selected brush */
68
65
};
73
70
};
74
71
 
75
72
 
76
 
GType    gimp_brush_pipe_get_type (void) G_GNUC_CONST;
77
 
 
78
 
GList  * gimp_brush_pipe_load     (const gchar  *filename,
79
 
                                   gboolean      stingy_memory_use,
80
 
                                   GError      **error);
 
73
GType   gimp_brush_pipe_get_type (void) G_GNUC_CONST;
81
74
 
82
75
 
83
76
#endif  /* __GIMP_BRUSH_PIPE_H__ */
84
 
 
85
 
 
86