MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / ModulatableSlider

Method ModulatableSlider

Source/GUI/ModulatableSlider.cpp:13–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "ModulatableSlider.h"
12
13ModulatableSlider::ModulatableSlider()
14{
15 // Default values
16 parameterID = "";
17 lfoSource = 0;
18 lfoAmount = 0.0;
19 lfoValue = 0.0;
20 isModHandleMouseOver = false;
21 isModHandleMouseDown = false;
22 isDraggingMainSlider = false;
23
24 addAndMakeVisible(label);
25 label.setJustificationType(juce::Justification::centred);
26 label.setFont(juce::Font { juce::FontOptions().withName(KNOB_FONT).withHeight(KNOB_FONT_SIZE).withStyle("Plain") });
27 setTextBoxStyle(juce::Slider::NoTextBox, false, 0, 0);
28}
29
30bool ModulatableSlider::hitTest(int x, int y)
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected