{
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)
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();
}
}