moved last motion stuff to the end

svn path=/trunk/; revision=26233
This commit is contained in:
Sven Neumann
2008-07-18 11:58:57 +00:00
parent 92661af96c
commit 9d17a53267
2 changed files with 11 additions and 10 deletions

View File

@ -338,15 +338,15 @@ gimp_display_shell_init (GimpDisplayShell *shell)
shell->scroll_start_y = 0;
shell->button_press_before_focus = FALSE;
shell->highlight = NULL;
shell->mask = NULL;
shell->last_motion_time = 0;
shell->last_motion_delta_x = 0.0;
shell->last_motion_delta_y = 0.0;
shell->last_motion_distance = 0.0;
shell->last_motion_delta_time = 0.0;
shell->highlight = NULL;
shell->mask = NULL;
gtk_window_set_role (GTK_WINDOW (shell), "gimp-image-window");
gtk_window_set_resizable (GTK_WINDOW (shell), TRUE);

View File

@ -181,13 +181,6 @@ struct _GimpDisplayShell
gint scroll_start_y;
gboolean button_press_before_focus;
guint32 last_motion_time; /* previous time of a forwarded motion event */
guint32 last_read_motion_time;
gdouble last_motion_delta_time;
gdouble last_motion_delta_x;
gdouble last_motion_delta_y;
gdouble last_motion_distance;
GdkRectangle *highlight; /* in image coordinates, can be NULL */
GimpDrawable *mask;
GimpChannelType mask_color;
@ -195,6 +188,14 @@ struct _GimpDisplayShell
gpointer scroll_info;
GimpCoords last_coords; /* last motion event */
guint32 last_motion_time; /* previous time of a forwarded motion event */
guint32 last_read_motion_time;
gdouble last_motion_delta_time;
gdouble last_motion_delta_x;
gdouble last_motion_delta_y;
gdouble last_motion_distance;
};
struct _GimpDisplayShellClass