rework undo compression, add shift viewer overwr/copy/clip/splice, fix paste edl...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vwindow.h
index e75d941fbb0c5a27fd523cd6dda9e3b72fe9a6e5..d2a789a4e01659635376560ffcc06a5cdb51f9bf 100644 (file)
@@ -2,21 +2,21 @@
 /*
  * CINELERRA
  * Copyright (C) 1997-2012 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * 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 VWINDOW_H
@@ -41,6 +41,7 @@ public:
        ~VWindow();
 
        void handle_done_event(int result);
+       void handle_close_event(int result);
        BC_Window* new_gui();
 
        void load_defaults();
@@ -51,8 +52,6 @@ public:
        void change_source(EDL *edl);
 // Change source to 1 of master EDL's vwindow EDLs after a load.
        void change_source(int number);
-// Change source to folder and item number
-       void change_source(char *folder, int item);
 // Returns private EDL of VWindow
 // If an asset is dropped in, a new VWindow EDL is created in the master EDL
 // and this points to it.
@@ -62,7 +61,7 @@ public:
 //  Asset* get_asset();
        Indexable* get_source();
        void update(int do_timebar);
-               
+
        void update_position(int change_type = CHANGE_NONE,
                int use_slider = 1,
                int update_slider = 0,
@@ -70,15 +69,14 @@ public:
        int update_position(double position);
        void set_inpoint();
        void set_outpoint();
-       void clear_inpoint();
-       void clear_outpoint();
-       void copy();
+       void unset_inoutpoint();
+       void copy(int all);
        void splice_selection();
-       void overwrite_selection();     
+       void overwrite_selection();
        void delete_source(int do_main_edl, int update_gui);
        void goto_start();
        void goto_end();
-
+       void stop_playback(int wait);
 
        VTracking *playback_cursor;