|
DISTRHO Plugin Framework
|
Classes | |
| class | Callback |
Public Types | |
| enum | Orientation { Horizontal, Vertical } |
Public Member Functions | |
| ImageKnob (Window &parent, const Image &image, Orientation orientation=Vertical) noexcept | |
| ImageKnob (Widget *widget, const Image &image, Orientation orientation=Vertical) noexcept | |
| ImageKnob (const ImageKnob &imageKnob) | |
| ImageKnob & | operator= (const ImageKnob &imageKnob) |
| float | getValue () const noexcept |
| void | setDefault (float def) noexcept |
| void | setRange (float min, float max) noexcept |
| void | setStep (float step) noexcept |
| void | setValue (float value, bool sendCallback=false) noexcept |
| void | setUsingLogScale (bool yesNo) noexcept |
| void | setCallback (Callback *callback) noexcept |
| void | setOrientation (Orientation orientation) noexcept |
| void | setRotationAngle (int angle) |
| void | setImageLayerCount (uint count) noexcept |
Public Member Functions inherited from Widget | |
| Widget (Window &parent) | |
| Widget (Widget *groupWidget) | |
| virtual | ~Widget () |
| bool | isVisible () const noexcept |
| void | setVisible (bool yesNo) |
| void | show () |
| void | hide () |
| uint | getWidth () const noexcept |
| uint | getHeight () const noexcept |
| const Size< uint > & | getSize () const noexcept |
| void | setWidth (uint width) noexcept |
| void | setHeight (uint height) noexcept |
| void | setSize (uint width, uint height) noexcept |
| void | setSize (const Size< uint > &size) noexcept |
| int | getAbsoluteX () const noexcept |
| int | getAbsoluteY () const noexcept |
| const Point< int > & | getAbsolutePos () const noexcept |
| void | setAbsoluteX (int x) noexcept |
| void | setAbsoluteY (int y) noexcept |
| void | setAbsolutePos (int x, int y) noexcept |
| void | setAbsolutePos (const Point< int > &pos) noexcept |
| Application & | getParentApp () const noexcept |
| Window & | getParentWindow () const noexcept |
| bool | contains (int x, int y) const noexcept |
| bool | contains (const Point< int > &pos) const noexcept |
| void | repaint () noexcept |
| uint | getId () const noexcept |
| void | setId (uint id) noexcept |
Protected Member Functions | |
| void | onDisplay () override |
| bool | onMouse (const MouseEvent &) override |
| bool | onMotion (const MotionEvent &) override |
| bool | onScroll (const ScrollEvent &) override |
Protected Member Functions inherited from Widget | |
| virtual bool | onKeyboard (const KeyboardEvent &) |
| virtual bool | onSpecial (const SpecialEvent &) |
| virtual void | onResize (const ResizeEvent &) |
|
overrideprotectedvirtual |
A function called to draw the view contents with OpenGL.
Implements Widget.
|
overrideprotectedvirtual |
A function called when a mouse button is pressed or released.
Reimplemented from Widget.
|
overrideprotectedvirtual |
A function called when the pointer moves.
Reimplemented from Widget.
|
overrideprotectedvirtual |
A function called on scrolling (e.g. mouse wheel or track pad).
Reimplemented from Widget.
1.8.9.1