mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- simplify last shadow-changes ...
I didn't know about the possibility to add a shadow directly to the scrollbar. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1782,10 +1782,7 @@ void CAudioPlayerGui::paint()
|
||||
int current_page;
|
||||
getScrollBarData(&total_pages, ¤t_page, m_playlist.size(), m_listmaxshow, m_selected);
|
||||
|
||||
paintScrollBar(m_x + m_width - SCROLLBAR_WIDTH, m_y + m_title_height + OFFSET_SHADOW + OFFSET_INTER + m_header_height, SCROLLBAR_WIDTH, m_item_height*m_listmaxshow, total_pages, current_page);
|
||||
|
||||
// shadow
|
||||
m_frameBuffer->paintBoxRel(m_x + m_width, m_y + m_title_height + OFFSET_SHADOW + OFFSET_INTER + m_header_height + OFFSET_SHADOW, OFFSET_SHADOW, m_item_height*m_listmaxshow, COL_SHADOW_PLUS_0);
|
||||
paintScrollBar(m_x + m_width - SCROLLBAR_WIDTH, m_y + m_title_height + OFFSET_SHADOW + OFFSET_INTER + m_header_height, SCROLLBAR_WIDTH, m_item_height*m_listmaxshow, total_pages, current_page, CC_SHADOW_ON);
|
||||
}
|
||||
|
||||
paintTitleBox();
|
||||
|
Reference in New Issue
Block a user