mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
channellist: remove some unneeded calculations
Origin commit data
------------------
Branch: ni/coolstream
Commit: e07e2e5264
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Origin message was:
------------------
- channellist: remove some unneeded calculations
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -518,23 +518,6 @@ void CChannelList::calcSize()
|
||||
const int pic_h = 39;
|
||||
theight = std::max(theight, pic_h);
|
||||
|
||||
int icol_w, icol_h;
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_HELP, &icol_w, &icol_h);
|
||||
theight = std::max(theight, icol_h);
|
||||
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_MENU, &icol_w, &icol_h);
|
||||
theight = std::max(theight, icol_h);
|
||||
|
||||
#if 0
|
||||
if(new_zap_mode)
|
||||
{
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_MUTE_ZAP_ACTIVE, &icol_w, &icol_h);
|
||||
theight = std::max(theight, icol_h);
|
||||
}
|
||||
#endif
|
||||
// calculate max entrys in mainbox
|
||||
listmaxshow = (height - theight - footerHeight) / fheight;
|
||||
|
||||
// calculate max entrys in mainbox
|
||||
listmaxshow = (height - theight - footerHeight) / fheight;
|
||||
|
||||
|
Reference in New Issue
Block a user