rework deglitch/optimize/stop_playback, sams ladspa icons, reticle color, tweak frame...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / performanceprefs.h
index 22ba6c439a90c3a2ee79ab344181b8e454741a63..6e1e99c80f6b81a3217717a41e6c2b8e4eeb0001 100644 (file)
@@ -46,7 +46,6 @@ public:
        int hot_node;
 
        CICacheSize *cache_size;
-       PrefsFileProbes *file_probes;
 
        enum
        {
@@ -57,14 +56,12 @@ public:
                TOTAL_COLUMNS
        };
 
-       ArrayList<BC_ListBoxItem*> nodes[4];
+       ArrayList<BC_ListBoxItem*> nodes[TOTAL_COLUMNS];
        PrefsRenderFarmEditNode *edit_node;
        PrefsRenderFarmPort *edit_port;
        PrefsRenderFarmNodes *node_list;
        FormatTools *brender_tools;
        BC_Title *master_rate;
-       PrefsYUV420P_DVDlace *yuv420p_dvdlace;
-       FileProbeDialog *file_probe_dialog;
 };
 
 
@@ -127,26 +124,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:
@@ -261,6 +238,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;
@@ -347,21 +328,6 @@ public:
 };
 
 
-class PrefsYUV420P_DVDlace : public BC_CheckBox
-{
-public:
-       PrefsYUV420P_DVDlace(PreferencesWindow *pwindow,
-               PerformancePrefs *subwindow,
-               int x, int y);
-
-       int handle_event();
-
-       PerformancePrefs *subwindow;
-       PreferencesWindow *pwindow;
-};
-
-
-
 class CICacheSize : public BC_TumbleTextBox
 {
 public:
@@ -374,15 +340,4 @@ public:
 };
 
 
-class PrefsFileProbes : public BC_GenericButton
-{
-public:
-       PreferencesWindow *pwindow;
-       PerformancePrefs *perf_prefs;
-
-       int handle_event();
-       PrefsFileProbes(PreferencesWindow *pwindow, PerformancePrefs *perf_prefs, int x, int y);
-};
-
-
 #endif