- gdouble w, h;
-
- if ((view->create_x0 == x) && (view->create_y0 == y)) {
- x = view->create_x0 + 36.0;
- y = view->create_y0 + 36.0;
- }
- gl_label_object_set_position (GL_LABEL_OBJECT(view->create_object),
- MIN (x, view->create_x0), MIN (y, view->create_y0),
- FALSE);
-
- w = MAX (x, view->create_x0) - MIN (x, view->create_x0);
- h = MAX (y, view->create_y0) - MIN (y, view->create_y0);
- gl_label_object_set_size (GL_LABEL_OBJECT(view->create_object), w, h, FALSE);
+ if ((view->create_x0 == x) && (view->create_y0 == y)) {
+ x = view->create_x0 + 36.0;
+ y = view->create_y0 + 36.0;
+ }
+
+ gl_view_ellipse_create_motion_event (view, x, y, circle);