[gegl-gtk] warp example: follow change in GEGL



commit cb7447efc927910e48dcba66644f5a2e3d97fa30
Author: Michael Murà <batolettre gmail com>
Date:   Wed Apr 18 21:01:04 2012 +0900

    warp example: follow change in GEGL

 examples/c/gegl-gtk-warp.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/examples/c/gegl-gtk-warp.c b/examples/c/gegl-gtk-warp.c
index 1f281ae..23802db 100644
--- a/examples/c/gegl-gtk-warp.c
+++ b/examples/c/gegl-gtk-warp.c
@@ -22,6 +22,18 @@
 #include <gtk/gtk.h>
 #include <gegl-gtk.h>
 
+/* gegl */
+typedef enum
+{
+  GEGL_WARP_BEHAVIOR_MOVE,
+  GEGL_WARP_BEHAVIOR_GROW,
+  GEGL_WARP_BEHAVIOR_SHRINK,
+  GEGL_WARP_BEHAVIOR_SWIRL_CW,
+  GEGL_WARP_BEHAVIOR_SWIRL_CCW,
+  GEGL_WARP_BEHAVIOR_ERASE,
+  GEGL_WARP_BEHAVIOR_SMOOTH
+} GeglWarpBehavior;
+
 /* Tool */
 static gdouble         cursor_x; /* Hold the cursor x position */
 static gdouble         cursor_y; /* Hold the cursor y position */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]