int hot_node;
CICacheSize *cache_size;
+ CacheTransitions *cache_transitions;
PerfsUseHWDev *use_hw_dev;
enum
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:
int handle_event();
PreferencesWindow *pwindow;
- ArrayList<BC_ListBoxItem *> hw_dev_names;
+ PrefsUseHWDevItems hw_dev_names;
};