mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
revert c20ef7ed23
use an easier solution, based up neutrino-mp
Origin commit data
------------------
Commit: bcf4e4fbf9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-26 (Sun, 26 Jan 2014)
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
|
||||
#include <system/settings.h>
|
||||
#include <driver/screen_max.h>
|
||||
|
||||
#include <gui/components/cc.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <gui/widget/hintbox.h>
|
||||
@@ -456,9 +457,8 @@ void CBookmarkManager::paint()
|
||||
int sbc= ((bookmarks.size()- 1)/ listmaxshow)+ 1;
|
||||
if (sbc < 1)
|
||||
sbc = 1;
|
||||
int sbh = ((sb - 4) * 1024) / sbc;
|
||||
|
||||
frameBuffer->paintBoxRel(x+width-13, ypos+2+(page_nr*sbh)/1024, 11, sbh/1024, COL_MENUCONTENT_PLUS_3);
|
||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ page_nr * (sb-4)/sbc, 11, (sb-4)/sbc, COL_MENUCONTENT_PLUS_3);
|
||||
}
|
||||
|
||||
paintFoot();
|
||||
|
Reference in New Issue
Block a user