For change the aktion of keys please send the key while display a osd-object first to the skin. While display to Channelinfo, the skin can change the funktion of the keys to display to epg-info or quick programming a timer ...
*********************************************************************************************************************************************************************
Falls meine Übersetzung oben zu schwer zu lesen ist: Gewünscht wird eine Funktion, daß die Tastaturereignisse, wenn ein OSD-Objekt (z.B. DisplayChannel) dargestellt wird, zuerst an das entsprechende Skin-Objekt zur Auswertung gesendet wird. Damit soll z.B. erreicht werden, daß die Sendungsinformationen bei DisplayChannel mit der grünen (aktuell) und gelben (nächste Sendung) einfach aufzurufen sind. Durch die blaue Taste ist ein Umschalten zur nächsten Sendung einfach möglich. Diese Funktionen sind im großen Gesamt-Patch des 1.2.6 enthalten und ich möchte sie nicht wieder hergeben.
Hardy
Hardy Flor wrote:
For change the aktion of keys please send the key while display a osd-object first to the skin. While display to Channelinfo, the skin can change the funktion of the keys to display to epg-info or quick programming a timer ...
A skin object doesn't have a ProcessKey() function, so it can't receive any keypresses. The skin's sole function is to _display_ things - it doesn't implement any actual functionality.
Klaus
Klaus Schmidinger schrieb:
The skin's sole function is to _display_ things - it doesn't implement any actual functionality.
But in some cases it could be great if the skin can handle that a "left" key should taken as the key down. There are lots of capabilities if the skin will know which key was pressed and if the skin can change the pressed key.
Example:
old List: 1)* 2)* 3)*
new kind of List: (maybe Icons of the Channels) 1)* 2)* 3)* 4)* 5)* 6)* 7)* 8)* 9)*
In the second list the user can't navigate. If the User press "right" then the pointer will jump to 4). If the User will press "down" the pointer will move to 2)
I hope you will understand what I mean. if not I can send you an example Plugin/Skin.
Greetings Patrick(CeBit long Hair :-)
Patrick Fischer wrote:
Klaus Schmidinger schrieb:
The skin's sole function is to _display_ things - it doesn't implement any actual functionality.
But in some cases it could be great if the skin can handle that a "left" key should taken as the key down. There are lots of capabilities if the skin will know which key was pressed and if the skin can change the pressed key.
Example:
old List: 1)* 2)* 3)*
new kind of List: (maybe Icons of the Channels) 1)* 2)* 3)* 4)* 5)* 6)* 7)* 8)* 9)*
In the second list the user can't navigate. If the User press "right" then the pointer will jump to 4). If the User will press "down" the pointer will move to 2)
I hope you will understand what I mean. if not I can send you an example Plugin/Skin.
Such functionality would have to be built into the cOsdMenu class, the skin would just have to display it.
But that will have to wait until way into version 1.5.x - there are lots of more important things ;-)
Klaus
Hi,
as discussed before this is not a skin's task. But why shouldn't VDR add coloured keys to the channel info display? These should be configured separate (not the same as defined in keymacros.conf).
Above that the progress display while viewing recordings could show the meaning of the colour keys, too. Just think of people not in-depth familiar with every possible key in every situation. In that part some way of displaying the meaning of the 0-9 keys could be helpful, too.
Just my 2¢...
Regards, Andreas
On Monday 13 March 2006 14:41, Hardy Flor wrote:
For change the aktion of keys please send the key while display a osd-object first to the skin. While display to Channelinfo, the skin can change the funktion of the keys to display to epg-info or quick programming a timer ...
Falls meine Übersetzung oben zu schwer zu lesen ist: Gewünscht wird eine Funktion, daß die Tastaturereignisse, wenn ein OSD-Objekt (z.B. DisplayChannel) dargestellt wird, zuerst an das entsprechende Skin-Objekt zur Auswertung gesendet wird. Damit soll z.B. erreicht werden, daß die Sendungsinformationen bei DisplayChannel mit der grünen (aktuell) und gelben (nächste Sendung) einfach aufzurufen sind. Durch die blaue Taste ist ein Umschalten zur nächsten Sendung einfach möglich. Diese Funktionen sind im großen Gesamt-Patch des 1.2.6 enthalten und ich möchte sie nicht wieder hergeben.
Hardy
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr