projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dragcheckbox rework, boxblur create can grab
[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 d0c8ca248a2af78346a2d9af5fa3b47d696322be..22abb7345aa8913f493d54e945ae4765d3aba793 100644
(file)
--- a/
cinelerra-5.1/plugins/sketcher/sketcherwindow.C
+++ b/
cinelerra-5.1/plugins/sketcher/sketcherwindow.C
@@
-1299,6
+1299,17
@@
int SketcherDrag::handle_event()
gui->send_configure_change();
return 1;
}
gui->send_configure_change();
return 1;
}
+int SketcherWindow::handle_ungrab()
+{
+ CWindowGUI *cwindow_gui = plugin->server->mwindow->cwindow->gui;
+ int ret = ungrab(cwindow_gui);
+ if( ret ) {
+ drag->update(0);
+ plugin->config.drag = 0;
+ send_configure_change();
+ }
+ return ret;
+}
SketcherNewPoint::SketcherNewPoint(SketcherWindow *gui, Sketcher *plugin, int x, int y)
: BC_GenericButton(x, y, xS(96), _("New"))
SketcherNewPoint::SketcherNewPoint(SketcherWindow *gui, Sketcher *plugin, int x, int y)
: BC_GenericButton(x, y, xS(96), _("New"))