Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / dragcheckbox.h
index aaa165546b86ddcf46f8b2f7abe237b80857557c..2c294e1fc8bb6b0912ae78157c971c542a9150be 100644 (file)
@@ -1,3 +1,20 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
 #ifndef __DRAGCHECKBOX_H__
 #define __DRAGCHECKBOX_H__
 
@@ -15,6 +32,8 @@ public:
        virtual int64_t get_drag_position() = 0;
        virtual void update_gui() { return; };
        void create_objects();
+       int get_track_w();
+       int get_track_h();
        void bound();
        static void draw_boundary(VFrame *out, int x, int y, int w, int h);
 
@@ -24,6 +43,7 @@ public:
 
        int handle_event();
        int grab_event(XEvent *event);
+       int handle_ungrab();
        
        MWindow *mwindow;
        int grabbed, dragging, pending;