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

« back to all changes in this revision

Viewing changes to app/paint/paint-enums.c

  • 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:
9
9
 
10
10
/* enumerations from "./paint-enums.h" */
11
11
GType
12
 
gimp_clone_type_get_type (void)
13
 
{
14
 
  static const GEnumValue values[] =
15
 
  {
16
 
    { GIMP_IMAGE_CLONE, "GIMP_IMAGE_CLONE", "image-clone" },
17
 
    { GIMP_PATTERN_CLONE, "GIMP_PATTERN_CLONE", "pattern-clone" },
18
 
    { 0, NULL, NULL }
19
 
  };
20
 
 
21
 
  static const GimpEnumDesc descs[] =
22
 
  {
23
 
    { GIMP_IMAGE_CLONE, N_("Image source"), NULL },
24
 
    { GIMP_PATTERN_CLONE, N_("Pattern source"), NULL },
25
 
    { 0, NULL, NULL }
26
 
  };
27
 
 
28
 
  static GType type = 0;
29
 
 
30
 
  if (! type)
31
 
    {
32
 
      type = g_enum_register_static ("GimpCloneType", values);
33
 
      gimp_enum_set_value_descriptions (type, descs);
34
 
    }
35
 
 
36
 
  return type;
37
 
}
38
 
 
39
 
GType
40
 
gimp_clone_align_mode_get_type (void)
41
 
{
42
 
  static const GEnumValue values[] =
43
 
  {
44
 
    { GIMP_CLONE_ALIGN_NO, "GIMP_CLONE_ALIGN_NO", "no" },
45
 
    { GIMP_CLONE_ALIGN_YES, "GIMP_CLONE_ALIGN_YES", "yes" },
46
 
    { GIMP_CLONE_ALIGN_REGISTERED, "GIMP_CLONE_ALIGN_REGISTERED", "registered" },
47
 
    { 0, NULL, NULL }
48
 
  };
49
 
 
50
 
  static const GimpEnumDesc descs[] =
51
 
  {
52
 
    { GIMP_CLONE_ALIGN_NO, N_("Non-aligned"), NULL },
53
 
    { GIMP_CLONE_ALIGN_YES, N_("Aligned"), NULL },
54
 
    { GIMP_CLONE_ALIGN_REGISTERED, N_("Registered"), NULL },
55
 
    { 0, NULL, NULL }
56
 
  };
57
 
 
58
 
  static GType type = 0;
59
 
 
60
 
  if (! type)
61
 
    {
62
 
      type = g_enum_register_static ("GimpCloneAlignMode", values);
63
 
      gimp_enum_set_value_descriptions (type, descs);
64
 
    }
65
 
 
66
 
  return type;
67
 
}
68
 
 
69
 
GType
70
 
gimp_dodge_burn_type_get_type (void)
71
 
