You are not logged in.

Dear visitor, welcome to Newnigma2. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

oZxS

Gibt das Leben dir Zitronen, frag nach Salz und Tequila

  • "oZxS" started this thread

Posts: 5,370

1. Dreambox: 7080HDss

2. Dreambox:  

  • Send private message

1

Tuesday, December 17th 2013, 9:48am

FAQ: new screens for skinners

Linux Service Restart

Source code

1
2
3
4
5
6
7
<screen name="initRestart" position="center,center" size="602,520">
 	<widget name="service" position="5,5" size="595,470" scrollbarMode="showOnDemand" enableWrapAround="1" />
 	<widget name="key_red" position="5,480" zPosition="1" size="140,35" valign="center" halign="center" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />
 	<ePixmap pixmap="skin_default/buttons/red.png" position="5,480" size="140,40" alphatest="on" />
 	<widget name="key_green" position="455,480" zPosition="1" size="140,40" valign="center" halign="center" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />
 	<ePixmap pixmap="skin_default/buttons/green.png" position="455,480" size="140,40"  alphatest="on" />
 </screen>

oZxS

Gibt das Leben dir Zitronen, frag nach Salz und Tequila

  • "oZxS" started this thread

Posts: 5,370

1. Dreambox: 7080HDss

2. Dreambox:  

  • Send private message

2

Tuesday, December 17th 2013, 9:50am

LED Manager

Source code

1
2
3
4
5
<screen name="ledManager" position="60,120" size="450,160" title="LED Manager 0.2">
	<widget name="config" position="10,10" size="430,100" scrollbarMode="showOnDemand" />
	<widget source="key_green" render="Label" position="35,130" zPosition="5" size="405,40" valign="center" halign="left" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />
	<ePixmap name="green" pixmap="skin_default/buttons/button_green.png" position="10,142" zPosition="3" size="15,16" transparent="1" alphatest="on" />
</screen>

oZxS

Gibt das Leben dir Zitronen, frag nach Salz und Tequila

  • "oZxS" started this thread

Posts: 5,370

1. Dreambox: 7080HDss

2. Dreambox:  

  • Send private message

3

Saturday, February 22nd 2014, 1:21pm

new skin option: progress_pointer

for using a horizontal pixmap-progressbar with a different ending (e.g. -------------------------O)
I am using ePositionGauge for that scenario and taking care of the size of the special picture-ending

usage:

Source code

1
2
3
  <widget backgroundColor="background" progress_pointer="Vali.HD.warp/pgpointer.png:13,0" position="90,674" render="PositionGauge" size="880,13" source="session.Event_Now" transparent="1" zPosition="9" >
          <convert type="EventPosition">Gauge</convert>
  </widget>


--> the attrib of the bitmap is the size of the special ending, that means for the example that the ending of the pixmap with the special graphic has a width of 13 pixel.

Similar threads

Rate this thread