changed event result lists that it is possible to scroll page up and down directly with left / right

This commit is contained in:
louis
2014-02-07 17:57:14 +01:00
parent acb0580522
commit 4b0f4184cf
5 changed files with 35 additions and 50 deletions

View File

@@ -574,6 +574,13 @@ void cRecMenu::Show(void) {
}
}
void cRecMenu::UpdateActiveMenuItem(void) {
cRecMenuItem *activeItem = GetActiveMenuItem();
if (activeItem)
activeItem->Draw();
}
void cRecMenu::DrawScrollBar(void) {
pixmapScrollBar->Fill(theme.Color(clrBorder));
pixmapScrollBar->DrawRectangle(cRect(2,2,pixmapScrollBar->ViewPort().Width()-4, pixmapScrollBar->ViewPort().Height() - 4), theme.Color(clrBackground));