[vdr] ShortText == Description
Boguslaw Juza
bogdan at uci.agh.edu.pl
Wed Oct 4 15:51:26 CEST 2006
Hi!
There are some channels witch EPG ShortText is the same as Description
(and a few sentences long). So I'm suggesting little change in
skinclassic.c (and probably in skinsttng.c too):
in cSkinClassicDisplayMenu::SetEvent
- y += font->Height();
- if (!isempty(Event->Description())) {
- textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
- SetScrollbar();
- }
+ if((isempty(Event->ShortText()))||(isempty(Event->Description()))||
+ (strncmp(Event->ShortText(),Event->Description(),8))) {
+ y += font->Height();
+ if (!isempty(Event->Description())) {
+ textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
+ SetScrollbar();
+ }
+ }
and the like in cSkinClassicDisplayMenu::SetRecording
Boguslaw Juza
More information about the vdr
mailing list