Graphlcd with skin support¶
graphlcd-base¶
skin support has been back-ported to the GIT-repository of graphlcd-base. there will be no extra 0.2.0 fork/branch.
added since initial back-porting of skin functionality:- animated images
- scroling texts
configuration values¶
configuration values are fetched in the following manner:- if glcdskin is called by a plugin (vdr-graphlcd-plugin) or another 'higher' instance, a default value is fetched from a defined token (eg. 'ScrollMode').
- if token cannot be found: a hard-coded default value will be used.
- the default value can be overruled in the skin definition by setting a property (eg. '
scrollmode="once"
')
animated images¶
- default: loop always (not searching for a token at the moment)
- can be overruled in the skin by adding
loop="[never|once|always]"
.
scrolling texts¶
- scrolling mode: default value = token 'ScrollMode' or, if token not defined, "once"
- can be overruled in the skin by adding
scrollmode="[never|once|always]"
.
- scrolling speed: token 'ScrollSpeed' or "8"
- can be overruled in the skin by adding
scrollspeed="
<value in [1, 10]>"
- scolling interval: token 'ScollTime' or "500"
- can be overruled in the skin by adding
scrolltime="
<value in [100, 2000]>"
scrolling not supported at the moment:
- multiline texts
- texts containing tab-stops ('\t')
examples¶
loop replay logo only once (default: loop always):
<image x="#LogoX" y="0" color="black" path="#ReplayLogo" loop="once"/>
present title should always be scrolled:
<text x1="0" x2="-1" y1="#PresentTextY" height="FontLineHeight('FontInfo')" color="black" font="FontInfo" scrollmode="always"> {PresentTitle} </text>
vdr-plugin-graphlcd (the '0.2.0'-branch)¶
skin support for the vdr-plugin graphlcd can be found in a branch (based on graphlcd-0.2.0-pre2.tar.bz2).
the following improvements have been added since creation of this branch:
- configurable dimming of brightness (if supported by the display driver)
- displaying of external service information from plugins Radiotext and LCR
- VDR >= 1.7.0: DEFAULTFRAMESPERSECOND is used instead of FRAMESPERSEC
- internationalisation: this branch adaptes to the VDR-version: VDR < 1.5.3: i18n.c-based functionality ('Phrases') is used (old, UTF-8 unaware-code from VDR), VDR >= 1.5.3: graphlcd branch is UTF-8 aware
added 2010-05-15:
- support for newly added support for animated images and scrolling texts. requires current git version of graphlcd-base.
the branch can be downloaded using:
git clone git://projects.vdr-developer.org/vdr-plugin-graphlcd.git -b 0.2.0 vdr-plugin-graphlcd_0.2.0
development is currently done using VDR 1.4.7 (UTF-8 unaware) so please report any problems with UTF-8 versions of VDR.
NOTA BENE:- support for codepages other than 'iso-8859-15' requires appropriate truetype-fonts (
ft2:somefont.ttf:42
). the rendering/loading-functions for bitmap-fonts (fnt:somefont.fnt
) are not capable of internationalisation.
- 'panes' for external services