~ubuntu-branches/ubuntu/saucy/gimp/saucy-security

« back to all changes in this revision

Viewing changes to libgimpbase/gimpbaseenums.h

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-05-20 19:21:01 UTC
  • mfrom: (1.1.26) (0.4.16 sid)
  • Revision ID: package-import@ubuntu.com-20120520192101-bs7zetx8ffoq2nfv
Tags: 2.8.0-2ubuntu1
* Merge from Debian unstable (LP: #908472). Remaining Changes:
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch:
    + Update some strings for Ubuntu
  - debian/control:
    + Update description
  - debian/rules:
    + Set gettext domain and update translation templates
* Drop the following patches that were applied upstream:
  - debian/patches/ghost-cursor.patch: fix Wacom tablet cursor events
  - debian/patches/embed-page-setup-dialog.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* LIBGIMP - The GIMP Library
2
2
 * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
3
3
 *
4
 
 * This library is free software; you can redistribute it and/or
 
4
 * This library is free software: you can redistribute it and/or
5
5
 * modify it under the terms of the GNU Lesser General Public
6
6
 * License as published by the Free Software Foundation; either
7
 
 * version 2 of the License, or (at your option) any later version.
 
7
 * version 3 of the License, or (at your option) any later version.
8
8
 *
9
9
 * This library is distributed in the hope that it will be useful,
10
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
 * Library General Public License for more details.
13
13
 *
14
14
 * You should have received a copy of the GNU Lesser General Public
15
 
 * License along with this library; if not, write to the
16
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
 
 * Boston, MA 02111-1307, USA.
 
15
 * License along with this library.  If not, see
 
16
 * <http://www.gnu.org/licenses/>.
18
17
 */
19
18
 
20
19
#ifndef __GIMP_BASE_ENUMS_H__
21
20
#define __GIMP_BASE_ENUMS_H__
22
21
 
23
22
 
 
23
/**
 
24
 * SECTION: gimpbaseenums
 
25
 * @title: gimpbaseenums
 
26
 * @short_description: Basic GIMP enumeration data types.
 
27
 *
 
28
 * Basic GIMP enumeration data types.
 
29
 **/
 
30
 
 
31
 
24
32
G_BEGIN_DECLS
25
33
 
26
34
/* For information look into the C source or the html documentation */
172
180
 
173
181
typedef enum
174
182
{
175
 
  GIMP_GRADIENT_LINEAR,                /*< desc="gradient|Linear"   >*/
 
183
  GIMP_GRADIENT_LINEAR,                /*< desc="Linear"            >*/
176
184
  GIMP_GRADIENT_BILINEAR,              /*< desc="Bi-linear"         >*/
177
185
  GIMP_GRADIENT_RADIAL,                /*< desc="Radial"            >*/
178
186
  GIMP_GRADIENT_SQUARE,                /*< desc="Square"            >*/
245
253
 
246
254
typedef enum
247
255
{
248
 
  GIMP_INTERPOLATION_NONE,   /*< desc="interpolation|None"   >*/
249
 
  GIMP_INTERPOLATION_LINEAR, /*< desc="interpolation|Linear" >*/
250
 
  GIMP_INTERPOLATION_CUBIC,  /*< desc="Cubic"                >*/
251
 
  GIMP_INTERPOLATION_LANCZOS /*< desc="Sinc (Lanczos3)"      >*/
 
256
  GIMP_INTERPOLATION_NONE,   /*< desc="None"            >*/
 
257
  GIMP_INTERPOLATION_LINEAR, /*< desc="Linear"          >*/
 
258
  GIMP_INTERPOLATION_CUBIC,  /*< desc="Cubic"           >*/
 
259
  GIMP_INTERPOLATION_LANCZOS /*< desc="Sinc (Lanczos3)" >*/
252
260
} GimpInterpolationType;
253
261
 
254
262
 
366
374
  GIMP_PDB_FLOATARRAY,
367
375
  GIMP_PDB_STRINGARRAY,
368
376
  GIMP_PDB_COLOR,
369
 
  GIMP_PDB_REGION,
 
377
  GIMP_PDB_ITEM,
370
378
  GIMP_PDB_DISPLAY,
371
379
  GIMP_PDB_IMAGE,
372
380
  GIMP_PDB_LAYER,
381
389
 
382
390
  /*  the following aliases are deprecated  */
383
391
  GIMP_PDB_PATH     = GIMP_PDB_VECTORS,     /*< skip >*/
384
 
  GIMP_PDB_BOUNDARY = GIMP_PDB_COLORARRAY   /*< skip >*/
 
392
  GIMP_PDB_BOUNDARY = GIMP_PDB_COLORARRAY,  /*< skip >*/
 
393
  GIMP_PDB_REGION   = GIMP_PDB_ITEM         /*< skip >*/
385
394
} GimpPDBArgType;
386
395
 
387
396
 
473
482
} GimpTextDirection;
474
483
 
475
484
 
 
485
#define GIMP_TYPE_TEXT_HINT_STYLE (gimp_text_hint_style_get_type ())
 
486
 
 
487
GType gimp_text_hint_style_get_type (void) G_GNUC_CONST;
 
488
 
 
489
typedef enum
 
490
{
 
491
  GIMP_TEXT_HINT_STYLE_NONE,     /*< desc="None"   >*/
 
492
  GIMP_TEXT_HINT_STYLE_SLIGHT,   /*< desc="Slight" >*/
 
493
  GIMP_TEXT_HINT_STYLE_MEDIUM,   /*< desc="Medium" >*/
 
494
  GIMP_TEXT_HINT_STYLE_FULL      /*< desc="Full"   >*/
 
495
} GimpTextHintStyle;
 
496
 
 
497
 
476
498
#define GIMP_TYPE_TEXT_JUSTIFICATION (gimp_text_justification_get_type ())
477
499
 
478
500
GType gimp_text_justification_get_type (void) G_GNUC_CONST;