Infobar Dev Question

PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Infobar Dev Question

Beitrag von PT-1 »

Hi guys,

as I had no response on the Tuxbox Forumon how to implement more Features into the so called Sky Mode I thought I ask you guys...

As I can understand does Barf's Patch change the following files:

apps/tuxbox/neutrino/src/gui/infoviewer.cpp
apps/tuxbox/neutrino/src/gui/channellist.cpp
apps/tuxbox/neutrino/src/gui/channellist.h


They can be read here:
http://cvs.tuxbox-cvs.sourceforge.net/t ... iew=markup
http://cvs.tuxbox-cvs.sourceforge.net/t ... iew=markup
http://cvs.tuxbox-cvs.sourceforge.net/t ... iew=markup

Basically what I would love to see is the following feature:

At present on the Dbox you can press the ? Button and the Infobar comes up.

I would not want to change the normal Infobar behavior when you change channels to come up and show the actual program.
So let's concentrate on my wish ;-)

You press [?] and the Info bar comes up.
So if you now press it again you get the EPG Info of the actual Program plus extra Infos.

I would love to press [?] and then you can navigate in the Infobar as Barf enabeled it now.

Having absolutely no C experience at all I can only browse trough the code and read ....

Code: Alles auswählen

if ( msg == CRCInput::RC_help )
			{
				g_RCInput->postMsg( NeutrinoMessages::SHOW_EPG, 0 );
				res = messages_return::cancel_info;
			}
seems to be the code for the Infobar to come up and show EPG

The original infoviewer.cpp uses the following Remote commands:

RC_help
RC_home
RC_ok
RC_timeout
RC_0

Barf adds the following Remote commands in his Diff:

RC_left
RC_right
RC_red
RC_timeout
RC_home
RC_ok

The channellist.h seems to do the EPG collecting :confused:
The channellist.cpp seems to do the Zapping [up] [down] [left] [right] [0] -> [0] and the colored keys.

So if I could understand a way to get the EPG Info simular to the one provided EPG+ I would be a happy man ;-)

Basically I would love to add more EPG info to the Barf Patch via a [down] and [up] (browsing of EPG events in the Past :gruebel: ) to enable to use the small Infobar as a replacement to the huge screenfilling EPG+