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
Give a little handle to mingw LTO
Signed-off-by: falkTX <falktx@falktx.com>
pull/321/merge
falkTX
3 years ago
parent
ab084d2f08
commit
8f664b4d34
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
examples/FileHandling/NanoButton.cpp
+1
-0
examples/FileHandling/NanoButton.hpp
+ 4
- 0
examples/FileHandling/NanoButton.cpp
View File
@@ -39,6 +39,10 @@ Button::Button(Widget* const parent, ButtonEventHandler::Callback* const cb)
ButtonEventHandler::setCallback(cb);
}
Button::~Button()
{
}
void Button::setBackgroundColor(const Color color)
{
backgroundColor = color;
+ 1
- 0
examples/FileHandling/NanoButton.hpp
View File
@@ -33,6 +33,7 @@ class Button : public NanoSubWidget,
{
public:
explicit Button(Widget* parent, ButtonEventHandler::Callback* cb);
~Button() override;
void setBackgroundColor(Color color);
void setFontScale(float scale);
Write
Preview
Loading…
Cancel
Save