Browse Source

Cleanup

pull/1/head
falkTX 11 years ago
parent
commit
39ecd7b37a
2 changed files with 2 additions and 8 deletions
  1. +1
    -4
      examples/widgets/ExampleColorWidget.hpp
  2. +1
    -4
      examples/widgets/ExampleShapesWidget.hpp

+ 1
- 4
examples/widgets/ExampleColorWidget.hpp View File

@@ -114,11 +114,8 @@ protected:
bgSmall.draw();
}

void onReshape(int, int) override
void onReshape(int width, int height) override
{
const int width = getWidth();
const int height = getHeight();

// full bg
bgFull = Rectangle<int>(0, 0, width, height);



+ 1
- 4
examples/widgets/ExampleShapesWidget.hpp View File

@@ -81,11 +81,8 @@ protected:
cir.drawOutline();
}

void onReshape(int, int) override
void onReshape(int width, int height) override
{
const int width = getWidth();
const int height = getHeight();

// background
bg = Rectangle<int>(0, 0, width, height);



Loading…
Cancel
Save