DISTRHO Plugin Framework
|
Classes | |
class | Callback |
Public Member Functions | |
ImageBaseSlider (Widget *parentWidget, const ImageType &image) noexcept | |
float | getValue () const noexcept |
void | setValue (float value, bool sendCallback=false) noexcept |
void | setDefault (float def) noexcept |
void | setStartPos (const Point< int > &startPos) noexcept |
void | setStartPos (int x, int y) noexcept |
void | setEndPos (const Point< int > &endPos) noexcept |
void | setEndPos (int x, int y) noexcept |
void | setInverted (bool inverted) noexcept |
void | setRange (float min, float max) noexcept |
void | setStep (float step) noexcept |
void | setCallback (Callback *callback) noexcept |
![]() | |
SubWidget (Widget *parentWidget) | |
virtual | ~SubWidget () |
template<typename T > | |
bool | contains (T x, T y) const noexcept |
template<typename T > | |
bool | contains (const Point< T > &pos) const noexcept |
int | getAbsoluteX () const noexcept |
int | getAbsoluteY () const noexcept |
Point< int > | getAbsolutePos () const noexcept |
Rectangle< int > | getAbsoluteArea () const noexcept |
Rectangle< uint > | getConstrainedAbsoluteArea () 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 |
Widget * | getParentWidget () const noexcept |
void | repaint () noexcept override |
virtual void | toFront () |
void | setNeedsFullViewportDrawing (bool needsFullViewportForDrawing=true) |
void | setNeedsViewportScaling (bool needsViewportScaling=true, double autoScaleFactor=0.0) |
void | setSkipDrawing (bool skipDrawing=true) |
![]() | |
virtual | ~Widget () |
bool | isVisible () const noexcept |
void | setVisible (bool visible) |
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 |
uint | getId () const noexcept |
void | setId (uint id) noexcept |
Application & | getApp () const noexcept |
Window & | getWindow () const noexcept |
const GraphicsContext & | getGraphicsContext () const noexcept |
TopLevelWidget * | getTopLevelWidget () const noexcept |
Application & | getParentApp () const noexcept |
Window & | getParentWindow () const noexcept |
Protected Member Functions | |
void | onDisplay () override |
bool | onMouse (const MouseEvent &) override |
bool | onMotion (const MotionEvent &) override |
![]() | |
virtual void | onPositionChanged (const PositionChangedEvent &) |
![]() | |
virtual bool | onKeyboard (const KeyboardEvent &) |
virtual bool | onSpecial (const SpecialEvent &) |
virtual bool | onCharacterInput (const CharacterInputEvent &) |
virtual bool | onScroll (const ScrollEvent &) |
virtual void | onResize (const ResizeEvent &) |
|
overrideprotectedvirtual |
A function called to draw the widget contents.
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.