Browse Source

Give a little handle to mingw LTO

Signed-off-by: falkTX <falktx@falktx.com>
pull/321/merge
falkTX 3 years ago
parent
commit
8f664b4d34
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      examples/FileHandling/NanoButton.cpp
  2. +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);


Loading…
Cancel
Save