| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_BONKCONFIG |
| 14 |
#define H_BONKCONFIG |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
using namespace BoCA; |
| 23 |
|
| 24 |
namespace BoCA |
| 25 |
{ |
| 26 |
class ConfigureBonk : public ConfigLayer |
| 27 |
{ |
| 28 |
private: |
| 29 |
GroupBox *group_quant; |
| 30 |
Slider *slider_quant; |
| 31 |
Text *text_quant; |
| 32 |
|
| 33 |
GroupBox *group_stereo; |
| 34 |
CheckBox *check_joint; |
| 35 |
|
| 36 |
GroupBox *group_mode; |
| 37 |
CheckBox *check_lossless; |
| 38 |
|
| 39 |
GroupBox *group_downsampling; |
| 40 |
Slider *slider_downsampling; |
| 41 |
Text *text_downsampling; |
| 42 |
|
| 43 |
GroupBox *group_predictor; |
| 44 |
Slider *slider_predictor; |
| 45 |
Text *text_predictor; |
| 46 |
|
| 47 |
Int quant; |
| 48 |
Int predictor; |
| 49 |
Int downsampling; |
| 50 |
Bool jstereo; |
| 51 |
Bool lossless; |
| 52 |
slots: |
| 53 |
Void SetQuantization(); |
| 54 |
Void SetPredictorSize(); |
| 55 |
Void SetDownsamplingRatio(); |
| 56 |
Void SetEncoderMode(); |
| 57 |
public: |
| 58 |
static const String ConfigID; |
| 59 |
|
| 60 |
ConfigureBonk(); |
| 61 |
~ConfigureBonk(); |
| 62 |
|
| 63 |
Int SaveSettings(); |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
#endif |