X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frender.h;h=aa7b652b18d107a274591528222f7b3c7b0b704f;hp=1e025abcd95c078a2aebccc28961b36c7c7db44a;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hpb=723142d62d61cde588e961426440f839ca9dcda9 diff --git a/cinelerra-5.1/cinelerra/render.h b/cinelerra-5.1/cinelerra/render.h index 1e025abc..aa7b652b 100644 --- a/cinelerra-5.1/cinelerra/render.h +++ b/cinelerra-5.1/cinelerra/render.h @@ -129,7 +129,7 @@ public: // This should be integrated into the Asset Class. static int check_asset(EDL *edl, Asset &asset); // strategy to conform with using renderfarm. - static int get_strategy(int use_renderfarm, int file_per_label); + static int get_strategy(int use_renderfarm, int use_labels); int get_strategy(); // Force filename to have a 0 padded number if rendering to a list. int check_numbering(Asset &asset); @@ -152,6 +152,7 @@ public: void start_progress(); void stop_progress(); + void show_progress(); // Procedure the run function should use. int mode; @@ -168,6 +169,8 @@ public: int in_progress; // Background compression must be disabled when direct frame copying and reenabled afterwards int direct_frame_copying; +// beep on done + int beep; Preferences *preferences; VFrame *compressed_output; @@ -178,7 +181,7 @@ public: PlayableTracks *playable_tracks; PackageDispatcher *packages; Mutex *package_lock, *counter_lock; - int file_per_label; + int use_labels; int range_type; // Total selection to render in seconds double total_start, total_end; @@ -274,6 +277,16 @@ public: }; +class RenderBeepOnDone : public BC_CheckBox +{ +public: + RenderBeepOnDone(RenderWindow *rwindow, int x, int y); + int handle_event(); + + RenderWindow *rwindow; +}; + + class RenderWindow : public BC_Window { public: @@ -293,6 +306,7 @@ public: RenderRangeSelection *rangeselection; RenderRangeInOut *rangeinout; RenderRange1Frame *range1frame; + RenderBeepOnDone *beep_on_done; RenderProfile *renderprofile;