'repeat one song' mode added + memleak fix and some code clean-ups

This commit is contained in:
unK
2008-08-27 15:55:01 +02:00
parent 070b0dee32
commit e4b80d5ac8
12 changed files with 67 additions and 29 deletions

View File

@@ -215,9 +215,9 @@ void Scrollpad::Clear()
Window::Clear();
}
Scrollpad Scrollpad::EmptyClone()
Window * Scrollpad::EmptyClone()
{
return Scrollpad(GetStartX(),GetStartY(),GetWidth(),GetHeight(),itsTitle,itsBaseColor,itsBorder);
return new Scrollpad(GetStartX(),GetStartY(),GetWidth(),GetHeight(),itsTitle,itsBaseColor,itsBorder);
}
Scrollpad & Scrollpad::operator=(const Scrollpad &base)