[gimp/soc-2009-siox-drb] area



commit b81287e29c16ac3c52f3d1100a2ae5a5d50b1521
Author: Jie Ding <jieding src gnome org>
Date:   Thu Jul 2 02:47:55 2009 +0800

    area

 app/core/gimpdrawable-foreground-extract.c |   22 +++++++++++-----------
 app/core/gimpdrawable-foreground-extract.h |    4 ++--
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/app/core/gimpdrawable-foreground-extract.c b/app/core/gimpdrawable-foreground-extract.c
index f0b919b..82a5532 100644
--- a/app/core/gimpdrawable-foreground-extract.c
+++ b/app/core/gimpdrawable-foreground-extract.c
@@ -170,17 +170,17 @@ gimp_drawable_foreground_extract_siox_done (SioxState *state)
 void                                                   //(new)
 gimp_drawable_foreground_extract_siox_drb(GimpDrawable      *mask,
 					  SioxState         *state,
-			        	  gboolean          optionsrefinement,
-					  gint		    optionsthreshold,//( should be float)
-					  gint              radius,
-					  GimpProgress       *progress)
+			        	  gboolean           optionsrefinement,
+					  gfloat	     optionsthreshold,//( should be float)
+					  gint               radius,
+					  GimpProgress      *progress)
 {
     gint x = (state->x);
     gint y = (state->y);
     g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
     if (progress)
 	gimp_progress_start (progress, _("Detail Refinement Brush"), FALSE);
-    siox_forefound_drb(state,gimp_drawable_get_tiles(mask),
+    siox_foreground_drb(state,gimp_drawable_get_tiles(mask),
 		       optionsrefinement,x,y,
 		       radius,optionsthreshold);
     if (progress)
@@ -192,13 +192,13 @@ gimp_drawable_foreground_extract_siox_drb(GimpDrawable      *mask,
 
 
 void
-siox_forefound_drb (SioxState    *state,
+siox_foreground_drb (SioxState   *state,
 		    TileManager  *mask,
-		    gboolean     options,
-		    gint         x,
-		    gint	 y,
-		    gint         brushradius,
-		    gfloat       threshold)//
+		    gboolean      options,
+		    gint          x,
+		    gint	  y,
+		    gint          brushradius,
+		    gfloat        threshold)//
  {
      SioxDRBType drbbrush_mode;//
      gint sioxdrboptions = options;
diff --git a/app/core/gimpdrawable-foreground-extract.h b/app/core/gimpdrawable-foreground-extract.h
index 9426153..b19e4ac 100644
--- a/app/core/gimpdrawable-foreground-extract.h
+++ b/app/core/gimpdrawable-foreground-extract.h
@@ -45,11 +45,11 @@ void        gimp_drawable_foreground_extract_siox_done (SioxState      *state);
 void gimp_drawable_foreground_extract_siox_drb(GimpDrawable      *mask,//(new)
 					       SioxState         *state,
 					       gboolean           optionsrefinement,
-					       gint               optionsthreshold,//( should be float)
+					       gfloat             optionsthreshold,//( should be float)
 					       gint               radius,
 					       GimpProgress      *progress);
 
-void siox_forefound_drb (SioxState    *state,//(new)
+void siox_foreground_drb (SioxState    *state,//(new)
 			 TileManager  *mask,
 			 gboolean      options,
 			 gint          x,



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