At first it has wrong prototype:
Code: Select all
virtual void setSize(s32 size);
Code: Select all
virtual void setSize(EGUI_DEFAULT_SIZE which, s32 newSize);
At last it has wrong body:
Code: Select all
void CGUISkin::setSize(s32 size)
{
if (size>=0 && size <= EGDS_COUNT)
Sizes[size] = size;
}
Code: Select all
void CGUISkin::setSize(EGUI_DEFAULT_SIZE which, s32 newSize)
{
if (which >= 0 && which <= EGDS_COUNT)
Sizes[which] = newSize;
}