Commit c251aaf6 authored by hybrid's avatar hybrid

Change scrollbar to access negative framerates as well.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3080 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 26c3f036
......@@ -16,7 +16,6 @@ tutorial, we use a lot stuff from the gui namespace.
#include <irrlicht.h>
#include <iostream>
using namespace irr;
using namespace gui;
......@@ -307,6 +306,7 @@ void createToolBox()
scrollbar = env->addScrollBar(true,
core::rect<s32>(10,265,150,280), t1, GUI_ID_SKIN_ANIMATION_FPS);
scrollbar->setMax(MAX_FRAMERATE);
scrollbar->setMin(-MAX_FRAMERATE);
scrollbar->setPos(DEFAULT_FRAMERATE);
// bring irrlicht engine logo to front, because it
......@@ -665,7 +665,6 @@ int main(int argc, char* argv[])
}
// create device and exit if creation failed
MyEventReceiver receiver;
Device = createDevice(driverType, core::dimension2d<u32>(800, 600),
16, false, false, false, &receiver);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment