no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / performanceprefs.h
index 3e00f9d8e828cb6269441d7865e29033f9ccf1db..6d15a416380313428e3c7dcb224f28163577095c 100644 (file)
@@ -46,6 +46,7 @@ public:
        int hot_node;
 
        CICacheSize *cache_size;
+       CacheTransitions *cache_transitions;
        PerfsUseHWDev *use_hw_dev;
 
        enum
@@ -338,6 +339,25 @@ public:
        PreferencesWindow *pwindow;
 };
 
+class CacheTransitions : public BC_CheckBox
+{
+public:
+       CacheTransitions(int x, int y,
+               PreferencesWindow *pwindow,
+               PerformancePrefs *subwindow);
+
+       int handle_event();
+
+       PreferencesWindow *pwindow;
+};
+
+class PrefsUseHWDevItems : public ArrayList<BC_ListBoxItem *>
+{
+public:
+       PrefsUseHWDevItems() {}
+       ~PrefsUseHWDevItems() { remove_all_objects(); }
+};
+
 class PrefsUseHWDev : public BC_PopupTextBox
 {
 public:
@@ -347,7 +367,7 @@ public:
        int handle_event();
 
        PreferencesWindow *pwindow;
-       ArrayList<BC_ListBoxItem *> hw_dev_names;
+       PrefsUseHWDevItems hw_dev_names;
 };