olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / performanceprefs.h
index 22ba6c439a90c3a2ee79ab344181b8e454741a63..61d43a5d49cfe1891dab260e603ac853c68b12b5 100644 (file)
@@ -46,7 +46,6 @@ public:
        int hot_node;
 
        CICacheSize *cache_size;
-       PrefsFileProbes *file_probes;
 
        enum
        {
@@ -57,24 +56,21 @@ public:
                TOTAL_COLUMNS
        };
 
-       ArrayList<BC_ListBoxItem*> nodes[4];
+       ArrayList<BC_ListBoxItem*> nodes[TOTAL_COLUMNS];
        PrefsRenderFarmEditNode *edit_node;
        PrefsRenderFarmPort *edit_port;
        PrefsRenderFarmNodes *node_list;
+       PrefsRenderFarmWatchdog *renderfarm_watchdog;
        FormatTools *brender_tools;
        BC_Title *master_rate;
-       PrefsYUV420P_DVDlace *yuv420p_dvdlace;
-       FileProbeDialog *file_probe_dialog;
 };
 
 
-
 class PrefsUseBRender : public BC_CheckBox
 {
 public:
        PrefsUseBRender(PreferencesWindow *pwindow,
-               int x,
-               int y);
+               int x, int y);
        int handle_event();
        PreferencesWindow *pwindow;
 };
@@ -84,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:
@@ -127,26 +120,6 @@ public:
        PreferencesWindow *pwindow;
 };
 
-class PrefsTrapSigSEGV : public BC_CheckBox
-{
-public:
-       PrefsTrapSigSEGV(PerformancePrefs *perf_prefs, int x, int y);
-       ~PrefsTrapSigSEGV();
-       int handle_event();
-
-       PerformancePrefs *perf_prefs;
-};
-
-class PrefsTrapSigINTR : public BC_CheckBox
-{
-public:
-       PrefsTrapSigINTR(PerformancePrefs *perf_prefs, int x, int y);
-       ~PrefsTrapSigINTR();
-       int handle_event();
-
-       PerformancePrefs *perf_prefs;
-};
-
 class PrefsFFMPEGMarkerIndecies : public BC_CheckBox
 {
 public:
@@ -158,9 +131,6 @@ public:
        PerformancePrefs *perf_prefs;
 };
 
-
-
-
 class PrefsRenderFarm : public BC_CheckBox
 {
 public:
@@ -169,7 +139,6 @@ public:
 
        int handle_event();
 
-
        PreferencesWindow *pwindow;
 };
 
@@ -181,7 +150,6 @@ public:
 
        int handle_event();
 
-
        PreferencesWindow *pwindow;
 };
 
@@ -191,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();
@@ -216,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();
@@ -230,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();
@@ -261,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;
@@ -316,7 +285,6 @@ public:
        int handle_event();
 
        PerformancePrefs *subwindow;
-
        PreferencesWindow *pwindow;
 };
 
@@ -332,13 +300,11 @@ 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();
 
@@ -346,13 +312,11 @@ public:
        PreferencesWindow *pwindow;
 };
 
-
-class PrefsYUV420P_DVDlace : public BC_CheckBox
+class PrefsRenderFarmWatchdog : public BC_TumbleTextBox
 {
 public:
-       PrefsYUV420P_DVDlace(PreferencesWindow *pwindow,
-               PerformancePrefs *subwindow,
-               int x, int y);
+       PrefsRenderFarmWatchdog(PreferencesWindow *pwindow,
+               PerformancePrefs *subwindow, int x, int y);
 
        int handle_event();
 
@@ -361,27 +325,16 @@ 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;
-};
 
+       int handle_event();
 
-class PrefsFileProbes : public BC_GenericButton
-{
-public:
        PreferencesWindow *pwindow;
-       PerformancePrefs *perf_prefs;
-
-       int handle_event();
-       PrefsFileProbes(PreferencesWindow *pwindow, PerformancePrefs *perf_prefs, int x, int y);
 };