- colors: add COL_SCROLLBAR_PASSIVE wrapper

This commit is contained in:
vanhofen
2016-10-10 14:19:54 +02:00
committed by svenhoefer
parent 7e7d4e5fc1
commit 6629b64d6c
23 changed files with 26 additions and 22 deletions

View File

@@ -2186,7 +2186,7 @@ void CChannelList::paintBody()
const int ypos = y+ theight;
const int sb = height - theight - footerHeight; // paint scrollbar over full height of main box
frameBuffer->paintBoxRel(x+ width- 15,ypos, 15, sb, COL_MENUCONTENT_PLUS_1);
frameBuffer->paintBoxRel(x+ width- 15,ypos, 15, sb, COL_SCROLLBAR_PASSIVE_PLUS_0);
unsigned int listmaxshow_tmp = listmaxshow ? listmaxshow : 1;//avoid division by zero
int sbc= (((*chanlist).size()- 1)/ listmaxshow_tmp)+ 1;
const int sbs= (selected/listmaxshow_tmp);