summaryrefslogtreecommitdiff
path: root/contrib/list_items.pl
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-25 17:54:38 +0000
committerlordjaxom <lordjaxom>2004-06-25 17:54:38 +0000
commitf2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 (patch)
treee071f932913f57fa464a7e3cdd5cf774c3a629e5 /contrib/list_items.pl
parentde602ae6486b181ec081749a510cfcf15c71c817 (diff)
downloadvdr-plugin-text2skin-0.0.7.tar.gz
vdr-plugin-text2skin-0.0.7.tar.bz2
- on devices capable of full-color OSD, bpp's have no meaning anymorev0.0.7
(but will still work like usual). On such devices, a full-screen 8-bit OSD will be used - new display-item "PresentTextDescription" displays combined ShortText/Description - displaying replay symbols only if information is actually available - exchanged x, y, width, height with x1, y1, x2, y2 coordinates (skin version is now 0.0.3) - coordinates may be negative to respect dynamic OSD settings (negative coordinates give pixels from the right or bottom edge) - added base parameter to Skin item to be able to use full screen in absolute mode - added a script to convert 0.0.2 skins to 0.0.3 - added parsing quoted texts (path="Bla.jpg" etc. will work correctly now) - fixed translator to escape the dollar sign - fixed display of scrollbar (REALLY!) - fixed linkage of libMagick++
Diffstat (limited to 'contrib/list_items.pl')
-rwxr-xr-xcontrib/list_items.pl40
1 files changed, 34 insertions, 6 deletions
diff --git a/contrib/list_items.pl b/contrib/list_items.pl
index ad0fde9..a47803f 100755
--- a/contrib/list_items.pl
+++ b/contrib/list_items.pl
@@ -160,12 +160,40 @@ while (defined($_ = <DAT>)) {
next if /mItem;\s*$/;
/m([\w]+);\s*$/ and do {
$what = lc($1);
- printo i18n("Parameter:"), 15;
- print "$what\n";
- printo i18n("Description:"), 15;
- print "\n";
- printo i18n("Default:"), 15;
- print "\n\n";
+ if ($what eq "pos1") {
+ printo i18n("Parameter:"), 15;
+ print "x1\n";
+ printo i18n("Description:"), 15;
+ print "\n";
+ printo i18n("Default:"), 15;
+ print "\n\n";
+ printo i18n("Parameter:"), 15;
+ print "y1\n";
+ printo i18n("Description:"), 15;
+ print "\n";
+ printo i18n("Default:"), 15;
+ print "\n\n";
+ } elsif ($what eq "pos2") {
+ printo i18n("Parameter:"), 15;
+ print "x2\n";
+ printo i18n("Description:"), 15;
+ print "\n";
+ printo i18n("Default:"), 15;
+ print "\n\n";
+ printo i18n("Parameter:"), 15;
+ print "y2\n";
+ printo i18n("Description:"), 15;
+ print "\n";
+ printo i18n("Default:"), 15;
+ print "\n\n";
+ } else {
+ printo i18n("Parameter:"), 15;
+ print "$what\n";
+ printo i18n("Description:"), 15;
+ print "\n";
+ printo i18n("Default:"), 15;
+ print "\n\n";
+ }
};
}
}