use an easier solution, based up neutrino-mp


Origin commit data
------------------
Branch: ni/coolstream
Commit: bcf4e4fbf9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-26 (Sun, 26 Jan 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-01-26 20:30:41 +01:00
parent 5bd5a95990
commit bad892af5f
6 changed files with 19 additions and 20 deletions

View File

@@ -32,6 +32,7 @@
#include <neutrino.h>
#include <gui/eventlist.h>
#include <gui/epgplus.h>
#include <gui/timerlist.h>
#include <gui/user_menue.h>
@@ -48,6 +49,7 @@
#include <driver/screen_max.h>
#include <driver/fade.h>
#include <zapit/client/zapittools.h>
#include <zapit/zapit.h>
#include <daemonc/remotecontrol.h>
@@ -918,13 +920,11 @@ void CNeutrinoEventList::paint(t_channel_id channel_id)
frameBuffer->paintBoxRel(x+ width- 15,ypos, 15, sb, COL_MENUCONTENT_PLUS_1);
int sbc= ((evtlist.size()- 1)/ listmaxshow)+ 1;
int sbs= (selected/listmaxshow);
if (sbc < 1)
sbc = 1;
int sbh = ((sb - 4) * 1024) / sbc;
int sbs= (selected/listmaxshow);
frameBuffer->paintBoxRel(x+width-13, ypos+2+(sbs*sbh)/1024, 11, sbh/1024, COL_MENUCONTENT_PLUS_3);
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ sbs * (sb-4)/sbc, 11, (sb-4)/sbc, COL_MENUCONTENT_PLUS_3);
}
@@ -969,6 +969,7 @@ void CNeutrinoEventList::showFunctionBar (bool show, t_channel_id channel_id)
buttons[btn_cnt].locale = LOCALE_EVENTFINDER_SEARCH; // search button
btn_cnt++;
}
// Button: Timer Channelswitch
if ((uint) g_settings.key_channelList_addremind != CRCInput::RC_nokey) {
if (!g_settings.minimode) {