Testing Enigma 4pre2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> I do like the idea you suggest about "scrolltext" instead of using "marquee".
> One directional might be better on the eyes.  What ever method you do decide on,
> it would be very helpful to just place strategic comments into the template so a
> person that wants to modify the code can easily find the code blocks.  Or, if we
> want to get really crazy, we could fix the template to use a variable which can
> be configured by UpdateEnigma.sh.  We could have a different variable for
> different areas of the skin (ie; Menu, Channel Info, Timers, etc..)
> 
> --SNIP--
> 
> # defines preferred display method in skin ("text" or "scrolltext" or "marquee")
> MENU_DISPLAY="scrolltext"
> CHAN_DISPLAY="marquee"
> TIMER_DISPLAY="scrolltext"
> 
> --SNIP--
> 

Here are some more changes required for the substitution method.

--SNIP--

# substitute display settings
cat $SKIN_TEMPLATE \
| sed -e "s/%MENU_DISPLAY%/"$MENU_DISPLAY"/" \
| sed -e "s/%CHAN_DISPLAY%/"$CHAN_DISPLAY"/" \
| sed -e "s/%TIMER_DISPLAY%/"$TIMER_DISPLAY"/" \
> $SKIN_TMP

--SNIP--

With attached changes to the template.  This code is untested, but I'm sure it
would work.

Best Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enigma-4pre2-display.diff
Type: text/x-patch
Size: 3294 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20051021/4f76cad0/enigma-4pre2-display.bin

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux