1 #ifndef PERFORMANCEPREFS_H
2 #define PERFORMANCEPREFS_H
5 #include "formattools.inc"
7 #include "preferencesthread.h"
11 class PrefsRenderFarmEditNode
;
12 class PrefsRenderFarmNodes
;
13 class PrefsRenderFarmPort
;
15 class PerformancePrefs
: public PreferencesDialog
18 PerformancePrefs(MWindow
*mwindow
, PreferencesWindow
*pwindow
);
23 void generate_node_list();
24 void update_node_list();
28 CICacheSize
*cache_size
;
30 ArrayList
<BC_ListBoxItem
*> nodes
[4];
31 PrefsRenderFarmEditNode
*edit_node
;
32 PrefsRenderFarmPort
*edit_port
;
33 PrefsRenderFarmNodes
*node_list
;
34 FormatTools
*brender_tools
;
35 BC_Title
*master_rate
;
40 class PrefsUseBRender
: public BC_CheckBox
43 PrefsUseBRender(PreferencesWindow
*pwindow
,
47 PreferencesWindow
*pwindow
;
50 class PrefsBRenderFragment
: public BC_TumbleTextBox
53 PrefsBRenderFragment(PreferencesWindow
*pwindow
,
54 PerformancePrefs
*subwindow
,
58 PreferencesWindow
*pwindow
;
63 class PrefsRenderPreroll
: public BC_TumbleTextBox
66 PrefsRenderPreroll(PreferencesWindow
*pwindow
,
67 PerformancePrefs
*subwindow
,
70 ~PrefsRenderPreroll();
74 PreferencesWindow
*pwindow
;
77 class PrefsBRenderPreroll
: public BC_TumbleTextBox
80 PrefsBRenderPreroll(PreferencesWindow
*pwindow
,
81 PerformancePrefs
*subwindow
,
85 PreferencesWindow
*pwindow
;
88 class PrefsForceUniprocessor
: public BC_CheckBox
91 PrefsForceUniprocessor(PreferencesWindow
*pwindow
, int x
, int y
);
92 ~PrefsForceUniprocessor();
97 PreferencesWindow
*pwindow
;
103 class PrefsRenderFarm
: public BC_CheckBox
106 PrefsRenderFarm(PreferencesWindow
*pwindow
, int x
, int y
);
112 PreferencesWindow
*pwindow
;
115 class PrefsRenderFarmConsolidate
: public BC_CheckBox
118 PrefsRenderFarmConsolidate(PreferencesWindow
*pwindow
, int x
, int y
);
119 ~PrefsRenderFarmConsolidate();
124 PreferencesWindow
*pwindow
;
128 class PrefsRenderFarmPort
: public BC_TumbleTextBox
131 PrefsRenderFarmPort(PreferencesWindow
*pwindow
,
132 PerformancePrefs
*subwindow
,
135 ~PrefsRenderFarmPort();
139 PreferencesWindow
*pwindow
;
142 class PrefsRenderFarmJobs
: public BC_TumbleTextBox
145 PrefsRenderFarmJobs(PreferencesWindow
*pwindow
,
146 PerformancePrefs
*subwindow
,
149 ~PrefsRenderFarmJobs();
153 PreferencesWindow
*pwindow
;
156 class PrefsRenderFarmMountpoint
: public BC_TextBox
159 PrefsRenderFarmMountpoint(PreferencesWindow
*pwindow
,
160 PerformancePrefs
*subwindow
,
163 ~PrefsRenderFarmMountpoint();
167 PreferencesWindow
*pwindow
;
168 PerformancePrefs
*subwindow
;
171 class PrefsRenderFarmVFS
: public BC_CheckBox
174 PrefsRenderFarmVFS(PreferencesWindow
*pwindow
,
175 PerformancePrefs
*subwindow
,
179 PreferencesWindow
*pwindow
;
180 PerformancePrefs
*subwindow
;
183 class PrefsRenderFarmNodes
: public BC_ListBox
186 PrefsRenderFarmNodes(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
187 ~PrefsRenderFarmNodes();
190 int selection_changed();
191 int column_resize_event();
193 PreferencesWindow
*pwindow
;
194 PerformancePrefs
*subwindow
;
197 class PrefsRenderFarmEditNode
: public BC_TextBox
200 PrefsRenderFarmEditNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
201 ~PrefsRenderFarmEditNode();
205 PerformancePrefs
*subwindow
;
206 PreferencesWindow
*pwindow
;
209 class PrefsRenderFarmNewNode
: public BC_GenericButton
212 PrefsRenderFarmNewNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
213 ~PrefsRenderFarmNewNode();
218 PerformancePrefs
*subwindow
;
219 PreferencesWindow
*pwindow
;
222 class PrefsRenderFarmReplaceNode
: public BC_GenericButton
225 PrefsRenderFarmReplaceNode(PreferencesWindow
*pwindow
,
226 PerformancePrefs
*subwindow
,
229 ~PrefsRenderFarmReplaceNode();
234 PerformancePrefs
*subwindow
;
235 PreferencesWindow
*pwindow
;
238 class PrefsRenderFarmDelNode
: public BC_GenericButton
241 PrefsRenderFarmDelNode(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
242 ~PrefsRenderFarmDelNode();
246 PerformancePrefs
*subwindow
;
248 PreferencesWindow
*pwindow
;
251 class PrefsRenderFarmSortNodes
: public BC_GenericButton
254 PrefsRenderFarmSortNodes(PreferencesWindow
*pwindow
, PerformancePrefs
*subwindow
, int x
, int y
);
255 ~PrefsRenderFarmSortNodes();
259 PerformancePrefs
*subwindow
;
260 PreferencesWindow
*pwindow
;
264 class PrefsRenderFarmReset
: public BC_GenericButton
267 PrefsRenderFarmReset(PreferencesWindow
*pwindow
,
268 PerformancePrefs
*subwindow
,
274 PerformancePrefs
*subwindow
;
275 PreferencesWindow
*pwindow
;
280 class CICacheSize
: public BC_TumbleTextBox
285 PreferencesWindow
*pwindow
,
286 PerformancePrefs
*subwindow
);
288 PreferencesWindow
*pwindow
;
299 // c-file-style: "linux"