26 |
#include <gtkmm/label.h> |
#include <gtkmm/label.h> |
27 |
#include <gtkmm/notebook.h> |
#include <gtkmm/notebook.h> |
28 |
#include <gtkmm/table.h> |
#include <gtkmm/table.h> |
29 |
|
#include <gtkmm/tooltips.h> |
30 |
|
|
31 |
#include "paramedit.h" |
#include "paramedit.h" |
32 |
|
|
33 |
|
typedef BoolEntry<gig::DimensionRegion> DimregBoolEntry; |
34 |
|
|
35 |
class DimRegionEdit : public Gtk::Notebook |
class DimRegionEdit : public Gtk::Notebook |
36 |
{ |
{ |
37 |
public: |
public: |
41 |
Gtk::Entry* wSample; |
Gtk::Entry* wSample; |
42 |
|
|
43 |
protected: |
protected: |
44 |
|
Gtk::Tooltips tooltips; |
45 |
|
|
46 |
Gtk::Table* table[5]; |
Gtk::Table* table[5]; |
47 |
|
|
48 |
Gtk::Label* lSample; |
Gtk::Label* lSample; |
51 |
NumEntryTemp<double> eEG1Attack; |
NumEntryTemp<double> eEG1Attack; |
52 |
NumEntryTemp<double> eEG1Decay1; |
NumEntryTemp<double> eEG1Decay1; |
53 |
NumEntryTemp<double> eEG1Decay2; |
NumEntryTemp<double> eEG1Decay2; |
54 |
BoolEntry eEG1InfiniteSustain; |
DimregBoolEntry eEG1InfiniteSustain; |
55 |
NumEntryPermille eEG1Sustain; |
NumEntryPermille eEG1Sustain; |
56 |
NumEntryTemp<double> eEG1Release; |
NumEntryTemp<double> eEG1Release; |
57 |
BoolEntry eEG1Hold; |
DimregBoolEntry eEG1Hold; |
58 |
ChoiceEntryLeverageCtrl eEG1Controller; |
ChoiceEntryLeverageCtrl eEG1Controller; |
59 |
BoolEntry eEG1ControllerInvert; |
DimregBoolEntry eEG1ControllerInvert; |
60 |
NumEntryTemp<uint8_t> eEG1ControllerAttackInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerAttackInfluence; |
61 |
NumEntryTemp<uint8_t> eEG1ControllerDecayInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerDecayInfluence; |
62 |
NumEntryTemp<uint8_t> eEG1ControllerReleaseInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerReleaseInfluence; |
64 |
NumEntryTemp<uint16_t> eLFO1InternalDepth; |
NumEntryTemp<uint16_t> eLFO1InternalDepth; |
65 |
NumEntryTemp<uint16_t> eLFO1ControlDepth; |
NumEntryTemp<uint16_t> eLFO1ControlDepth; |
66 |
ChoiceEntry<gig::lfo1_ctrl_t> eLFO1Controller; |
ChoiceEntry<gig::lfo1_ctrl_t> eLFO1Controller; |
67 |
BoolEntry eLFO1FlipPhase; |
DimregBoolEntry eLFO1FlipPhase; |
68 |
BoolEntry eLFO1Sync; |
DimregBoolEntry eLFO1Sync; |
69 |
NumEntryPermille eEG2PreAttack; |
NumEntryPermille eEG2PreAttack; |
70 |
NumEntryTemp<double> eEG2Attack; |
NumEntryTemp<double> eEG2Attack; |
71 |
NumEntryTemp<double> eEG2Decay1; |
NumEntryTemp<double> eEG2Decay1; |
72 |
NumEntryTemp<double> eEG2Decay2; |
NumEntryTemp<double> eEG2Decay2; |
73 |
BoolEntry eEG2InfiniteSustain; |
DimregBoolEntry eEG2InfiniteSustain; |
74 |
NumEntryPermille eEG2Sustain; |
NumEntryPermille eEG2Sustain; |
75 |
NumEntryTemp<double> eEG2Release; |
NumEntryTemp<double> eEG2Release; |
76 |
ChoiceEntryLeverageCtrl eEG2Controller; |
ChoiceEntryLeverageCtrl eEG2Controller; |
77 |
BoolEntry eEG2ControllerInvert; |
DimregBoolEntry eEG2ControllerInvert; |
78 |
NumEntryTemp<uint8_t> eEG2ControllerAttackInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerAttackInfluence; |
79 |
NumEntryTemp<uint8_t> eEG2ControllerDecayInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerDecayInfluence; |
80 |
NumEntryTemp<uint8_t> eEG2ControllerReleaseInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerReleaseInfluence; |
82 |
NumEntryTemp<uint16_t> eLFO2InternalDepth; |
NumEntryTemp<uint16_t> eLFO2InternalDepth; |
83 |
NumEntryTemp<uint16_t> eLFO2ControlDepth; |
NumEntryTemp<uint16_t> eLFO2ControlDepth; |
84 |
ChoiceEntry<gig::lfo2_ctrl_t> eLFO2Controller; |
ChoiceEntry<gig::lfo2_ctrl_t> eLFO2Controller; |
85 |
BoolEntry eLFO2FlipPhase; |
DimregBoolEntry eLFO2FlipPhase; |
86 |
BoolEntry eLFO2Sync; |
DimregBoolEntry eLFO2Sync; |
87 |
NumEntryTemp<double> eEG3Attack; |
NumEntryTemp<double> eEG3Attack; |
88 |
NumEntryTemp<int16_t> eEG3Depth; |
NumEntryTemp<int16_t> eEG3Depth; |
89 |
NumEntryTemp<double> eLFO3Frequency; |
NumEntryTemp<double> eLFO3Frequency; |
90 |
NumEntryTemp<int16_t> eLFO3InternalDepth; |
NumEntryTemp<int16_t> eLFO3InternalDepth; |
91 |
NumEntryTemp<int16_t> eLFO3ControlDepth; |
NumEntryTemp<int16_t> eLFO3ControlDepth; |
92 |
ChoiceEntry<gig::lfo3_ctrl_t> eLFO3Controller; |
ChoiceEntry<gig::lfo3_ctrl_t> eLFO3Controller; |
93 |
BoolEntry eLFO3Sync; |
DimregBoolEntry eLFO3Sync; |
94 |
BoolEntry eVCFEnabled; |
DimregBoolEntry eVCFEnabled; |
95 |
ChoiceEntry<gig::vcf_type_t> eVCFType; |
ChoiceEntry<gig::vcf_type_t> eVCFType; |
96 |
ChoiceEntry<gig::vcf_cutoff_ctrl_t> eVCFCutoffController; |
ChoiceEntry<gig::vcf_cutoff_ctrl_t> eVCFCutoffController; |
97 |
BoolEntry eVCFCutoffControllerInvert; |
DimregBoolEntry eVCFCutoffControllerInvert; |
98 |
NumEntryTemp<uint8_t> eVCFCutoff; |
NumEntryTemp<uint8_t> eVCFCutoff; |
99 |
ChoiceEntry<gig::curve_type_t> eVCFVelocityCurve; |
ChoiceEntry<gig::curve_type_t> eVCFVelocityCurve; |
100 |
NumEntryTemp<uint8_t> eVCFVelocityScale; |
NumEntryTemp<uint8_t> eVCFVelocityScale; |
101 |
NumEntryTemp<uint8_t> eVCFVelocityDynamicRange; |
NumEntryTemp<uint8_t> eVCFVelocityDynamicRange; |
102 |
NumEntryTemp<uint8_t> eVCFResonance; |
NumEntryTemp<uint8_t> eVCFResonance; |
103 |
BoolEntry eVCFResonanceDynamic; |
DimregBoolEntry eVCFResonanceDynamic; |
104 |
ChoiceEntry<gig::vcf_res_ctrl_t> eVCFResonanceController; |
ChoiceEntry<gig::vcf_res_ctrl_t> eVCFResonanceController; |
105 |
BoolEntry eVCFKeyboardTracking; |
DimregBoolEntry eVCFKeyboardTracking; |
106 |
NumEntryTemp<uint8_t> eVCFKeyboardTrackingBreakpoint; |
NumEntryTemp<uint8_t> eVCFKeyboardTrackingBreakpoint; |
107 |
ChoiceEntry<gig::curve_type_t> eVelocityResponseCurve; |
ChoiceEntry<gig::curve_type_t> eVelocityResponseCurve; |
108 |
NumEntryTemp<uint8_t> eVelocityResponseDepth; |
NumEntryTemp<uint8_t> eVelocityResponseDepth; |
114 |
NumEntryX<uint8_t> eCrossfade_in_end; |
NumEntryX<uint8_t> eCrossfade_in_end; |
115 |
NumEntryX<uint8_t> eCrossfade_out_start; |
NumEntryX<uint8_t> eCrossfade_out_start; |
116 |
NumEntryX<uint8_t> eCrossfade_out_end; |
NumEntryX<uint8_t> eCrossfade_out_end; |
117 |
BoolEntry ePitchTrack; |
DimregBoolEntry ePitchTrack; |
118 |
ChoiceEntry<gig::dim_bypass_ctrl_t> eDimensionBypass; |
ChoiceEntry<gig::dim_bypass_ctrl_t> eDimensionBypass; |
119 |
NumEntryTemp<int8_t> ePan; |
NumEntryTemp<int8_t> ePan; |
120 |
BoolEntry eSelfMask; |
DimregBoolEntry eSelfMask; |
121 |
ChoiceEntryLeverageCtrl eAttenuationController; |
ChoiceEntryLeverageCtrl eAttenuationController; |
122 |
BoolEntry eInvertAttenuationController; |
DimregBoolEntry eInvertAttenuationController; |
123 |
NumEntryTemp<uint8_t> eAttenuationControllerThreshold; |
NumEntryTemp<uint8_t> eAttenuationControllerThreshold; |
124 |
NumEntryTemp<uint8_t> eChannelOffset; |
NumEntryTemp<uint8_t> eChannelOffset; |
125 |
BoolEntry eSustainDefeat; |
DimregBoolEntry eSustainDefeat; |
126 |
BoolEntry eMSDecode; |
DimregBoolEntry eMSDecode; |
127 |
NumEntryTemp<uint16_t> eSampleStartOffset; |
NumEntryTemp<uint16_t> eSampleStartOffset; |
128 |
NoteEntry eUnityNote; |
NoteEntry eUnityNote; |
129 |
NumEntryX<int16_t> eFineTune; |
NumEntryX<int16_t> eFineTune; |
130 |
NumEntryGain eGain; |
NumEntryGain eGain; |
131 |
|
BoolEntryPlus6 eGainPlus6; |
132 |
NumEntryX<uint32_t> eSampleLoops; |
NumEntryX<uint32_t> eSampleLoops; |
133 |
|
|
134 |
int rowno; |
int rowno; |