X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fexportedl.h;h=79e34be7c72bb97b915b35265afb9154560b889d;hp=f809666fa434704e7e80eef55969268cf78daa88;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd diff --git a/cinelerra-5.1/cinelerra/exportedl.h b/cinelerra-5.1/cinelerra/exportedl.h index f809666f..79e34be7 100644 --- a/cinelerra-5.1/cinelerra/exportedl.h +++ b/cinelerra-5.1/cinelerra/exportedl.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2006 Andraz Tori - * + * * 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 EXPORTEDL_H @@ -42,7 +42,7 @@ class ExportEDLPathText; class ExportEDLWindowTrackList; class ExportEDLWindow; -class ExportEDLAsset +class ExportEDLAsset { public: ExportEDLAsset(MWindow *mwindow, EDL *edl); @@ -53,20 +53,23 @@ public: char path[BCTEXTLEN]; // type of EDL int edl_type; - + // We are currently exporting a track at once int track_number; - - + + void export_it(); MWindow *mwindow; - + int load_defaults(); int save_defaults(); private: - int edit_to_timecodes(Edit *edit, char *sourceinpoint, char *sourceoutpoint, char *destinpoint, char *destoutpoint, char *reel_name); + int edit_to_timecodes(Edit *edit, + char *sourceinpoint, char *sourceoutpoint, + char *destinpoint, char *destoutpoint, + char *reel_name); void double_to_CMX3600(double seconds, double frame_rate, char *str); - + }; class ExportEDLItem : public BC_MenuItem @@ -119,8 +122,9 @@ public: ExportEDLPathText *path_textbox; BC_RecentList *path_recent; ExportEDLWindowTrackList *track_list; - ArrayList items_tracks[2]; + const char *list_titles[2]; + int list_widths[2]; MWindow *mwindow; }; @@ -135,19 +139,15 @@ public: ExportEDLPathText(int x, int y, ExportEDLWindow *window); ~ExportEDLPathText(); int handle_event(); - + ExportEDLWindow *window; }; class ExportEDLWindowTrackList : public BC_ListBox { public: - ExportEDLWindowTrackList(ExportEDLWindow *window, - int x, - int y, - int w, - int h, - ArrayList *track_list); + ExportEDLWindowTrackList(ExportEDLWindow *window, + int x, int y, int w, int h); int handle_event(); ExportEDLWindow *window;