[gimp/soc-2013-combined-selection-tool] devel-docs & enumgen.pl edited files
- From: Ajay Ramanathan <ajayr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2013-combined-selection-tool] devel-docs & enumgen.pl edited files
- Date: Tue, 25 Jun 2013 11:58:23 +0000 (UTC)
commit 6d8e91774a222fa511234fc2628090a1b5b6afc9
Author: Ajay Ramanathan <ajay 010293 gmail com>
Date: Tue Jun 25 14:06:46 2013 +0530
devel-docs & enumgen.pl edited files
devel-docs/app/app-sections.txt | 3 +++
devel-docs/libgimp/libgimp-sections.txt | 3 +++
libgimp/gimpenums.c.tail | 2 ++
libgimp/gimpenums.h | 14 ++++++++++++++
tools/pdbgen/enums.pl | 12 ++++++++++++
5 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/devel-docs/app/app-sections.txt b/devel-docs/app/app-sections.txt
index 96b9a42..dba8558 100644
--- a/devel-docs/app/app-sections.txt
+++ b/devel-docs/app/app-sections.txt
@@ -10865,6 +10865,7 @@ GimpOffsetType
GimpOrientationType
GimpRotationType
GimpSelectCriterion
+GimpShapeType
GimpStrokeMethod
GimpThumbnailSize
GimpUndoEvent
@@ -10899,6 +10900,7 @@ GIMP_TYPE_OFFSET_TYPE
GIMP_TYPE_ORIENTATION_TYPE
GIMP_TYPE_ROTATION_TYPE
GIMP_TYPE_SELECT_CRITERION
+GIMP_TYPE_SHAPE_TYPE
GIMP_TYPE_STROKE_METHOD
GIMP_TYPE_THUMBNAIL_SIZE
GIMP_TYPE_UNDO_EVENT
@@ -10932,6 +10934,7 @@ gimp_offset_type_get_type
gimp_orientation_type_get_type
gimp_rotation_type_get_type
gimp_select_criterion_get_type
+gimp_shape_type_get_type
gimp_stroke_method_get_type
gimp_thumbnail_size_get_type
gimp_undo_event_get_type
diff --git a/devel-docs/libgimp/libgimp-sections.txt b/devel-docs/libgimp/libgimp-sections.txt
index 567b592..67c5009 100644
--- a/devel-docs/libgimp/libgimp-sections.txt
+++ b/devel-docs/libgimp/libgimp-sections.txt
@@ -78,6 +78,7 @@ GimpOffsetType
GimpOrientationType
GimpRotationType
GimpSelectCriterion
+GimpShapeType
gimp_enums_get_type_names
<SUBSECTION Standard>
GIMP_TYPE_BRUSH_APPLICATION_MODE
@@ -99,6 +100,7 @@ GIMP_TYPE_OFFSET_TYPE
GIMP_TYPE_ORIENTATION_TYPE
GIMP_TYPE_ROTATION_TYPE
GIMP_TYPE_SELECT_CRITERION
+GIMP_TYPE_SHAPE_TYPE
gimp_brush_application_mode_get_type
gimp_brush_generated_shape_get_type
gimp_convert_dither_type_get_type
@@ -118,6 +120,7 @@ gimp_offset_type_get_type
gimp_orientation_type_get_type
gimp_rotation_type_get_type
gimp_select_criterion_get_type
+gimp_shape_type_get_type
</SECTION>
<SECTION>
diff --git a/libgimp/gimpenums.c.tail b/libgimp/gimpenums.c.tail
index d472342..1a1cfa7 100644
--- a/libgimp/gimpenums.c.tail
+++ b/libgimp/gimpenums.c.tail
@@ -47,6 +47,7 @@ static const GimpGetTypeFunc get_type_funcs[] =
gimp_rotation_type_get_type,
gimp_run_mode_get_type,
gimp_select_criterion_get_type,
+ gimp_shape_type_get_type,
gimp_size_type_get_type,
gimp_stack_trace_mode_get_type,
gimp_text_direction_get_type,
@@ -105,6 +106,7 @@ static const gchar * const type_names[] =
"GimpRotationType",
"GimpRunMode",
"GimpSelectCriterion",
+ "GimpShapeType",
"GimpSizeType",
"GimpStackTraceMode",
"GimpTextDirection",
diff --git a/libgimp/gimpenums.h b/libgimp/gimpenums.h
index 5c992cb..6fa8ce7 100644
--- a/libgimp/gimpenums.h
+++ b/libgimp/gimpenums.h
@@ -300,6 +300,20 @@ typedef enum
} GimpSelectCriterion;
+#define GIMP_TYPE_SHAPE_TYPE (gimp_shape_type_get_type ())
+
+GType gimp_shape_type_get_type (void) G_GNUC_CONST;
+
+typedef enum
+{
+ GIMP_SHAPE_RECTANGLE,
+ GIMP_SHAPE_ELLIPSE,
+ GIMP_SHAPE_ROUNDED_RECT,
+ GIMP_SHAPE_N_POLYGON,
+ GIMP_SHAPE_SINGLE_ROW
+} GimpShapeType;
+
+
void gimp_enums_init (void);
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
diff --git a/tools/pdbgen/enums.pl b/tools/pdbgen/enums.pl
index b8d5329..c91951e 100644
--- a/tools/pdbgen/enums.pl
+++ b/tools/pdbgen/enums.pl
@@ -415,6 +415,18 @@ package Gimp::CodeGen::enums;
symbols => [ qw(GIMP_VECTORS_STROKE_TYPE_BEZIER) ],
mapping => { GIMP_VECTORS_STROKE_TYPE_BEZIER => '0' }
},
+ GimpShapeType =>
+ { contig => 1,
+ header => 'core/core-enums.h',
+ symbols => [ qw(GIMP_SHAPE_RECTANGLE GIMP_SHAPE_ELLIPSE
+ GIMP_SHAPE_ROUNDED_RECT GIMP_SHAPE_N_POLYGON
+ GIMP_SHAPE_SINGLE_ROW) ],
+ mapping => { GIMP_SHAPE_RECTANGLE => '0',
+ GIMP_SHAPE_ELLIPSE => '1',
+ GIMP_SHAPE_ROUNDED_RECT => '2',
+ GIMP_SHAPE_N_POLYGON => '3',
+ GIMP_SHAPE_SINGLE_ROW => '4' }
+ },
GimpConvertDitherType =>
{ contig => 1,
header => 'core/core-enums.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]