{
72
 
  static const GEnumValue values[] =
73
 
  {
74
 
    { GIMP_DODGE, "GIMP_DODGE", "dodge" },
75
 
    { GIMP_BURN, "GIMP_BURN", "burn" },
76
 
    { 0, NULL, NULL }
77
 
  };
78
 
 
79
 
  static const GimpEnumDesc descs[] =
80
 
  {
81
 
    { GIMP_DODGE, N_("Dodge"), NULL },
82
 
    { GIMP_BURN, N_("Burn"), NULL },
83
 
    { 0, NULL, NULL }
84
 
  };
85
 
 
86
 
  static GType type = 0;
87
 
 
88
 
  if (! type)
89
 
    {
90
 
      type = g_enum_register_static ("GimpDodgeBurnType", values);
 
12
gimp_brush_application_mode_get_type (void)
 
13
{
 
14
  static const GEnumValue values[] =
 
15
  {
 
16
    { GIMP_BRUSH_HARD, "GIMP_BRUSH_HARD", "hard" },
 
17
    { GIMP_BRUSH_SOFT, "GIMP_BRUSH_SOFT", "soft" },
 
18
    { 0, NULL, NULL }
 
19
  };
 
20
 
 
21
  static const GimpEnumDesc descs[] =
 
22
  {
 
23
    { GIMP_BRUSH_HARD, "GIMP_BRUSH_HARD", NULL },
 
24
    { GIMP_BRUSH_SOFT, "GIMP_BRUSH_SOFT", NULL },
 
25
    { 0, NULL, NULL }
 
26
  };
 
27
 
 
28
  static GType type = 0;
 
29
 
 
30
  if (! type)
 
31
    {
 
32
      type = g_enum_register_static ("GimpBrushApplicationMode", values);
 
33
      gimp_enum_set_value_descriptions (type, descs);
 
34
    }
 
35
 
 
36
  return type;
 
37
}
 
38
 
 
39
GType
 
40
gimp_perspective_clone_mode_get_type (void)
 
41
{
 
42
  static const GEnumValue values[] =
 
43
  {
 
44
    { GIMP_PERSPECTIVE_CLONE_MODE_ADJUST, "GIMP_PERSPECTIVE_CLONE_MODE_ADJUST", "adjust" },
 
45
    { GIMP_PERSPECTIVE_CLONE_MODE_PAINT, "GIMP_PERSPECTIVE_CLONE_MODE_PAINT", "paint" },
 
46
    { 0, NULL, NULL }
 
47
  };
 
48
 
 
49
  static const GimpEnumDesc descs[] =
 
50
  {
 
51
    { GIMP_PERSPECTIVE_CLONE_MODE_ADJUST, N_("Modify Perspective Plane"), NULL },
 
52
    { GIMP_PERSPECTIVE_CLONE_MODE_PAINT, N_("Perspective Clone"), NULL },
 
53
    { 0, NULL, NULL }
 
54
  };
 
55
 
 
56
  static GType type = 0;
 
57
 
 
58
  if (! type)
 
59
    {
 
60
      type = g_enum_register_static ("GimpPerspectiveCloneMode", values);
 
61
      gimp_enum_set_value_descriptions (type, descs);
 
62
    }
 
63
 
 
64
  return type;
 
65
}
 
66
 
 
67
GType
 
68
gimp_source_align_mode_get_type (void)
 
69
{
 
70
  static const GEnumValue values[] =
 
71
  {
 
72
    { GIMP_SOURCE_ALIGN_NO, "GIMP_SOURCE_ALIGN_NO", "no" },
 
73
    { GIMP_SOURCE_ALIGN_YES, "GIMP_SOURCE_ALIGN_YES", "yes" },
 
74
    { GIMP_SOURCE_ALIGN_REGISTERED, "GIMP_SOURCE_ALIGN_REGISTERED", "registered" },
 
75
    { GIMP_SOURCE_ALIGN_FIXED, "GIMP_SOURCE_ALIGN_FIXED", "fixed" },
 
76
    { 0, NULL, NULL }
 
77
  };
 
78
 
 
79
  static const GimpEnumDesc descs[] =
 
80
  {
 
81
    { GIMP_SOURCE_ALIGN_NO, N_("None"), NULL },
 
82
    { GIMP_SOURCE_ALIGN_YES, N_("Aligned"), NULL },
 
83
    { GIMP_SOURCE_ALIGN_REGISTERED, N_("Registered"), NULL },
 
84
    { GIMP_SOURCE_ALIGN_FIXED, N_("Fixed"), NULL },
 
85
    { 0, NULL, NULL }
 
86
  };
 
87
 
 
88
  static GType type = 0;
 
89
 
 
90
  if (! type)
 
91
    {
 
92
      type = g_enum_register_static ("GimpSourceAlignMode", values);
91
93
      gimp_enum_set_value_descriptions (type, descs);
92
94
    }
93
95
 
152
154
  return type;
153
155
}
154
156
 
155
 
GType
156
 
gimp_paint_application_mode_get_type (void)
157
 
{
158
 
  static const GEnumValue values[] =
159
 
  {
160
 
    { GIMP_PAINT_CONSTANT, "GIMP_PAINT_CONSTANT", "constant" },
161
 
    { GIMP_PAINT_INCREMENTAL, "GIMP_PAINT_INCREMENTAL", "incremental" },
162
 
    { 0, NULL, NULL }
163
 
  };
164
 
 
165
 
  static const GimpEnumDesc descs[] =
166
 
  {
167
 
    { GIMP_PAINT_CONSTANT, N_("Constant"), NULL },
168
 
    { GIMP_PAINT_INCREMENTAL, N_("Incremental"), NULL },
169
 
    { 0, NULL, NULL }
170
 
  };
171
 
 
172
 
  static GType type = 0;
173
 
 
174
 
  if (! type)
175
 
    {
176
 
      type = g_enum_register_static ("GimpPaintApplicationMode", values);
177
 
      gimp_enum_set_value_descriptions (type, descs);
178
 
    }
179
 
 
180
 
  return type;
181
 
}
182
 
 
183
157
 
184
158
/* Generated data ends here */
185
159