repair clear_frame for alpha only cmodels, update msg txt
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / sketcher / sketcherwindow.C
index eb5a49f23b8ffbb98641eee51fbdc541daaec939..2235260cb80ed51f5f5f05348520756568207a3d 100644 (file)
@@ -102,16 +102,10 @@ SketcherCurveColor::SketcherCurveColor(SketcherWindow *gui,
 {
        this->gui = gui;
        this->color = CV_COLOR;
-       for( int i=0; i<3; ++i ) {
-               vframes[i] = new VFrame(w, h, BC_RGB888);
-               vframes[i]->clear_frame();
-       }
 }
 
 SketcherCurveColor::~SketcherCurveColor()
 {
-       for( int i=0; i<3; ++i )
-               delete vframes[i];
 }
 
 void SketcherCurveColor::handle_done_event(int result)
@@ -478,7 +472,7 @@ int SketcherWindow::grab_event(XEvent *event)
                if( grab_cursor_motion() )
                        pending_config = 1;
                if( pending_config ) {
-                       last_x = output_x;  last_y = output_y;
+                       last_x = track_x;  last_y = track_y;
                        send_configure_change();
                }
        }