add bins/folders, fix listbox bad wdw ref, hide vicons fix, remove sort by time
[goodguy/history.git] / cinelerra-5.1 / cinelerra / edl.h
index bc22b29067182d4fdd0063acd4fdb4adaea46ea9..e4b56e57ce4c9ac69f046ab877b39e8a70367c4b 100644 (file)
@@ -29,6 +29,7 @@
 #include "assets.inc"
 #include "autoconf.inc"
 #include "bchash.inc"
+#include "binfolder.h"
 #include "edit.inc"
 #include "edits.inc"
 #include "edl.inc"
@@ -96,6 +97,8 @@ public:
        double frame_align(double position, int round);
 // frame align if cursor alignment is enabled
        double align_to_frame(double position, int round);
+// get position under cursor in pane
+       double get_cursor_position(int cursor_x, int pane_no);
 
 // increase track w/h to at least session w/h
        void retrack();
@@ -158,9 +161,13 @@ public:
 // Debug
        int dump(FILE *fp=stdout);
        static int next_id();
-// Create a new folder if it doesn't exist already
-       void new_folder(const char *folder);
-       void delete_folder(const char *folder);
+// folders
+       BinFolder *get_folder(int no);
+       int get_folder_number(const char *title);
+       const char *get_folder_name(int no);
+       int new_folder(const char *title);
+       int delete_folder(const char *title);
+
        void modify_edithandles(double oldposition,
                double newposition,
                int currentend,
@@ -256,7 +263,7 @@ public:
                ArrayList<Indexable*> *orig_assets, ArrayList<Indexable*> *proxy_assets);
 
 // Titles of all subfolders
-       ArrayList<char*> folders;
+       BinFolders folders;
 // Clips, Nested EDLs
        ClipEDLs clips, nested_edls;
 // EDLs being shown in VWindows