X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsketcher%2Fsketcherwindow.C;h=2235260cb80ed51f5f5f05348520756568207a3d;hb=048758971ba1956419f8f6d60100c2de28f1b16f;hp=eb5a49f23b8ffbb98641eee51fbdc541daaec939;hpb=9fed7535470aa37781733db836068da3b4c17a0d;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/sketcher/sketcherwindow.C b/cinelerra-5.1/plugins/sketcher/sketcherwindow.C index eb5a49f2..2235260c 100644 --- a/cinelerra-5.1/plugins/sketcher/sketcherwindow.C +++ b/cinelerra-5.1/plugins/sketcher/sketcherwindow.C @@ -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(); } }