projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
sketcher
/
sketcherwindow.C
diff --git
a/cinelerra-5.1/plugins/sketcher/sketcherwindow.C
b/cinelerra-5.1/plugins/sketcher/sketcherwindow.C
index eb5a49f23b8ffbb98641eee51fbdc541daaec939..2235260cb80ed51f5f5f05348520756568207a3d 100644
(file)
--- 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;
{
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()
{
}
SketcherCurveColor::~SketcherCurveColor()
{
- for( int i=0; i<3; ++i )
- delete vframes[i];
}
void SketcherCurveColor::handle_done_event(int result)
}
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 ) {
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();
}
}
send_configure_change();
}
}