Commit fe73006f authored by bitplane's avatar bitplane

Removed unused sprite bank from spin box



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4037 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 7f017fa3
......@@ -31,12 +31,6 @@ CGUISpinBox::CGUISpinBox(const wchar_t* text, bool border,IGUIEnvironment* envir
CurrentIconColor = video::SColor(255,255,255,255);
s32 ButtonWidth = 16;
IGUISpriteBank *sb = 0;
if (environment && environment->getSkin())
{
ButtonWidth = environment->getSkin()->getSize(EGDS_SCROLLBAR_SIZE);
sb = environment->getSkin()->getSpriteBank();
}
ButtonSpinDown = Environment->addButton(
core::rect<s32>(rectangle.getWidth() - ButtonWidth, rectangle.getHeight()/2 +1,
......
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