←  Skins

Forums

»

systemtime plugin skin

hulkman's Photo hulkman 13 Jan 2019

Goedenmorgen,

 

Omdat de SystemTimePlugin in alle redelijkheid onleesbaar is op een "42 in HD, zou deze graag skinnen naar PLiFullHD stijl. Echter kan ik in de Git van SystemTime geen skin vinden. Heeft iemand een alternatieve screen voor deze plugin die ik als voorbeeld kan gebruiken?

 

Attached File  p13.png   398.33KB   8 downloads

Quote

Matrix10's Photo Matrix10 13 Jan 2019

Is this one ???

 

https://github.com/O...e/src/plugin.py

 

class SystemTimeSetupScreen(Screen, ConfigListScreen):   skin = """   <screen position="center,center" size="700,400" title="System time setup">   <widget name="key_red" position="0,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />   <widget name="key_green" position="175,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />   <widget name="key_yellow" position="350,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />   <widget name="key_blue" position="525,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />   <ePixmap position="0,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/red.png" alphatest="blend" />   <ePixmap position="175,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/green.png" alphatest="blend" />   <ePixmap position="350,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/yellow.png" alphatest="blend" />   <ePixmap position="525,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/blue.png" alphatest="blend" />   <widget name="config" scrollbarMode="showOnDemand" position="0,45" size="700,225" />   <widget name="description" position="5,290" size="690,75" font="Regular;17" />   <ePixmap pixmap="skin_default/div-h.png" position="0,280" size="700,2" />   <ePixmap pixmap="skin_default/div-h.png" position="0,362" size="700,2" />   <widget source="global.CurrentTime" render="Label" position="150,370" size="430,25" font="Regular;20" halign="left" transparent="1">   <convert type="ClockToText">Date</convert>   </widget>   <ePixmap alphatest="on" pixmap="skin_default/icons/clock.png" position="590,375" size="14,14" />   <widget source="global.CurrentTime" render="Label" position="610,370" size="55,25" font="Regular;20" halign="left" transparent="1">   <convert type="ClockToText">Default</convert>   </widget>   <widget source="global.CurrentTime" render="Label" position="662,373" size="27,20" font="Regular;15" halign="left" transparent="1">   <convert type="ClockToText">Format::%S</convert>   </widget>   </screen>"""
Quote

Matrix10's Photo Matrix10 13 Jan 2019

Coding from panel is

 

<screen name="SystemTimeSetupScreen" position="center,center" size="700,400" title="System time setup">
<widget name="key_red" position="0,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />
<widget name="key_green" position="175,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />
<widget name="key_yellow" position="350,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />
<widget name="key_blue" position="525,0" size="175,33" font="Regular;17" halign="center" valign="center" transparent="1" />
<ePixmap position="0,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/red.png" alphatest="blend" />
<ePixmap position="175,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/green.png" alphatest="blend" />
<ePixmap position="350,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/yellow.png" alphatest="blend" />
<ePixmap position="525,33" size="175,2" pixmap="/usr/lib/enigma2/python/Plugins/SystemPlugins/SystemTime/images/blue.png" alphatest="blend" />
<widget name="config" scrollbarMode="showOnDemand" position="0,45" size="700,225" />
<widget name="description" position="5,290" size="690,75" font="Regular;17" />
<ePixmap pixmap="skin_default/div-h.png" position="0,280" size="700,2" />
<ePixmap pixmap="skin_default/div-h.png" position="0,362" size="700,2" />
<widget source="global.CurrentTime" render="Label" position="150,370" size="430,25" font="Regular;20" halign="left" transparent="1">
<convert type="ClockToText">Date</convert>
</widget>
<ePixmap alphatest="on" pixmap="skin_default/icons/clock.png" position="590,375" size="14,14" />
<widget source="global.CurrentTime" render="Label" position="610,370" size="55,25" font="Regular;20" halign="left" transparent="1">
<convert type="ClockToText">Default</convert>
</widget>
<widget source="global.CurrentTime" render="Label" position="662,373" size="27,20" font="Regular;15" halign="left" transparent="1">
<convert type="ClockToText">Format::%S</convert>
</widget>
        </screen>
Quote

hulkman's Photo hulkman 13 Jan 2019

Yes Matrix10,

 

This is the one, thanks. Don't know why I overlooked it. Must be in hurry. :rolleyes:

Quote

littlesat's Photo littlesat 13 Jan 2019

Sounds like Matrix10 is missing this screen???

Quote

Matrix10's Photo Matrix10 13 Jan 2019

Sounds like Matrix10 is missing this screen???

 

Not,
but it is also nice to help others
we are already old skiners. :D
It's easy to find coding if you need it on the Git or in the image itself.
Quote

hulkman's Photo hulkman 13 Jan 2019

I suggested addition to the standard PLi-FullHD skin, to make it more Pli-like.

 

Thanks again Matrix10 for your input.

Quote

littlesat's Photo littlesat 13 Jan 2019

Then now I understand. So our standard skin does not have that screen... then the screen need to be added to the skin_plugin.xml
Quote

hulkman's Photo hulkman 13 Jan 2019

Yes, I started a new post to get attention for that.

Quote