DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 841f7c66213149a0c82551b907bc2cdcd3e7a0ef
parent b9be2e2e592e625849511af7deb7aff14816ec7d
Author: falkTX <falktx@falktx.com>
Date:   Mon, 17 May 2021 23:35:08 +0100

Fix demo test build

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mtests/widgets/ExampleColorWidget.hpp | 2+-
Mtests/widgets/ExampleRectanglesWidget.hpp | 2+-
Mtests/widgets/ExampleShapesWidget.hpp | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/widgets/ExampleColorWidget.hpp b/tests/widgets/ExampleColorWidget.hpp @@ -118,7 +118,7 @@ protected: bgSmall.draw(context); } - void onResize(const ResizeEvent& ev) override + void onResize(const Widget::ResizeEvent& ev) override { const uint width = ev.size.getWidth(); const uint height = ev.size.getHeight(); diff --git a/tests/widgets/ExampleRectanglesWidget.hpp b/tests/widgets/ExampleRectanglesWidget.hpp @@ -113,7 +113,7 @@ protected: } } - bool onMouse(const MouseEvent& ev) override + bool onMouse(const Widget::MouseEvent& ev) override { if (ev.button != 1 || ! ev.press) return false; diff --git a/tests/widgets/ExampleShapesWidget.hpp b/tests/widgets/ExampleShapesWidget.hpp @@ -85,7 +85,7 @@ protected: cir.drawOutline(context, 2); } - void onResize(const ResizeEvent& ev) override + void onResize(const Widget::ResizeEvent& ev) override { const int width = ev.size.getWidth(); const int height = ev.size.getHeight();