}
else {
if(!gui->shift_down()) {
+ output_to_canvas(mwindow->edl, 0, canvas_x0, canvas_y0);
if(test_bbox(cursor_x, cursor_y, canvas_x0, canvas_y0)) {
selected_point = i;
}
}
else if(i < points.size() - 1) {
if(!gui->shift_down()) {
+ output_to_canvas(mwindow->edl, 0, canvas_x3, canvas_y3);
if(test_bbox(cursor_x, cursor_y, canvas_x3, canvas_y3)) {
selected_point = (i < points.size() - 1 ? i + 1 : 0);
}
// sprintf(string, "%d", (i < points.size() - 1 ? i + 1 : 0));
// canvas->draw_text((int)canvas_x + CONTROL_W, (int)canvas_y + CONTROL_W, string);
}
-
-// Draw second control point. Discard x2 and y2 after this.
- output_to_canvas(mwindow->edl, 0, x2, y2);
+// Draw second control point.
+ output_to_canvas(mwindow->edl, 0, canvas_x2, canvas_y2);
get_canvas()->draw_line(
(int)canvas_x, (int)canvas_y,
(int)canvas_x2, (int)canvas_y2);
get_canvas()->draw_rectangle(
- (int)x2 - CONTROL_W / 2,
- (int)y2 - CONTROL_H / 2,
+ (int)canvas_x2 - CONTROL_W / 2,
+ (int)canvas_y2 - CONTROL_H / 2,
CONTROL_W, CONTROL_H);
}
}
// determines the type of automation node. if floatauto, adds
// menu entries showing the curve mode of the node
{
+ deactivate();
if( !key_edit_displayed && keyframe_plugin ) {
add_item(key_edit);
key_edit_displayed = true;
}
else if( key_edit_displayed && !keyframe_plugin ) {
- remove_item(key_mbar);
+ remove_item(key_edit);
key_edit_displayed = false;
}
key_free_t->toggle_mode((FloatAuto*)auto_keyframe);
key_free ->toggle_mode((FloatAuto*)auto_keyframe);
}
+ activate();
}
KeyframePopupDelete::KeyframePopupDelete(MWindow *mwindow, KeyframePopup *popup)
Source: cin
Section: video
Priority: optional
-Standards-Version: 5.1.20160606
+Standards-Version: 5.1.20160628
Homepage: http://www.cinelerra-cv.org/
Build-Depends: nasm, yasm, g++, gdb, build-essential, e2fsprogs,