From patchwork Fri Oct 21 20:02:03 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12066 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1ET34M-0003GL-2m for vdr@linuxtv.org; Fri, 21 Oct 2005 22:00:50 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id EB9E973534 for ; Fri, 21 Oct 2005 13:00:14 -0700 (PDT) Message-ID: <4359493B.3030400@syphir.sytes.net> Date: Fri, 21 Oct 2005 13:02:03 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Testing Enigma 4pre2 References: <4353806A.7080109@syphir.sytes.net> <43540DDB.40207@gmx.net> <435415A9.3060801@syphir.sytes.net> <43552332.6090407@gmx.net> <43555561.9020302@syphir.sytes.net> <4358E33E.9040409@gmx.net> <43593FE7.20507@syphir.sytes.net> In-Reply-To: <43593FE7.20507@syphir.sytes.net> X-Enigmail-Version: 0.92.1.0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 20:00:50 -0000 Status: O X-Status: X-Keywords: X-UID: 5592 > > 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, @@ -388,8 +388,8 @@ - {ReplayTit le} - {ReplayTitle } + <%CHAN_DISPLAY% x1="8" x2="-1" y1="-159" y2="-124" color="TopTxtShad" align="left" font="FontBold.ttf:26,85">{Replay Title} + <%CHAN_DISPLAY% x1="5" x2="-4" y1="-160" y2="-125" color="TopTxtFG" align="left" font="FontBold.ttf:26,85">{ReplayTi tle} @@ -561,7 +561,7 @@ ifdef(`ext', ) ifdef(`ext', TIMER:) ifdef(`ext', {NextTimerStar t}: {NextTimerChannel}) -ifdef(`ext', {NextTimerName }) +ifdef(`ext', <%MENU_DISPLAY% x1="-180" x2="-1" y1="155" y2="180" color="MenuTxtFG" align="left" font="Font.ttf:20,85">{NextTimerN ame}) ifdef(`ext',) @@ -576,10 +576,10 @@ ifdef(`ext',, RECORDIN GS:) - {CurrentRecording:0} - {CurrentRecording:1} - {CurrentRecording:2} - {CurrentRecording:3} + <%MENU_DISPLAY% x1="-180" x2="-1" y1="130" y2="155" color="MenuTxtFG" align="left" font="Font.ttf:20 ,85">{CurrentRecording:0} + <%MENU_DISPLAY% x1="-180" x2="-1" y1="155" y2="180" color="MenuTxtFG" align="left" font="Font.ttf:20 ,85">{CurrentRecording:1} + <%MENU_DISPLAY% x1="-180" x2="-1" y1="180" y2="205" color="MenuTxtFG" align="left" font="Font.ttf:20 ,85">{CurrentRecording:2} + <%MENU_DISPLAY% x1="-180" x2="-1" y1="205" y2="230" color="MenuTxtFG" align="left" font="Font.ttf:20 ,85">{CurrentRecording:3}