FAQ: new screens for skinners

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • FAQ: new screens for skinners

    Linux Service Restart

    Quellcode

    1. <screen name="initRestart" position="center,center" size="602,520">
    2. <widget name="service" position="5,5" size="595,470" scrollbarMode="showOnDemand" enableWrapAround="1" />
    3. <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" />
    4. <ePixmap pixmap="skin_default/buttons/red.png" position="5,480" size="140,40" alphatest="on" />
    5. <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" />
    6. <ePixmap pixmap="skin_default/buttons/green.png" position="455,480" size="140,40" alphatest="on" />
    7. </screen>
  • LED Manager

    Quellcode

    1. <screen name="ledManager" position="60,120" size="450,160" title="LED Manager 0.2">
    2. <widget name="config" position="10,10" size="430,100" scrollbarMode="showOnDemand" />
    3. <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" />
    4. <ePixmap name="green" pixmap="skin_default/buttons/button_green.png" position="10,142" zPosition="3" size="15,16" transparent="1" alphatest="on" />
    5. </screen>
  • 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:

    Quellcode

    1. <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" >
    2. <convert type="EventPosition">Gauge</convert>
    3. </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.