| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CONFIG_RESOURCES |
| 14 |
#define H_FREAC_CONFIG_RESOURCES |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
namespace freac |
| 20 |
{ |
| 21 |
class ConfigureResources : public BoCA::ConfigLayer |
| 22 |
{ |
| 23 |
private: |
| 24 |
GroupBox *group_cpu; |
| 25 |
CheckBox *check_enable_parallel; |
| 26 |
CheckBox *check_enable_superfast; |
| 27 |
Text *text_threads; |
| 28 |
Slider *slider_threads; |
| 29 |
Text *text_threads_value; |
| 30 |
|
| 31 |
GroupBox *group_priority; |
| 32 |
Text *text_priority; |
| 33 |
Slider *slider_priority; |
| 34 |
Text *text_priority_value; |
| 35 |
|
| 36 |
Bool enableParallel; |
| 37 |
Bool enableSuperFast; |
| 38 |
slots: |
| 39 |
Void ToggleParallel(); |
| 40 |
|
| 41 |
Void ChangeConversionThreads(); |
| 42 |
Void ChangePriority(); |
| 43 |
public: |
| 44 |
ConfigureResources(); |
| 45 |
~ConfigureResources(); |
| 46 |
|
| 47 |
Int SaveSettings(); |
| 48 |
}; |
| 49 |
}; |
| 50 |
|
| 51 |
#endif |