openshot-audio
0.1.7
|
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 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 AsyncUpdater.
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtual |
Called when a Label's text has changed.
Implements 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 Value::Listener.
ScopedPointer<DragInProgress> Slider::Pimpl::currentDrag |
Value Slider::Pimpl::currentValue |
ScopedPointer<Button> Slider::Pimpl::decButton |
double Slider::Pimpl::doubleClickReturnValue |
bool Slider::Pimpl::doubleClickToValue |
bool Slider::Pimpl::editableText |
ScopedPointer<Button> Slider::Pimpl::incButton |
IncDecButtonMode Slider::Pimpl::incDecButtonMode |
bool Slider::Pimpl::incDecButtonsSideBySide |
bool Slider::Pimpl::incDecDragged |
double Slider::Pimpl::interval |
bool Slider::Pimpl::isVelocityBased |
double Slider::Pimpl::lastAngle |
double Slider::Pimpl::lastCurrentValue |
Time Slider::Pimpl::lastMouseWheelTime |
double Slider::Pimpl::lastValueMax |
double Slider::Pimpl::lastValueMin |
ListenerList<SliderListener> Slider::Pimpl::listeners |
double Slider::Pimpl::maximum |
bool Slider::Pimpl::menuEnabled |
double Slider::Pimpl::minimum |
double Slider::Pimpl::minMaxDiff |
Point<float> Slider::Pimpl::mouseDragStartPos |
Point<float> Slider::Pimpl::mousePosWhenLastDragged |
int Slider::Pimpl::numDecimalPlaces |
Slider& Slider::Pimpl::owner |
Component* Slider::Pimpl::parentForPopupDisplay |
int Slider::Pimpl::pixelsForFullDragExtent |
ScopedPointer<PopupDisplayComponent> Slider::Pimpl::popupDisplay |
bool Slider::Pimpl::popupDisplayEnabled |
float Slider::Pimpl::rotaryEnd |
float Slider::Pimpl::rotaryStart |
bool Slider::Pimpl::rotaryStop |
bool Slider::Pimpl::scrollWheelEnabled |
bool Slider::Pimpl::sendChangeOnlyOnRelease |
double Slider::Pimpl::skewFactor |
int Slider::Pimpl::sliderBeingDragged |
Rectangle<int> Slider::Pimpl::sliderRect |
int Slider::Pimpl::sliderRegionSize |
int Slider::Pimpl::sliderRegionStart |
bool Slider::Pimpl::snapsToMousePos |
SliderStyle Slider::Pimpl::style |
int Slider::Pimpl::textBoxHeight |
TextEntryBoxPosition Slider::Pimpl::textBoxPos |
int Slider::Pimpl::textBoxWidth |
String Slider::Pimpl::textSuffix |
bool Slider::Pimpl::useDragEvents |
bool Slider::Pimpl::userKeyOverridesVelocity |
ScopedPointer<Label> Slider::Pimpl::valueBox |
Value Slider::Pimpl::valueMax |
Value Slider::Pimpl::valueMin |
double Slider::Pimpl::valueOnMouseDown |
double Slider::Pimpl::valueWhenLastDragged |
double Slider::Pimpl::velocityModeOffset |
double Slider::Pimpl::velocityModeSensitivity |
int Slider::Pimpl::velocityModeThreshold |