add playlist mode switcher (and some clean-ups ofc)

This commit is contained in:
unK
2008-09-04 04:34:30 +02:00
parent c2225172fb
commit 3b562d5a37
9 changed files with 49 additions and 28 deletions

View File

@@ -415,6 +415,9 @@ void Menu<T>::Refresh(bool redraw_whole_window)
if (itsHighlight >= itsOptions.size()-1)
Highlight(itsOptions.size());
while (itsHighlight-itsBeginning > itsHeight-1)
itsBeginning++;
if (redraw_whole_window)
{
Window::Clear();