gimp r27625 - in trunk: . app/tools
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27625 - in trunk: . app/tools
- Date: Wed, 12 Nov 2008 06:17:01 +0000 (UTC)
Author: martinn
Date: Wed Nov 12 06:17:01 2008
New Revision: 27625
URL: http://svn.gnome.org/viewvc/gimp?rev=27625&view=rev
Log:
* app/tools/gimptransformtool.c: Align static function prototypes.
Modified:
trunk/ChangeLog
trunk/app/tools/gimptransformtool.c
Modified: trunk/app/tools/gimptransformtool.c
==============================================================================
--- trunk/app/tools/gimptransformtool.c (original)
+++ trunk/app/tools/gimptransformtool.c Wed Nov 12 06:17:01 2008
@@ -65,92 +65,90 @@
#include "gimp-intl.h"
-#define HANDLE_SIZE 25
+#define HANDLE_SIZE 25
#define MIN_HANDLE_SIZE 6
-/* local function prototypes */
+static GObject * gimp_transform_tool_constructor (GType type,
+ guint n_params,
+ GObjectConstructParam *params);
+static void gimp_transform_tool_finalize (GObject *object);
+
+static gboolean gimp_transform_tool_initialize (GimpTool *tool,
+ GimpDisplay *display,
+ GError **error);
+static void gimp_transform_tool_control (GimpTool *tool,
+ GimpToolAction action,
+ GimpDisplay *display);
+static void gimp_transform_tool_button_press (GimpTool *tool,
+ const GimpCoords *coords,
+ guint32 time,
+ GdkModifierType state,
+ GimpDisplay *display);
+static void gimp_transform_tool_button_release (GimpTool *tool,
+ const GimpCoords *coords,
+ guint32 time,
+ GdkModifierType state,
+ GimpButtonReleaseType release_type,
+ GimpDisplay *display);
+static void gimp_transform_tool_motion (GimpTool *tool,
+ const GimpCoords *coords,
+ guint32 time,
+ GdkModifierType state,
+ GimpDisplay *display);
+static gboolean gimp_transform_tool_key_press (GimpTool *tool,
+ GdkEventKey *kevent,
+ GimpDisplay *display);
+static void gimp_transform_tool_modifier_key (GimpTool *tool,
+ GdkModifierType key,
+ gboolean press,
+ GdkModifierType state,
+ GimpDisplay *display);
+static void gimp_transform_tool_oper_update (GimpTool *tool,
+ const GimpCoords *coords,
+ GdkModifierType state,
+ gboolean proximity,
+ GimpDisplay *display);
+static void gimp_transform_tool_cursor_update (GimpTool *tool,
+ const GimpCoords *coords,
+ GdkModifierType state,
+ GimpDisplay *display);
-static GObject * gimp_transform_tool_constructor (GType type,
- guint n_params,
- GObjectConstructParam *params);
-static void gimp_transform_tool_finalize (GObject *object);
-
-static gboolean gimp_transform_tool_initialize (GimpTool *tool,
- GimpDisplay *display,
- GError **error);
-static void gimp_transform_tool_control (GimpTool *tool,
- GimpToolAction action,
- GimpDisplay *display);
-static void gimp_transform_tool_button_press (GimpTool *tool,
- const GimpCoords *coords,
- guint32 time,
- GdkModifierType state,
- GimpDisplay *display);
-static void gimp_transform_tool_button_release (GimpTool *tool,
- const GimpCoords *coords,
- guint32 time,
- GdkModifierType state,
- GimpButtonReleaseType release_type,
- GimpDisplay *display);
-static void gimp_transform_tool_motion (GimpTool *tool,
- const GimpCoords *coords,
- guint32 time,
- GdkModifierType state,
- GimpDisplay *display);
-static gboolean gimp_transform_tool_key_press (GimpTool *tool,
- GdkEventKey *kevent,
- GimpDisplay *display);
-static void gimp_transform_tool_modifier_key (GimpTool *tool,
- GdkModifierType key,
- gboolean press,
- GdkModifierType state,
- GimpDisplay *display);
-static void gimp_transform_tool_oper_update (GimpTool *tool,
- const GimpCoords *coords,
- GdkModifierType state,
- gboolean proximity,
- GimpDisplay *display);
-static void gimp_transform_tool_cursor_update (GimpTool *tool,
- const GimpCoords *coords,
- GdkModifierType state,
- GimpDisplay *display);
+static void gimp_transform_tool_draw (GimpDrawTool *draw_tool);
-static void gimp_transform_tool_draw (GimpDrawTool *draw_tool);
-
-static void gimp_transform_tool_dialog_update (GimpTransformTool *tr_tool);
+static void gimp_transform_tool_dialog_update (GimpTransformTool *tr_tool);
static TileManager *
- gimp_transform_tool_real_transform (GimpTransformTool *tr_tool,
- GimpItem *item,
- gboolean mask_empty,
- GimpDisplay *display);
-
-static void gimp_transform_tool_halt (GimpTransformTool *tr_tool);
-static void gimp_transform_tool_bounds (GimpTransformTool *tr_tool,
- GimpDisplay *display);
-static void gimp_transform_tool_dialog (GimpTransformTool *tr_tool);
-static void gimp_transform_tool_prepare (GimpTransformTool *tr_tool,
- GimpDisplay *display);
-static void gimp_transform_tool_doit (GimpTransformTool *tr_tool,
- GimpDisplay *display);
-static void gimp_transform_tool_transform_bounding_box (GimpTransformTool *tr_tool);
-static void gimp_transform_tool_grid_recalc (GimpTransformTool *tr_tool);
-
-static void gimp_transform_tool_handles_recalc (GimpTransformTool *tr_tool,
- GimpDisplay *display);
-static void gimp_transform_tool_force_expose_preview (GimpTransformTool *tr_tool);
-
-static void gimp_transform_tool_response (GtkWidget *widget,
- gint response_id,
- GimpTransformTool *tr_tool);
-
-static void gimp_transform_tool_notify_type (GimpTransformOptions *options,
- GParamSpec *pspec,
- GimpTransformTool *tr_tool);
-static void gimp_transform_tool_notify_preview (GimpTransformOptions *options,
- GParamSpec *pspec,
- GimpTransformTool *tr_tool);
+ gimp_transform_tool_real_transform (GimpTransformTool *tr_tool,
+ GimpItem *item,
+ gboolean mask_empty,
+ GimpDisplay *display);
+
+static void gimp_transform_tool_halt (GimpTransformTool *tr_tool);
+static void gimp_transform_tool_bounds (GimpTransformTool *tr_tool,
+ GimpDisplay *display);
+static void gimp_transform_tool_dialog (GimpTransformTool *tr_tool);
+static void gimp_transform_tool_prepare (GimpTransformTool *tr_tool,
+ GimpDisplay *display);
+static void gimp_transform_tool_doit (GimpTransformTool *tr_tool,
+ GimpDisplay *display);
+static void gimp_transform_tool_transform_bounding_box (GimpTransformTool *tr_tool);
+static void gimp_transform_tool_grid_recalc (GimpTransformTool *tr_tool);
+
+static void gimp_transform_tool_handles_recalc (GimpTransformTool *tr_tool,
+ GimpDisplay *display);
+static void gimp_transform_tool_force_expose_preview (GimpTransformTool *tr_tool);
+
+static void gimp_transform_tool_response (GtkWidget *widget,
+ gint response_id,
+ GimpTransformTool *tr_tool);
+
+static void gimp_transform_tool_notify_type (GimpTransformOptions *options,
+ GParamSpec *pspec,
+ GimpTransformTool *tr_tool);
+static void gimp_transform_tool_notify_preview (GimpTransformOptions *options,
+ GParamSpec *pspec,
+ GimpTransformTool *tr_tool);
G_DEFINE_TYPE (GimpTransformTool, gimp_transform_tool, GIMP_TYPE_DRAW_TOOL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]