apply sge motion plugin mods
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / performanceprefs.h
index 61d43a5d49cfe1891dab260e603ac853c68b12b5..6d15a416380313428e3c7dcb224f28163577095c 100644 (file)
@@ -46,6 +46,8 @@ public:
        int hot_node;
 
        CICacheSize *cache_size;
+       CacheTransitions *cache_transitions;
+       PerfsUseHWDev *use_hw_dev;
 
        enum
        {
@@ -337,5 +339,36 @@ 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:
+       PrefsUseHWDev(PreferencesWindow *pwindow,
+               PerformancePrefs *subwindow, int x, int y);
+       void create_objects();
+       int handle_event();
+
+       PreferencesWindow *pwindow;
+       PrefsUseHWDevItems hw_dev_names;
+};
+
 
 #endif