mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
simplify last shadow-changes ...
I didn't know about the possibility to add a shadow directly to
the scrollbar.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 738ffc1d24
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-19 (Mon, 19 Jun 2017)
Origin message was:
------------------
- simplify last shadow-changes ...
I didn't know about the possibility to add a shadow directly to
the scrollbar.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -769,11 +769,7 @@ void CPictureViewerGui::paint()
|
||||
int total_pages;
|
||||
int current_page;
|
||||
getScrollBarData(&total_pages, ¤t_page, playlist.size(), listmaxshow, selected);
|
||||
|
||||
paintScrollBar(x + width - SCROLLBAR_WIDTH, y + header_height, SCROLLBAR_WIDTH, item_height*listmaxshow, total_pages, current_page);
|
||||
|
||||
// shadow
|
||||
frameBuffer->paintBoxRel(x + width, y + header_height + OFFSET_SHADOW, OFFSET_SHADOW, item_height*listmaxshow, COL_SHADOW_PLUS_0);
|
||||
paintScrollBar(x + width - SCROLLBAR_WIDTH, y + header_height, SCROLLBAR_WIDTH, item_height*listmaxshow, total_pages, current_page, CC_SHADOW_ON);
|
||||
|
||||
paintFoot();
|
||||
paintInfo();
|
||||
|
Reference in New Issue
Block a user