mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...
... outside of CComponentsScrollBar(). Since the color-changes incd80e26
the non-CC scrollbars looks weird. Origin commit data ------------------ Branch: ni/coolstream Commit:fe5f84c1d0
Author: vanhofen <vanhofen@gmx.de> Date: 2017-04-24 (Mon, 24 Apr 2017) Origin message was: ------------------ - scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ... ... outside of CComponentsScrollBar(). Since the color-changes incd80e26
the non-CC scrollbars looks weird. ------------------ This commit was generated by Migit
This commit is contained in:
@@ -1454,7 +1454,7 @@ void CFileBrowser::paint()
|
||||
//scrollbar
|
||||
int ypos = y+ theight;
|
||||
int sb = fheight* listmaxshow;
|
||||
frameBuffer->paintBoxRel(x+ width- 15,ypos, 15, sb, COL_SCROLLBAR_PASSIVE_PLUS_0);
|
||||
frameBuffer->paintBoxRel(x+ width- 15,ypos, 15, sb, COL_SCROLLBAR_PLUS_0);
|
||||
|
||||
int sbc= ((filelist.size()- 1)/ listmaxshow)+ 1;
|
||||
int sbs= (selected/listmaxshow);
|
||||
|
Reference in New Issue
Block a user