Jump to content


Photo

systemtime plugin skin

skin

  • Please log in to reply
8 replies to this topic

#1 hulkman

  • Senior Member
  • 757 posts

+10
Neutral

Posted 13 January 2019 - 09:12

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



Re: systemtime plugin skin #2 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 13 January 2019 - 11:29

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>"""

Re: systemtime plugin skin #3 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 13 January 2019 - 11:40

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>


Re: systemtime plugin skin #4 hulkman

  • Senior Member
  • 757 posts

+10
Neutral

Posted 13 January 2019 - 12:03

Yes Matrix10,

 

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



Re: systemtime plugin skin #5 littlesat

  • PLi® Core member
  • 57,421 posts

+708
Excellent

Posted 13 January 2019 - 12:52

Sounds like Matrix10 is missing this screen???


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: systemtime plugin skin #6 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 13 January 2019 - 13:15

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.


Re: systemtime plugin skin #7 hulkman

  • Senior Member
  • 757 posts

+10
Neutral

Posted 13 January 2019 - 13:32

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

 

Thanks again Matrix10 for your input.



Re: systemtime plugin skin #8 littlesat

  • PLi® Core member
  • 57,421 posts

+708
Excellent

Posted 13 January 2019 - 13:35

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

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: systemtime plugin skin #9 hulkman

  • Senior Member
  • 757 posts

+10
Neutral

Posted 13 January 2019 - 14:52

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





Also tagged with one or more of these keywords: skin

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users