openshot-audio
0.1.2
|
Classes | |
struct | DragInProgress |
class | PopupDisplayComponent |
Public Member Functions | |
Pimpl (Slider &s, SliderStyle sliderStyle, TextEntryBoxPosition textBoxPosition) | |
~Pimpl () | |
void | registerListeners () |
bool | isHorizontal () const noexcept |
bool | isVertical () const noexcept |
bool | isRotary () const noexcept |
bool | isBar () const noexcept |
bool | incDecDragDirectionIsHorizontal () const noexcept |
float | getPositionOfValue (const double value) const |
void | setRange (const double newMin, const double newMax, const double newInt) |
double | getValue () const |
void | setValue (double newValue, const NotificationType notification) |
void | setMinValue (double newValue, const NotificationType notification, const bool allowNudgingOfOtherValues) |
void | setMaxValue (double newValue, const NotificationType notification, const bool allowNudgingOfOtherValues) |
void | setMinAndMaxValues (double newMinValue, double newMaxValue, const NotificationType notification) |
double | getMinValue () const |
double | getMaxValue () const |
void | triggerChangeMessage (const NotificationType notification) |
void | handleAsyncUpdate () override |
void | sendDragStart () |
void | sendDragEnd () |
void | buttonClicked (Button *button) override |
void | valueChanged (Value &value) override |
void | labelTextChanged (Label *label) override |
void | updateText () |
double | constrainedValue (double value) const |
float | getLinearSliderPos (const double value) const |
void | setSliderStyle (const SliderStyle newStyle) |
void | setRotaryParameters (const float startAngleRadians, const float endAngleRadians, const bool stopAtEnd) |
void | setVelocityModeParameters (const double sensitivity, const int threshold, const double offset, const bool userCanPressKeyToSwapMode) |
void | setSkewFactorFromMidPoint (const double sliderValueToShowAtMidPoint) |
void | setIncDecButtonsMode (const IncDecButtonMode mode) |
void | setTextBoxStyle (const TextEntryBoxPosition newPosition, const bool isReadOnly, const int textEntryBoxWidth, const int textEntryBoxHeight) |
void | setTextBoxIsEditable (const bool shouldBeEditable) |
void | showTextBox () |
void | hideTextBox (const bool discardCurrentEditorContents) |
void | setTextValueSuffix (const String &suffix) |
void | updateTextBoxEnablement () |
void | lookAndFeelChanged (LookAndFeel &lf) |
void | showPopupMenu () |
int | getThumbIndexAt (const MouseEvent &e) |
void | handleRotaryDrag (const MouseEvent &e) |
void | handleAbsoluteDrag (const MouseEvent &e) |
void | handleVelocityDrag (const MouseEvent &e) |
void | mouseDown (const MouseEvent &e) |
void | mouseDrag (const MouseEvent &e) |
void | mouseUp () |
bool | canDoubleClickToValue () const |
void | mouseDoubleClick () |
double | getMouseWheelDelta (double value, double wheelAmount) |
bool | mouseWheelMove (const MouseEvent &e, const MouseWheelDetails &wheel) |
void | modifierKeysChanged (const ModifierKeys &modifiers) |
bool | isAbsoluteDragMode (ModifierKeys mods) const |
void | restoreMouseIfHidden () |
void | paint (Graphics &g, LookAndFeel &lf) |
void | resized (LookAndFeel &lf) |
void | resizeIncDecButtons () |
![]() | |
AsyncUpdater () | |
virtual | ~AsyncUpdater () |
void | triggerAsyncUpdate () |
void | cancelPendingUpdate () noexcept |
void | handleUpdateNowIfNeeded () |
bool | isUpdatePending () const noexcept |
![]() | |
virtual | ~Listener () |
virtual void | buttonStateChanged (Button *) |
![]() | |
virtual | ~Listener () |
virtual void | editorShown (Label *, TextEditor &) |
virtual void | editorHidden (Label *, TextEditor &) |
![]() | |
Listener () | |
virtual | ~Listener () |
Static Public Member Functions | |
static void | sliderMenuCallback (const int result, Slider *slider) |
static double | smallestAngleBetween (const double a1, const double a2) noexcept |
|
inline |
|
inline |
|
inlineoverridevirtual |
Called when the button is clicked.
Implements juce::Button::Listener.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Called back to do whatever your class needs to do.
This method is called by the message thread at the next convenient time after the triggerAsyncUpdate() method has been called.
Implements juce::AsyncUpdater.
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtual |
Called when a Label's text has changed.
Implements juce::Label::Listener.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestaticnoexcept |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Called when a Value object is changed.
Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().
Implements juce::Value::Listener.
ScopedPointer<DragInProgress> juce::Slider::Pimpl::currentDrag |
Value juce::Slider::Pimpl::currentValue |
ScopedPointer<Button> juce::Slider::Pimpl::decButton |
double juce::Slider::Pimpl::doubleClickReturnValue |
bool juce::Slider::Pimpl::doubleClickToValue |
bool juce::Slider::Pimpl::editableText |
ScopedPointer<Button> juce::Slider::Pimpl::incButton |
IncDecButtonMode juce::Slider::Pimpl::incDecButtonMode |
bool juce::Slider::Pimpl::incDecButtonsSideBySide |
bool juce::Slider::Pimpl::incDecDragged |
double juce::Slider::Pimpl::interval |
bool juce::Slider::Pimpl::isVelocityBased |
double juce::Slider::Pimpl::lastAngle |
double juce::Slider::Pimpl::lastCurrentValue |
Time juce::Slider::Pimpl::lastMouseWheelTime |
double juce::Slider::Pimpl::lastValueMax |
double juce::Slider::Pimpl::lastValueMin |
ListenerList<SliderListener> juce::Slider::Pimpl::listeners |
double juce::Slider::Pimpl::maximum |
bool juce::Slider::Pimpl::menuEnabled |
double juce::Slider::Pimpl::minimum |
double juce::Slider::Pimpl::minMaxDiff |
Point<float> juce::Slider::Pimpl::mouseDragStartPos |
Point<float> juce::Slider::Pimpl::mousePosWhenLastDragged |
int juce::Slider::Pimpl::numDecimalPlaces |
Slider& juce::Slider::Pimpl::owner |
Component* juce::Slider::Pimpl::parentForPopupDisplay |
int juce::Slider::Pimpl::pixelsForFullDragExtent |
ScopedPointer<PopupDisplayComponent> juce::Slider::Pimpl::popupDisplay |
bool juce::Slider::Pimpl::popupDisplayEnabled |
float juce::Slider::Pimpl::rotaryEnd |
float juce::Slider::Pimpl::rotaryStart |
bool juce::Slider::Pimpl::rotaryStop |
bool juce::Slider::Pimpl::scrollWheelEnabled |
bool juce::Slider::Pimpl::sendChangeOnlyOnRelease |
double juce::Slider::Pimpl::skewFactor |
int juce::Slider::Pimpl::sliderBeingDragged |
Rectangle<int> juce::Slider::Pimpl::sliderRect |
int juce::Slider::Pimpl::sliderRegionSize |
int juce::Slider::Pimpl::sliderRegionStart |
bool juce::Slider::Pimpl::snapsToMousePos |
SliderStyle juce::Slider::Pimpl::style |
int juce::Slider::Pimpl::textBoxHeight |
TextEntryBoxPosition juce::Slider::Pimpl::textBoxPos |
int juce::Slider::Pimpl::textBoxWidth |
String juce::Slider::Pimpl::textSuffix |
bool juce::Slider::Pimpl::useDragEvents |
bool juce::Slider::Pimpl::userKeyOverridesVelocity |
ScopedPointer<Label> juce::Slider::Pimpl::valueBox |
Value juce::Slider::Pimpl::valueMax |
Value juce::Slider::Pimpl::valueMin |
double juce::Slider::Pimpl::valueOnMouseDown |
double juce::Slider::Pimpl::valueWhenLastDragged |
double juce::Slider::Pimpl::velocityModeOffset |
double juce::Slider::Pimpl::velocityModeSensitivity |
int juce::Slider::Pimpl::velocityModeThreshold |