Krotos Modules 3
Loading...
Searching...
No Matches
KwidgetGUI_CoreEngine.h
Go to the documentation of this file.
1namespace krotos
2{
6 ScrollBar::Listener
7 {
8 public:
10 ~KwidgetGUI_CoreEngine() override;
11
13 void paint(Graphics& g) override;
14
15 void resized() override;
16 void resizeSampler();
17 void resizeGranular();
18 void resizeVehicle();
19
21 void tabSetupSampler();
22
24 void tabSetupGranular();
25
26 void soundChanged(KrotosSampleOscillatorSound* sound) override;
27
29 void fileHasBeenDropped(WaveformViewerAndEditor* areaSelectionComp, const StringArray& files) override;
30
31 // Callback when a selection area in waveform view has changed, passing array of ranges
32 void selectionsChanged(WaveformViewerAndEditor* /*areaSelectionComp*/,
33 std::vector<Range<int>> selections) override;
34
37 void resizeScrollBar(float newThumbSize) override;
38
43 void resizeScrollBarFromRange(Range<float> newRange) override;
44
46
47 void modeParamChanged(float val);
48
49 void finalSetup() override;
50 void scrollBarMoved(ScrollBar* scrollBarThatHasMoved, double newRangeStart) override;
51
53 void setAmpEnvTabGUI(Component* incomingGui) { m_ampEnvTab.addAndMakeVisible(incomingGui); }
54
56 void setPitchEnvTabGUI(Component* incomingGui) { m_pitchEnvTab.addAndMakeVisible(incomingGui); }
57
59 {
60 static const String ComboboxTriggerId;
61 static const String ComboboxModeId;
62 static const String SliderLevelGranularId;
63 static const String SliderLevelSamplerId;
64 static const String SliderLevelRandId;
65 static const String SliderPanId;
66 static const String SliderPanRandId;
67 static const String SliderPitchSamplerId;
68 static const String SliderPitchGranularId;
69 static const String SliderGrainMaxId;
70 static const String SliderGrainShapeId;
71 static const String SliderGrainStartId;
72 static const String SliderGrainSizeId;
73 static const String SliderGrainRateId;
74 static const String SliderGrainWidthId;
75 static const String SliderGrainStartRNDId;
76 static const String SliderGrainSizeRNDId;
77 static const String SliderGrainRateRNDId;
78 static const String SliderGrainWidthRNDId;
79 static const String SliderPitchGranularRNDId;
80 static const String ButtonMuteId;
81 static const String ButtonSoloId;
82 static const String ButtonRoundRobinId;
83 static const String ButtonAutoplayId;
84 static const String ButtonReleaseTriggerId;
85 static const String ButtonLoopToggleSamplerId;
86 static const String ButtonLoopToggleGranularId;
87 static const String ButtonNormaliseToggleId;
88 static const String ButtonSampleBrowserId;
89 static const String ButtonZoomInId;
90 static const String ButtonZoomOutId;
91 static const String ScrollBarWaveformViewId;
92 static const String WaveformViewerId;
93 static const String ButtonClearEngineId;
94 };
95
96 static const std::string analyticsEventClearedEngine;
97 static const std::string analyticsEventAddedSamplesEngine;
99 static const std::string analyticsEventRemovedEngine;
100
101 protected:
102 // Sliders
120
121 // Vehicle Sliders
126
131
139
140 // m_mode combobox is a hidden component
142 ComboBox m_trigger;
143
144 // Toggle Buttons
156
157 // Text Buttons
158 TextButton m_clearButton;
159 TextButton m_tweakButton1;
160 TextButton m_tweakButton2;
161
162 DrawableButton m_removeEngineButton;
163
164 TextButton m_muteButton;
165 std::unique_ptr<ButtonParameterAttachment> m_muteButtonAttachment;
166 TextButton m_soloButton;
167 std::unique_ptr<ButtonParameterAttachment> m_soloButtonAttachment;
168
169 bool m_noteIsOn{false};
170
171 std::unique_ptr<krotos::WaveformViewerAndEditor> m_waveformViewerAndEditor;
172
174
175 private:
176 String findSimilarAudioFile(String samplePaths, bool isCommandDown);
177
178 void setVehicleControlsVisibility(bool shouldBeVisible);
179 void setSamplerControlsVisibility(bool shouldBeVisible);
180 void setGranularControlsVisibility(bool shouldBeVisible);
181
184
185 void clearEngine();
186
188
205 void selectSample(int segmentIndex, bool cueSelected);
206
221 void selectSample(int segmentIndex);
222
223 void showSampleBrowser();
224
225 void mouseEnter(const MouseEvent& event);
226
227 // TODO: We can discuss setting this from parent for modularity
228 struct Layout
229 {
231 {
232 const Rectangle<int> muteButton{26, 184, 30, 14};
233 const Rectangle<int> soloButton{58, 184, 30, 14};
234 const Rectangle<int> triggerCombobox{25, 153, 64, 15};
235 const Rectangle<int> modeLabel{6, 4, 120, 15};
236
237 const int sliderXPos = 13;
238 const int sliderWidth = 87;
239 const int sliderHeight = 57;
240 const int randSliderXPos = 21;
241 const int randSliderWidth = 78;
242 const int randSliderHeight = 25;
243 const int spacingBetweenSliders = 34;
244
245 const Rectangle<int> levelSlider{sliderXPos, 19, sliderWidth, sliderHeight};
248 const Rectangle<int> panSlider{sliderXPos, 85, sliderWidth, sliderHeight};
251
253
255 {
256 const Rectangle<int> tabbedComponentBounds{454, 9, 300, 180};
257 const Rectangle<int> ampEnvBounds{0, 0, 300, 180};
258 const Rectangle<int> pitchEnvBounds{0, 0, 300, 180};
259 const int rotSliderTopRowY{8};
260 const int rotSliderBottomRowY{89};
261 const int rotSliderWidth{70};
262 const int rotSliderHeight{53};
270
271 // TODO: could put the other groups of controls into structs for readability?
272
273 const int loopToggleWidth{43};
274 const int normalizeToggleWidth{70};
275 const int autoplayToggleWidth{63};
277 const int randomToggleWidth{50};
278 Rectangle<int> toggleGroupAreaGranular{118, 180, 232, 16};
279 Rectangle<int> toggleGroupAreaSampler{118, 180, 313, 16};
280 const Rectangle<int> toggleGroupArea{118, 176, 232, 16};
281
282 const Rectangle<int> waveformArea{118, 24, 324, 142};
284 const Rectangle<int> waveformZoomControls{118, 167, 324, 11};
285 const Rectangle<int> waveformZoomScrollbar{118, 171, 284, 6};
286 const Rectangle<int> waveformZoomOutButton{430, 168, 12, 12};
287 const Rectangle<int> waveformZoomInButton{410, 168, 12, 12};
288 const int scrollBarY{171};
289 const int scrollBarHeight{6};
290
291 const Rectangle<int> sampleBrowserButton{118, 2, 324, 18};
295 const int sampleBrowserWidth{526};
296
297 const Rectangle<int> removeEngineButton{740, 2, 18, 18};
298 // text
299 const float modeFontSize{20.0f};
300 const float modeExtraKerning{0.02f};
302
304 {
305 const Colour waveformColour{Colour::fromFloatRGBA(0.7f, 0.7f, 0.7f, 1.0f)};
307
310
313
314 // flags for determining where callback came from
317
318 // Sound similarity search
320 SharedResourcePointer<AudioDataset> m_audioDataset;
321 const String m_defaultDropText{"Drag & Drop Samples Here or Click the Plus Icon"};
322
323 std::unique_ptr<Drawable> m_defaultDeleteButton, m_hoverDeleteButton;
324
327 DrawableButton m_zoomInButton{"zoomin", DrawableButton::ButtonStyle::ImageStretched};
328 DrawableButton m_zoomOutButton{"zoomout", DrawableButton::ButtonStyle::ImageStretched};
329 ScrollBar m_waveformViewScrollbar{/*isVertical*/ false};
330
331 std::unique_ptr<TabbedComponent> m_tabbedComponent;
333
338
339 // Flag to control sending midi trigger change notifications to analytics
341
342 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(KwidgetGUI_CoreEngine)
343 };
344} // namespace krotos
This class combines a ComboBox and a ComboboxParameterAttachment to simplify the process of adding to...
Definition AttachedComboBox.h:10
This class combines a Slider, Label, and a SliderAttachment to simplify the process of adding knobs t...
Definition AttachedSlider.h:10
This class combines a ToggleButton, Label, and a ButtonParameterAttachment to simplify the process of...
Definition AttachedToggleButton.h:10
Definition KrotosSynthesiserSound.h:19
static const StringArray ModeNames
Definition Kwidget_CoreEngine.h:79
EngineMode
Definition Kwidget_CoreEngine.h:83
@ modeGranular
Definition Kwidget_CoreEngine.h:85
Definition KwidgetGUI_CoreEngine.h:7
AttachedSlider m_DetuneRand
Definition KwidgetGUI_CoreEngine.h:116
TextButton m_clearButton
Definition KwidgetGUI_CoreEngine.h:158
AttachedComboBox m_mode
Definition KwidgetGUI_CoreEngine.h:141
AttachedSlider m_ARate
Definition KwidgetGUI_CoreEngine.h:123
void scrollBarMoved(ScrollBar *scrollBarThatHasMoved, double newRangeStart) override
Definition KwidgetGUI_CoreEngine.cpp:1019
void setGranularControlsVisibility(bool shouldBeVisible)
Definition KwidgetGUI_CoreEngineGranular.cpp:3
DrawableButton m_removeEngineButton
Definition KwidgetGUI_CoreEngine.h:162
TextButton m_tweakButton1
Definition KwidgetGUI_CoreEngine.h:159
void setVisibleControlsSet(Kwidget_CoreEngine::EngineMode mode)
Definition KwidgetGUI_CoreEngine.cpp:783
AttachedToggleButton m_AutoRateToggle
Definition KwidgetGUI_CoreEngine.h:149
SamplesTree m_samplesTree
Definition KwidgetGUI_CoreEngine.h:308
AttachedSlider m_Cycles
Definition KwidgetGUI_CoreEngine.h:136
std::unique_ptr< TabbedComponent > m_tabbedComponent
Definition KwidgetGUI_CoreEngine.h:331
void selectionsChanged(WaveformViewerAndEditor *, std::vector< Range< int > > selections) override
Definition KwidgetGUI_CoreEngine.cpp:959
String findSimilarAudioFile(String samplePaths, bool isCommandDown)
Definition KwidgetGUI_CoreEngine.cpp:969
AttachedSlider m_Tracking
Definition KwidgetGUI_CoreEngine.h:135
void setSamplerControlsVisibility(bool shouldBeVisible)
Definition KwidgetGUI_CoreEngineSampler.cpp:3
AttachedSlider m_Pan
Definition KwidgetGUI_CoreEngine.h:108
AttachedToggleButton m_QuenchToggle
Definition KwidgetGUI_CoreEngine.h:145
struct krotos::KwidgetGUI_CoreEngine::ColourDefinitions m_colourDefinitions
AttachedSlider m_Size
Definition KwidgetGUI_CoreEngine.h:104
AttachedSlider m_RateRand
Definition KwidgetGUI_CoreEngine.h:115
SharedResourcePointer< AudioDataset > m_audioDataset
Definition KwidgetGUI_CoreEngine.h:320
void setAmpEnvTabGUI(Component *incomingGui)
Definition KwidgetGUI_CoreEngine.h:53
void initialiseTabbedComponent()
Definition KwidgetGUI_CoreEngine.cpp:729
std::unique_ptr< krotos::WaveformViewerAndEditor > m_waveformViewerAndEditor
Definition KwidgetGUI_CoreEngine.h:171
AttachedSlider m_Shape
Definition KwidgetGUI_CoreEngine.h:132
void paint(Graphics &g) override
Definition KwidgetGUI_CoreEngine.cpp:826
KwidgetGUI_CoreEngine(Kwidget &owner, KrotosSampleOscillatorSound &sound)
Definition KwidgetGUI_CoreEngine.cpp:44
void resizeVehicle()
Definition KwidgetGUI_CoreEngineVehicle.cpp:35
AttachedToggleButton m_RobinToggle
Definition KwidgetGUI_CoreEngine.h:147
static const std::string analyticsEventAddedSamplesEngine
Definition KwidgetGUI_CoreEngine.h:97
AttachedToggleButton m_EnableMuteUpToggle
Definition KwidgetGUI_CoreEngine.h:154
void setVehicleControlsVisibility(bool shouldBeVisible)
Definition KwidgetGUI_CoreEngineVehicle.cpp:3
std::unique_ptr< Drawable > m_hoverDeleteButton
Definition KwidgetGUI_CoreEngine.h:323
bool m_noteIsOn
Definition KwidgetGUI_CoreEngine.h:169
AttachedSlider m_AMix
Definition KwidgetGUI_CoreEngine.h:125
std::unique_ptr< Drawable > m_defaultDeleteButton
Definition KwidgetGUI_CoreEngine.h:323
AttachedToggleButton m_SALoopToggle
Definition KwidgetGUI_CoreEngine.h:148
void clearEngine()
Definition KwidgetGUI_CoreEngine.cpp:1070
ScrollBar m_waveformViewScrollbar
Definition KwidgetGUI_CoreEngine.h:329
AttachedToggleButton m_EnableMuteDownToggle
Definition KwidgetGUI_CoreEngine.h:155
void resetBrowserButtonStatus()
Definition KwidgetGUI_CoreEngine.cpp:1082
AttachedSlider m_WidthRand
Definition KwidgetGUI_CoreEngine.h:117
ComboBox m_trigger
Definition KwidgetGUI_CoreEngine.h:142
AttachedSlider m_Distance
Definition KwidgetGUI_CoreEngine.h:134
TextButton m_muteButton
Definition KwidgetGUI_CoreEngine.h:164
TextButton m_soloButton
Definition KwidgetGUI_CoreEngine.h:166
AttachedSlider m_BMix
Definition KwidgetGUI_CoreEngine.h:130
std::unique_ptr< Drawable > m_zoomOutButtonImageMouseOver
Definition KwidgetGUI_CoreEngine.h:326
Component m_pitchEnvTab
Definition KwidgetGUI_CoreEngine.h:332
AttachedSlider m_SizeRand
Definition KwidgetGUI_CoreEngine.h:114
void mouseEnter(const MouseEvent &event)
Definition KwidgetGUI_CoreEngine.cpp:1125
AttachedSlider m_StartRand
Definition KwidgetGUI_CoreEngine.h:113
int m_prevSegmentIndex
Definition KwidgetGUI_CoreEngine.h:335
SampleBrowserButton m_sampleBrowserButton
Definition KwidgetGUI_CoreEngine.h:334
int m_selectedSegment
Definition KwidgetGUI_CoreEngine.h:336
String m_samplePathRestore
Definition KwidgetGUI_CoreEngine.h:319
AttachedSlider m_PanRand
Definition KwidgetGUI_CoreEngine.h:118
AttachedSlider m_ASize
Definition KwidgetGUI_CoreEngine.h:122
AttachedToggleButton m_AutoplayToggle
Definition KwidgetGUI_CoreEngine.h:153
Component m_extrasTab
Definition KwidgetGUI_CoreEngine.h:332
AttachedSlider m_Smoothing
Definition KwidgetGUI_CoreEngine.h:137
void resizeScrollBar(float newThumbSize) override
Definition KwidgetGUI_CoreEngine.cpp:1024
void tabSetupGranular()
Definition KwidgetGUI_CoreEngineGranular.cpp:59
~KwidgetGUI_CoreEngine() override
Definition KwidgetGUI_CoreEngine.cpp:812
static const std::string analyticsEventClearedEngine
Definition KwidgetGUI_CoreEngine.h:96
AttachedToggleButton m_NormaliseToggle
Definition KwidgetGUI_CoreEngine.h:152
void selectSample(int segmentIndex, bool cueSelected)
Updates the waveform veiwer and sample browser to show a single segment.
Definition KwidgetGUI_CoreEngine.cpp:1091
AttachedSlider m_Sensitivity
Definition KwidgetGUI_CoreEngine.h:138
void resizeGranular()
Definition KwidgetGUI_CoreEngineGranular.cpp:36
std::unique_ptr< ButtonParameterAttachment > m_muteButtonAttachment
Definition KwidgetGUI_CoreEngine.h:165
const String m_defaultDropText
Definition KwidgetGUI_CoreEngine.h:321
Label m_coreEngineNameLabel
Definition KwidgetGUI_CoreEngine.h:173
AttachedSlider m_Width
Definition KwidgetGUI_CoreEngine.h:107
AttachedSlider m_ASpray
Definition KwidgetGUI_CoreEngine.h:124
DrawableButton m_zoomInButton
Definition KwidgetGUI_CoreEngine.h:327
void modeParamChanged(float val)
Definition KwidgetGUI_CoreEngine.cpp:761
AttachedToggleButton m_PhaseSyncToggle
Definition KwidgetGUI_CoreEngine.h:151
void fileHasBeenDropped(WaveformViewerAndEditor *areaSelectionComp, const StringArray &files) override
Definition KwidgetGUI_CoreEngine.cpp:929
AttachedSlider m_GranularLevel
Definition KwidgetGUI_CoreEngine.h:111
void resizeScrollBarFromRange(Range< float > newRange) override
Definition KwidgetGUI_CoreEngine.cpp:1032
void soundChanged(KrotosSampleOscillatorSound *sound) override
Definition KwidgetGUI_CoreEngine.cpp:909
Component m_mainTab
Definition KwidgetGUI_CoreEngine.h:332
void showSampleBrowser()
Definition KwidgetGUI_CoreEngine.cpp:643
bool m_calledFromMarqueeEnd
Definition KwidgetGUI_CoreEngine.h:316
AttachedToggleButton m_PhaseLockToggle
Definition KwidgetGUI_CoreEngine.h:150
Component m_ampEnvTab
Definition KwidgetGUI_CoreEngine.h:332
AttachedSlider m_BRate
Definition KwidgetGUI_CoreEngine.h:128
Kwidget_CoreEngine::EngineMode m_activeMode
Definition KwidgetGUI_CoreEngine.h:311
void initialiseZoomControls()
Definition KwidgetGUI_CoreEngine.cpp:1043
AttachedSlider m_Level
Definition KwidgetGUI_CoreEngine.h:109
void finalSetup() override
Definition KwidgetGUI_CoreEngine.cpp:750
DrawableButton m_zoomOutButton
Definition KwidgetGUI_CoreEngine.h:328
TextButton m_tweakButton2
Definition KwidgetGUI_CoreEngine.h:160
AttachedSlider m_BSize
Definition KwidgetGUI_CoreEngine.h:127
AttachedSlider m_GrainMax
Definition KwidgetGUI_CoreEngine.h:133
bool m_calledFromMarqueeStart
Definition KwidgetGUI_CoreEngine.h:315
void setPitchEnvTabGUI(Component *incomingGui)
Definition KwidgetGUI_CoreEngine.h:56
std::unique_ptr< Drawable > m_zoomInButtonImage
Definition KwidgetGUI_CoreEngine.h:325
KrotosSampleOscillatorSound & m_soSound
Definition KwidgetGUI_CoreEngine.h:309
Component m_randTab
Definition KwidgetGUI_CoreEngine.h:332
int m_cuedSegment
Definition KwidgetGUI_CoreEngine.h:337
AttachedSlider m_BSpray
Definition KwidgetGUI_CoreEngine.h:129
static const std::string analyticsEventChangedMidiTriggerEngine
Definition KwidgetGUI_CoreEngine.h:98
void resized() override
Definition KwidgetGUI_CoreEngine.cpp:836
void tabSetupSampler()
Definition KwidgetGUI_CoreEngineSampler.cpp:35
AttachedSlider m_LevelRand
Definition KwidgetGUI_CoreEngine.h:119
AttachedSlider m_VehicleLevel
Definition KwidgetGUI_CoreEngine.h:112
std::unique_ptr< ButtonParameterAttachment > m_soloButtonAttachment
Definition KwidgetGUI_CoreEngine.h:167
AttachedSlider m_Detune
Definition KwidgetGUI_CoreEngine.h:106
AttachedSlider m_SamplerLevel
Definition KwidgetGUI_CoreEngine.h:110
AttachedSlider m_Rate
Definition KwidgetGUI_CoreEngine.h:105
AttachedToggleButton m_NORToggle
Definition KwidgetGUI_CoreEngine.h:146
Kwidget & m_owner
Definition KwidgetGUI_CoreEngine.h:312
bool m_notifyMidiTriggerChange
Definition KwidgetGUI_CoreEngine.h:340
void resizeSampler()
Definition KwidgetGUI_CoreEngineSampler.cpp:27
std::unique_ptr< Drawable > m_zoomInButtonImageMouseOver
Definition KwidgetGUI_CoreEngine.h:325
static const std::string analyticsEventRemovedEngine
Definition KwidgetGUI_CoreEngine.h:99
AttachedSlider m_Start
Definition KwidgetGUI_CoreEngine.h:103
std::unique_ptr< Drawable > m_zoomOutButtonImage
Definition KwidgetGUI_CoreEngine.h:326
struct krotos::KwidgetGUI_CoreEngine::Layout m_layout
Interface for a UI Component that controls a KwidgetProcessor.
Definition KwidgetGUI.h:24
Definition Kwidget.h:8
A ComboBox-like TextButton with some extra components used for the SampleBrowser UI/UX.
Definition SampleBrowserButton.h:7
A CustomParameterTree for managing a list of samples, with parameters for mute, solo,...
Definition SampleDataTree.h:9
Definition WaveformViewerAndEditor.h:13
Definition WaveformViewerAndEditor.h:8
Definition AirAbsorptionFilter.cpp:2
Definition KrotosSynthesiserSound.h:22
Definition KwidgetGUI_CoreEngine.h:304
const Colour waveformColour
Definition KwidgetGUI_CoreEngine.h:305
Definition KwidgetGUI_CoreEngine.h:59
static const String ButtonZoomInId
Definition KwidgetGUI_CoreEngine.h:89
static const String SliderPanId
Definition KwidgetGUI_CoreEngine.h:65
static const String ScrollBarWaveformViewId
Definition KwidgetGUI_CoreEngine.h:91
static const String SliderGrainSizeRNDId
Definition KwidgetGUI_CoreEngine.h:76
static const String SliderPanRandId
Definition KwidgetGUI_CoreEngine.h:66
static const String ButtonRoundRobinId
Definition KwidgetGUI_CoreEngine.h:82
static const String SliderGrainShapeId
Definition KwidgetGUI_CoreEngine.h:70
static const String SliderGrainWidthId
Definition KwidgetGUI_CoreEngine.h:74
static const String SliderLevelRandId
Definition KwidgetGUI_CoreEngine.h:64
static const String ButtonReleaseTriggerId
Definition KwidgetGUI_CoreEngine.h:84
static const String ButtonZoomOutId
Definition KwidgetGUI_CoreEngine.h:90
static const String ButtonSampleBrowserId
Definition KwidgetGUI_CoreEngine.h:88
static const String ButtonLoopToggleGranularId
Definition KwidgetGUI_CoreEngine.h:86
static const String ButtonLoopToggleSamplerId
Definition KwidgetGUI_CoreEngine.h:85
static const String SliderGrainStartId
Definition KwidgetGUI_CoreEngine.h:71
static const String SliderPitchGranularId
Definition KwidgetGUI_CoreEngine.h:68
static const String SliderGrainStartRNDId
Definition KwidgetGUI_CoreEngine.h:75
static const String SliderGrainWidthRNDId
Definition KwidgetGUI_CoreEngine.h:78
static const String SliderPitchGranularRNDId
Definition KwidgetGUI_CoreEngine.h:79
static const String ButtonMuteId
Definition KwidgetGUI_CoreEngine.h:80
static const String SliderLevelSamplerId
Definition KwidgetGUI_CoreEngine.h:63
static const String WaveformViewerId
Definition KwidgetGUI_CoreEngine.h:92
static const String SliderGrainRateRNDId
Definition KwidgetGUI_CoreEngine.h:77
static const String ComboboxModeId
Definition KwidgetGUI_CoreEngine.h:61
static const String ButtonClearEngineId
Definition KwidgetGUI_CoreEngine.h:93
static const String ButtonAutoplayId
Definition KwidgetGUI_CoreEngine.h:83
static const String ButtonSoloId
Definition KwidgetGUI_CoreEngine.h:81
static const String SliderGrainSizeId
Definition KwidgetGUI_CoreEngine.h:72
static const String SliderGrainMaxId
Definition KwidgetGUI_CoreEngine.h:69
static const String SliderPitchSamplerId
Definition KwidgetGUI_CoreEngine.h:67
static const String SliderGrainRateId
Definition KwidgetGUI_CoreEngine.h:73
static const String SliderLevelGranularId
Definition KwidgetGUI_CoreEngine.h:62
static const String ComboboxTriggerId
Definition KwidgetGUI_CoreEngine.h:60
static const String ButtonNormaliseToggleId
Definition KwidgetGUI_CoreEngine.h:87
Definition KwidgetGUI_CoreEngine.h:255
const Rectangle< int > rotSliderBottomL
Definition KwidgetGUI_CoreEngine.h:264
const int rotSliderWidth
Definition KwidgetGUI_CoreEngine.h:261
const Rectangle< int > rotSliderTopM
Definition KwidgetGUI_CoreEngine.h:265
const Rectangle< int > rotSliderTopL
Definition KwidgetGUI_CoreEngine.h:263
const Rectangle< int > pitchEnvBounds
Definition KwidgetGUI_CoreEngine.h:258
const int rotSliderHeight
Definition KwidgetGUI_CoreEngine.h:262
const Rectangle< int > rotSliderBottomR
Definition KwidgetGUI_CoreEngine.h:268
const Rectangle< int > rotSliderTopR
Definition KwidgetGUI_CoreEngine.h:267
const Rectangle< int > tabbedComponentBounds
Definition KwidgetGUI_CoreEngine.h:256
const Rectangle< int > ampEnvBounds
Definition KwidgetGUI_CoreEngine.h:257
const Rectangle< int > rotSliderBottomM
Definition KwidgetGUI_CoreEngine.h:266
const int rotSliderTopRowY
Definition KwidgetGUI_CoreEngine.h:259
const int rotSliderBottomRowY
Definition KwidgetGUI_CoreEngine.h:260
Definition KwidgetGUI_CoreEngine.h:231
const Rectangle< int > levelSlider
Definition KwidgetGUI_CoreEngine.h:245
const int spacingBetweenSliders
Definition KwidgetGUI_CoreEngine.h:243
const Rectangle< int > panSlider
Definition KwidgetGUI_CoreEngine.h:248
const int randSliderWidth
Definition KwidgetGUI_CoreEngine.h:241
const Rectangle< int > triggerCombobox
Definition KwidgetGUI_CoreEngine.h:234
const int sliderXPos
Definition KwidgetGUI_CoreEngine.h:237
const Rectangle< int > muteButton
Definition KwidgetGUI_CoreEngine.h:232
const Rectangle< int > soloButton
Definition KwidgetGUI_CoreEngine.h:233
const Rectangle< int > randLevelSlider
Definition KwidgetGUI_CoreEngine.h:246
const int sliderWidth
Definition KwidgetGUI_CoreEngine.h:238
const Rectangle< int > panRandSlider
Definition KwidgetGUI_CoreEngine.h:249
const Rectangle< int > modeLabel
Definition KwidgetGUI_CoreEngine.h:235
const int randSliderXPos
Definition KwidgetGUI_CoreEngine.h:240
const int sliderHeight
Definition KwidgetGUI_CoreEngine.h:239
const int randSliderHeight
Definition KwidgetGUI_CoreEngine.h:242
Definition KwidgetGUI_CoreEngine.h:229
const int waveformAreaCornerRadius
Definition KwidgetGUI_CoreEngine.h:283
const float modeFontSize
Definition KwidgetGUI_CoreEngine.h:299
Rectangle< int > toggleGroupAreaSampler
Definition KwidgetGUI_CoreEngine.h:279
const Rectangle< int > toggleGroupArea
Definition KwidgetGUI_CoreEngine.h:280
struct krotos::KwidgetGUI_CoreEngine::Layout::ControlsTabs controlsTabs
const Rectangle< int > waveformZoomScrollbar
Definition KwidgetGUI_CoreEngine.h:285
const int sampleBrowserWidth
Definition KwidgetGUI_CoreEngine.h:295
const int sampleBrowserItemHeight
Definition KwidgetGUI_CoreEngine.h:292
const int randomToggleWidth
Definition KwidgetGUI_CoreEngine.h:277
const float modeExtraKerning
Definition KwidgetGUI_CoreEngine.h:300
const int loopToggleWidth
Definition KwidgetGUI_CoreEngine.h:273
const int sampleBrowserMaxItemsToShow
Definition KwidgetGUI_CoreEngine.h:293
const int autoplayToggleWidth
Definition KwidgetGUI_CoreEngine.h:275
struct krotos::KwidgetGUI_CoreEngine::Layout::LeftPanel leftPanel
const Rectangle< int > waveformZoomInButton
Definition KwidgetGUI_CoreEngine.h:287
const Rectangle< int > waveformArea
Definition KwidgetGUI_CoreEngine.h:282
const int releaseTrigToggleWidth
Definition KwidgetGUI_CoreEngine.h:276
const Rectangle< int > waveformZoomOutButton
Definition KwidgetGUI_CoreEngine.h:286
const Rectangle< int > sampleBrowserButton
Definition KwidgetGUI_CoreEngine.h:291
const int scrollBarY
Definition KwidgetGUI_CoreEngine.h:288
const int normalizeToggleWidth
Definition KwidgetGUI_CoreEngine.h:274
const Rectangle< int > removeEngineButton
Definition KwidgetGUI_CoreEngine.h:297
Rectangle< int > toggleGroupAreaGranular
Definition KwidgetGUI_CoreEngine.h:278
const int sampleBrowserNumberOfFixedOptions
Definition KwidgetGUI_CoreEngine.h:294
const Rectangle< int > waveformZoomControls
Definition KwidgetGUI_CoreEngine.h:284
const int scrollBarHeight
Definition KwidgetGUI_CoreEngine.h:289