X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fperformanceprefs.h;h=6d15a416380313428e3c7dcb224f28163577095c;hb=166867a58d74619aa11aeb562a994cc364d62231;hp=61d43a5d49cfe1891dab260e603ac853c68b12b5;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/performanceprefs.h b/cinelerra-5.1/cinelerra/performanceprefs.h index 61d43a5d..6d15a416 100644 --- a/cinelerra-5.1/cinelerra/performanceprefs.h +++ b/cinelerra-5.1/cinelerra/performanceprefs.h @@ -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 +{ +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