1 #ifndef PERFORMANCEPREFS_H
2 #define PERFORMANCEPREFS_H
7 #include "formattools.inc"
9 #include "preferencesthread.h"
12 class PrefsRenderFarmEditNode
;
13 class PrefsRenderFarmNodes
;
14 class PrefsRenderFarmPort
;
16 class PerformancePrefs
: public PreferencesDialog
19 PerformancePrefs(MWindow
*mwindow
, PreferencesWindow
*pwindow
);
24 void generate_node_list();
25 void update_node_list();
32 ArrayList
<BC_ListBoxItem
*> nodes
[4];
33 PrefsRenderFarmEditNode
*edit_node
;
34 PrefsRenderFarmPort
*edit_port
;
35 PrefsRenderFarmNodes
*node_list
;
36 FormatTools
*brender_tools
;
37 BC_Title
*master_rate
;
42 class PrefsUseBRender
: public BC_CheckBox
45 PrefsUseBRender(PreferencesWindow
*pwindow
,
49 PreferencesWindow
*pwindow
;
52 class PrefsBRenderFragment
: public BC_TumbleTextBox
55 PrefsBRenderFragment(PreferencesWindow
*pwindow
,
56 PerformancePrefs
*subwindow
,
60 PreferencesWindow
*pwindow
;
65 class PrefsRenderPreroll
: public BC_TumbleTextBox
68 PrefsRenderPreroll(PreferencesWindow
*pwindow
,
69 PerformancePrefs
*subwindow
,
72 ~PrefsRenderPreroll();
76 PreferencesWindow
*pwindow
;
79 class PrefsBRenderPreroll
: public BC_TumbleTextBox
82 PrefsBRenderPreroll(PreferencesWindow
*pwindow
,
83 PerformancePrefs
*subwindow
,
87 PreferencesWindow
*pwindow
;
90 class PrefsForceUniprocessor
: public BC_CheckBox
93 PrefsForceUniprocessor(PreferencesWindow
*pwindow
, int x
, int y
);
94 ~PrefsForceUniprocessor();
99 PreferencesWindow
*pwindow
;
105 class PrefsRenderFarm
: public BC_CheckBox
108 PrefsRenderFarm(PreferencesWindow
*pwindow
, int x
, int y
);
114 PreferencesWindow
*pwindow
;
117 class PrefsRenderFarmConsolidate
: public BC_CheckBox
120 PrefsRenderFarmConsolidate(PreferencesWindow
*pwindow
, int x
, int y
);
121 ~PrefsRenderFarmConsolidate();
126 PreferencesWindow
*pwindow
;
130 class PrefsRenderFarmPort
: public BC_TumbleTextBox
133 PrefsRenderFarmPort(PreferencesWindow
*pwindow
,
134 PerformancePrefs
*subwindow
,
137 ~PrefsRenderFarmPort();
141 PreferencesWindow
*pwindow
;
144 class PrefsRenderFarmJobs
: public BC_TumbleTextBox
147 PrefsRenderFarmJobs(PreferencesWindow
*pwindow
,
148 PerformancePrefs
*subwindow
,
151 ~PrefsRenderFarmJobs();
155 PreferencesWindow
*pwindow
;
158 class PrefsRenderFarmMountpoint
: public BC_TextBox
161 PrefsRenderFarmMountpoint(PreferencesWindow
*pwindow
,
162 PerformancePrefs
*subwindow
,
165 ~PrefsRenderFarmMountpoint();
169 PreferencesWindow
*pwindow
;
170 PerformancePrefs
*subwindow
;
173 class PrefsRenderFarmVFS
: public BC_CheckBox
176 PrefsRenderFarmVFS(PreferencesWindow
*pwindow
,
177 PerformancePrefs
*subwindow
,
181 PreferencesWindow
*pwindow
;
182 PerformancePrefs
*subwindow
;
185 class PrefsRenderFarmNodes
: public BC_ListBox
188 PrefsRenderFarmNodes(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
189 ~PrefsRenderFarmNodes();
192 int selection_changed();
193 int column_resize_event();
195 PreferencesWindow
*pwindow
;
196 PerformancePrefs
*subwindow
;
199 class PrefsRenderFarmEditNode
: public BC_TextBox
202 PrefsRenderFarmEditNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
203 ~PrefsRenderFarmEditNode();
207 PerformancePrefs
*subwindow
;
208 PreferencesWindow
*pwindow
;
211 class PrefsRenderFarmNewNode
: public BC_GenericButton
214 PrefsRenderFarmNewNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
215 ~PrefsRenderFarmNewNode();
220 PerformancePrefs
*subwindow
;
221 PreferencesWindow
*pwindow
;
224 class PrefsRenderFarmReplaceNode
: public BC_GenericButton
227 PrefsRenderFarmReplaceNode(PreferencesWindow
*pwindow
,
228 PerformancePrefs
*subwindow
,
231 ~PrefsRenderFarmReplaceNode();
236 PerformancePrefs
*subwindow
;
237 PreferencesWindow
*pwindow
;
240 class PrefsRenderFarmDelNode
: public BC_GenericButton
243 PrefsRenderFarmDelNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
244 ~PrefsRenderFarmDelNode();
248 PerformancePrefs
*subwindow
;
250 PreferencesWindow
*pwindow
;
253 class PrefsRenderFarmSortNodes
: public BC_GenericButton
256 PrefsRenderFarmSortNodes(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
257 ~PrefsRenderFarmSortNodes();
261 PerformancePrefs
*subwindow
;
262 PreferencesWindow
*pwindow
;
266 class PrefsRenderFarmReset
: public BC_GenericButton
269 PrefsRenderFarmReset(PreferencesWindow
*pwindow
,
270 PerformancePrefs
*subwindow
,
276 PerformancePrefs
*subwindow
;
277 PreferencesWindow
*pwindow
;
287 class PrefsSMP
: public BC_TextBox
290 PrefsSMP(int x
, int y
, PreferencesWindow
*pwindow
);
294 PreferencesWindow
*pwindow
;
298 class CICacheSize
: public BC_TextBox
301 CICacheSize(int x
, int y
, PreferencesWindow
*pwindow
, char *text
);
303 PreferencesWindow
*pwindow
;