X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fdragcheckbox.h;h=d14da97ccc50123f94228a28e6aad6fef61ff4dd;hp=aaa165546b86ddcf46f8b2f7abe237b80857557c;hb=HEAD;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/dragcheckbox.h b/cinelerra-5.1/cinelerra/dragcheckbox.h index aaa16554..2c294e1f 100644 --- a/cinelerra-5.1/cinelerra/dragcheckbox.h +++ b/cinelerra-5.1/cinelerra/dragcheckbox.h @@ -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;