mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CListBox: remove float type
Is not really required
Origin commit data
------------------
Branch: ni/coolstream
Commit: 76aa02db42
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-13 (Fri, 13 Sep 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -73,10 +73,10 @@ void CListBox::paint()
|
|||||||
if (sbc < 1)
|
if (sbc < 1)
|
||||||
sbc = 1;
|
sbc = 1;
|
||||||
|
|
||||||
float sbh= (sb- 4)/ sbc;
|
int sbh= (sb- 4)/ sbc;
|
||||||
int sbs= (selected/listmaxshow);
|
int sbs= (selected/listmaxshow);
|
||||||
|
|
||||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
|
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ sbs* sbh , 11, sbh, COL_MENUCONTENT_PLUS_3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CListBox::paintHead()
|
void CListBox::paintHead()
|
||||||
|
Reference in New Issue
Block a user