X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fperformanceprefs.h;h=61d43a5d49cfe1891dab260e603ac853c68b12b5;hb=c279e21fc2394a7908bbd1ba8c79b116fe9fb14a;hp=b0d7e65f4a8b529b3106560888f5faaf7a6e12bd;hpb=78555663c7d2d1148808014cc7ada53255c0c305;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/performanceprefs.h b/cinelerra-5.1/cinelerra/performanceprefs.h index b0d7e65f..61d43a5d 100644 --- a/cinelerra-5.1/cinelerra/performanceprefs.h +++ b/cinelerra-5.1/cinelerra/performanceprefs.h @@ -56,22 +56,21 @@ public: TOTAL_COLUMNS }; - ArrayList nodes[4]; + ArrayList nodes[TOTAL_COLUMNS]; PrefsRenderFarmEditNode *edit_node; PrefsRenderFarmPort *edit_port; PrefsRenderFarmNodes *node_list; + PrefsRenderFarmWatchdog *renderfarm_watchdog; FormatTools *brender_tools; BC_Title *master_rate; }; - class PrefsUseBRender : public BC_CheckBox { public: PrefsUseBRender(PreferencesWindow *pwindow, - int x, - int y); + int x, int y); int handle_event(); PreferencesWindow *pwindow; }; @@ -81,14 +80,11 @@ class PrefsBRenderFragment : public BC_TumbleTextBox public: PrefsBRenderFragment(PreferencesWindow *pwindow, PerformancePrefs *subwindow, - int x, - int y); + int x, int y); int handle_event(); PreferencesWindow *pwindow; }; - - class PrefsRenderPreroll : public BC_TumbleTextBox { public: @@ -135,9 +131,6 @@ public: PerformancePrefs *perf_prefs; }; - - - class PrefsRenderFarm : public BC_CheckBox { public: @@ -146,7 +139,6 @@ public: int handle_event(); - PreferencesWindow *pwindow; }; @@ -158,7 +150,6 @@ public: int handle_event(); - PreferencesWindow *pwindow; }; @@ -168,8 +159,7 @@ class PrefsRenderFarmPort : public BC_TumbleTextBox public: PrefsRenderFarmPort(PreferencesWindow *pwindow, PerformancePrefs *subwindow, - int x, - int y); + int x, int y); ~PrefsRenderFarmPort(); int handle_event(); @@ -193,8 +183,7 @@ class PrefsRenderFarmJobs : public BC_TumbleTextBox public: PrefsRenderFarmJobs(PreferencesWindow *pwindow, PerformancePrefs *subwindow, - int x, - int y); + int x, int y); ~PrefsRenderFarmJobs(); int handle_event(); @@ -207,8 +196,7 @@ class PrefsRenderFarmMountpoint : public BC_TextBox public: PrefsRenderFarmMountpoint(PreferencesWindow *pwindow, PerformancePrefs *subwindow, - int x, - int y); + int x, int y); ~PrefsRenderFarmMountpoint(); int handle_event(); @@ -238,6 +226,10 @@ public: int handle_event(); int selection_changed(); int column_resize_event(); + void update_list(); + + const char *titles[PerformancePrefs::TOTAL_COLUMNS]; + int widths[PerformancePrefs::TOTAL_COLUMNS]; PreferencesWindow *pwindow; PerformancePrefs *subwindow; @@ -293,7 +285,6 @@ public: int handle_event(); PerformancePrefs *subwindow; - PreferencesWindow *pwindow; }; @@ -309,13 +300,23 @@ public: PreferencesWindow *pwindow; }; - class PrefsRenderFarmReset : public BC_GenericButton { public: PrefsRenderFarmReset(PreferencesWindow *pwindow, - PerformancePrefs *subwindow, - int x, int y); + PerformancePrefs *subwindow, int x, int y); + + int handle_event(); + + PerformancePrefs *subwindow; + PreferencesWindow *pwindow; +}; + +class PrefsRenderFarmWatchdog : public BC_TumbleTextBox +{ +public: + PrefsRenderFarmWatchdog(PreferencesWindow *pwindow, + PerformancePrefs *subwindow, int x, int y); int handle_event(); @@ -327,11 +328,12 @@ public: class CICacheSize : public BC_TumbleTextBox { public: - CICacheSize(int x, - int y, + CICacheSize(int x, int y, PreferencesWindow *pwindow, PerformancePrefs *subwindow); + int handle_event(); + PreferencesWindow *pwindow; };