This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix demo test build
Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX
4 years ago
parent
b9be2e2e59
commit
841f7c6621
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tests/widgets/ExampleColorWidget.hpp
+1
-1
tests/widgets/ExampleRectanglesWidget.hpp
+1
-1
tests/widgets/ExampleShapesWidget.hpp
+ 1
- 1
tests/widgets/ExampleColorWidget.hpp
View File
@@ -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();
+ 1
- 1
tests/widgets/ExampleRectanglesWidget.hpp
View File
@@ -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;
+ 1
- 1
tests/widgets/ExampleShapesWidget.hpp
View File
@@ -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();
Write
Preview
Loading…
Cancel
Save