Browse Source

Fix build for new DPF

pull/1/head
falkTX 10 years ago
parent
commit
5dbcc6d32c
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      dpf
  2. +3
    -3
      examples/demo.cpp

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit c9cd0b1a1f70354f4e7dcc22cdf8da4e1d60758d
Subproject commit 03ddba518eebedc08710123e3e3a83b18662da15

+ 3
- 3
examples/demo.cpp View File

@@ -78,7 +78,7 @@ protected:
const int iconSize = bgIcon.getWidth();

glColor3f(0.027f, 0.027f, 0.027f);
Rectangle<int>(0, 0, getSize()).draw();
Rectangle<uint>(0, 0, getSize()).draw();

bgIcon.setY(curPage*iconSize + curPage*3);

@@ -361,9 +361,9 @@ public:
curPageChanged(0);
}

void onReshape(int width, int height) override
void onReshape(uint width, uint height) override
{
Size<int> size(width-81, height);
Size<uint> size(width-81, height);
wColor.setSize(size);
wImages.setSize(size);
wRects.setSize(size);


Loading…
Cancel
Save