Having a problem with
IGUISkin::setSize()
I use it like so:
skin->setSize(dimension2d<s32>(20, 20))
ive also tried
skin->setSize(20)
But Im getting the error
C:\Projects\Irr Test\Root.cpp(26) : error C2660: 'setSize' : function does not take 1 parameters
Thanx!
Ash.
Simple Problem: skin->setSize
Code: Select all
virtual void irr::gui::IGUISkin::setSize ( s32 size ) [pure virtual]
Code: Select all
skin->setSize(irr::s32(20));
C:\Projects\Irr Test\Root.cpp(26) : error C2660: 'setSize' : function does not take 1 parameters
That didnt work either
That didnt work either
Code: Select all
IGUISkin* skin = guienv->getSkin();
IGUIFont *newFnt = guienv->getFont("tahoma.ttf");
if(newFnt)
{
skin->setFont(newFnt);
skin->setSize(irr::s32(20));
}