fixes to mask, keyfrmpopup, listbox; update ver for build
authorGood Guy <good1.2guy@gmail.com>
Wed, 29 Jun 2016 20:11:24 +0000 (14:11 -0600)
committerGood Guy <good1.2guy@gmail.com>
Wed, 29 Jun 2016 20:11:24 +0000 (14:11 -0600)
cinelerra-5.1/PKGBUILD
cinelerra-5.1/bld_scripts/pkgbld.sh [new file with mode: 0755]
cinelerra-5.1/cinelerra.spec
cinelerra-5.1/cinelerra/cwindowgui.C
cinelerra-5.1/cinelerra/keyframepopup.C
cinelerra-5.1/debian/changelog
cinelerra-5.1/debian/control
cinelerra-5.1/guicast/bclistbox.C

index adaa80472b8ecf803bfb5f274c446b1d914f247c..ac15f1cd7b44c0b661f77c1cc00a258b4fa88df2 100644 (file)
@@ -1,7 +1,7 @@
 # Maintainer: goodguy <lists.cinelerra-cv.org>
 pkgname=cin
 pkgver=5.1
-pkgrel=20160619
+pkgrel=20160628
 pkgdesc="Cinelerra git://git.cinelerra-cv.org/goodguy/cinelerra.git ($pkgrel)"
 arch=('x86_64')
 url="http://www.cinelerra-cv.org"
diff --git a/cinelerra-5.1/bld_scripts/pkgbld.sh b/cinelerra-5.1/bld_scripts/pkgbld.sh
new file mode 100755 (executable)
index 0000000..5c545f5
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+makepkg
index 0dce39b3fbbbbb39b09494d12827dcca1780b96d..0ca8b5e30677de09809089724ca7d2a667826423 100644 (file)
@@ -1,4 +1,4 @@
-%define ver 20160606
+%define ver 20160628
 Summary: Multimedia Editing and construction
 Name: cinelerra
 Version: 5.1
index aa61b3e1ea0bbfa36500d2ba0616c0c49e3ba873..113a8cda6e2e3da0e1b02ef91215bbf4d3f07e4c 100644 (file)
@@ -1584,6 +1584,7 @@ int CWindowCanvas::do_mask(int &redraw, int &rerender,
                                        }
                                        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;
                                                        }
@@ -1605,6 +1606,7 @@ int CWindowCanvas::do_mask(int &redraw, int &rerender,
                                        }
                                        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);
                                                        }
@@ -1641,15 +1643,14 @@ int CWindowCanvas::do_mask(int &redraw, int &rerender,
 // 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);
                                                }
                                        }
index 45fdb127590a576257423ef85dc8551b99ae320b..13f2af0daf4503490fd8dd8d674ae1c8f231d0ec 100644 (file)
@@ -127,12 +127,13 @@ void KeyframePopup::handle_curve_mode(Autos *autos, Auto *auto_keyframe)
 // 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;
        }
 
@@ -161,6 +162,7 @@ void KeyframePopup::handle_curve_mode(Autos *autos, Auto *auto_keyframe)
                key_free_t->toggle_mode((FloatAuto*)auto_keyframe);
                key_free  ->toggle_mode((FloatAuto*)auto_keyframe);
        }
+       activate();
 }
 
 KeyframePopupDelete::KeyframePopupDelete(MWindow *mwindow, KeyframePopup *popup)
index 08b9df6dbb8dab15fe686b7c47244d88758b92c7..41f2b2be819a6e7dfa3bc6499352a348e062a665 100644 (file)
@@ -1,3 +1,9 @@
+cin (1:5.1.20160628) unstable; urgency=low
+
+  [ guy goode ]
+
+ -- lists <cinelerra@lists.cinelerra-cv.org>  Mon, 6 Jun 2016 18:39:04 +0700
+
 cin (1:5.1.20160606) unstable; urgency=low
 
   [ guy goode ]
index fdbc5b125c129c3ed61a799f14081c07a6949bc9..bb52c9158c2de69b67e99d1fd4ba1be947c51d58 100644 (file)
@@ -1,7 +1,7 @@
 Source: cin
 Section: video
 Priority: optional
-Standards-Version: 5.1.20160606
+Standards-Version: 5.1.20160628
 Maintainer: mailing list <cinelerra@lists.cinelerra-cv.org>
 Homepage: http://www.cinelerra-cv.org/
 Build-Depends: nasm, yasm, g++, gdb, build-essential, e2fsprogs,
index 6468b89fa4537bbfe9fb24ddbdc59252e62f3b2c..683985feec863488fb4969639fef2f083d1423cb 100644 (file)
@@ -2419,9 +2419,8 @@ int BC_ListBox::get_cursor_item(ArrayList<BC_ListBoxItem*> *data,
                        }
                }
        }
-       else
+       else if( gui ) {
 // Text is treed
-       {
 // Cursor is inside items rectangle
                if(cursor_x >= 0 &&
                        cursor_x < (yscrollbar ?