Jump to content


Photo

Pli-HD-Full Night


  • Please log in to reply
31 replies to this topic

#1 shy11

  • Senior Member
  • 48 posts

0
Neutral

Posted 19 July 2016 - 15:58

Hi There,

 

How I change the font of this skin?

 

Thanks.



Re: Pli-HD-Full Night #2 shy11

  • Senior Member
  • 48 posts

0
Neutral

Posted 19 July 2016 - 16:54

Thanks, found it.



Re: Pli-HD-Full Night #3 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 19 July 2016 - 17:53

And...??? Explain ???


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


Re: Pli-HD-Full Night #4 Loui (PD1LOI)

  • Senior Member
  • 4,524 posts

+140
Excellent

Posted 31 October 2016 - 10:41

Attached File  4097_0_0_0_0_0_0_0_0_1.jpg   17.73KB   32 downloads Waar kan ik deze code vinden van dit waarschuwings-schermpje?



Re: Pli-HD-Full Night #5 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 31 October 2016 - 10:58

that is in ChoiceBox , if it is not skinnable then have a look at ~python/Screens/ChoiceBox.py

in previous skins there was a python code included in the skin, now it moved to ChoiceBox.py, disadvantage, each time you make an update the ChoiceBox,py will be overwritten



Re: Pli-HD-Full Night #6 Loui (PD1LOI)

  • Senior Member
  • 4,524 posts

+140
Excellent

Posted 31 October 2016 - 11:06

that is in ChoiceBox , if it is not skinnable then have a look at ~python/Screens/ChoiceBox.py

in previous skins there was a python code included in the skin, now it moved to ChoiceBox.py, disadvantage, each time you make an update the ChoiceBox,py will be overwritten

Thanks.



Re: Pli-HD-Full Night #7 Loui (PD1LOI)

  • Senior Member
  • 4,524 posts

+140
Excellent

Posted 31 October 2016 - 11:22

that is in ChoiceBox , if it is not skinnable then have a look at ~python/Screens/ChoiceBox.py

in previous skins there was a python code included in the skin, now it moved to ChoiceBox.py, disadvantage, each time you make an update the ChoiceBox,py will be overwritten

However, the dimensions are much greater than what is shown.

 

<screen name="ChoiceBox" title="" position="fill" flags="wfNoBorder">
<panel name="PigTemplate"/>
<panel name="TextTemplate"/>
<widget name="list" position="780,100" size="1110,912"  scrollbarMode="showOnDemand"/>
</screen>

Edited by Loui (PD1LOI), 31 October 2016 - 11:23.


Re: Pli-HD-Full Night #8 DeBeek

  • Senior Member
  • 1,490 posts

+47
Good

Posted 31 October 2016 - 11:31

Het is in messageboxsimple.

 

Je moet dan de waardes in het gedeelte wat staat onder   <applet type="onLayoutFinish">...


Vu+DUO4K, (DVB-C FBC & DVB-S2X FBC twin tuner), OpenPLi Nightly Build, My-FullNightHD skin, Bluetooth remote,

2x Synology DS-116, 16 Gb USB3, Autotimer, Bitrate, EPG-Import, Ziggo Kabel-tv, Astra 28.2.


Re: Pli-HD-Full Night #9 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 31 October 2016 - 11:34

	<screen name="ChoiceBox" position="center,155" size="750,430" title="Input">
	  <widget name="text" position="20,10" size="710,66" font="Regular;24" />
	  <widget name="list" position="20,86" size="710,320" itemHeight="28" scrollbarMode="showOnDemand" />
	  <applet type="onLayoutFinish">
# this should be factored out into some helper code, but currently demonstrates applets.
from enigma import eSize, ePoint

orgwidth = self.instance.size().width()
orgpos = self.instance.position()
textsize = self["text"].getSize()

# y size still must be fixed in font stuff...
textsize = (textsize[0] + 80, textsize[1] + 80)
count = len(self.list)
if count &gt; 10:
	count = 10
offset = 28 * count
wsizex = textsize[0] + 80
wsizey = textsize[1] + offset + 20

if (710 &gt; wsizex):
	wsizex = 710
wsize = (wsizex, wsizey)

# resize
self.instance.resize(eSize(*wsize))

# resize label
self["text"].instance.resize(eSize(*textsize))

# move list
listsize = (wsizex - 20, 28 * count)
self["list"].instance.move(ePoint(10, textsize[1]))
self["list"].instance.resize(eSize(*listsize))

# center window
newwidth = wsize[0]
self.instance.move(ePoint((1280-wsizex)/2, (720-wsizey)/(count &gt; 7 and 2 or 3)))
		</applet>
  </screen>

try this code, I needed it for NeutrinoLikeHD, the ChoiceBox cannot be fixed size, it is rezising depends of how many choices, meu items .., the dimensions could be ok, wit wfnoBorder you can´t actually see the frame around it and the python code resize it "onLayoutFinish"



Re: Pli-HD-Full Night #10 vinsim

  • Member
  • 3 posts

0
Neutral

Posted 31 October 2016 - 12:27

Hi

 

Just replaced my Openvix image with the nightly edition of Openpli 4.  Still shows the Openvix logo on boot up then the Openpli image afterwards.

Everything works ok but would like to get rid of the Openvix logo.

 

Have a Zgemma 2s.



Re: Pli-HD-Full Night #11 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 31 October 2016 - 13:15

Yep... OpenVix is such proud that they can replace the manufacturer setting... we don't.... and that means when (also with openspa, openatv) that you re stuck on that boot picture.

 

But you can search for the manufacturer picture and flash it like an image for "repair"....


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


Re: Pli-HD-Full Night #12 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 31 October 2016 - 22:19

Yep... OpenVix is such proud that they can replace the manufacturer setting...

Why do you keep saying that over and over again?
As I've told you several times before: OpenViX never replaces the manufacturers bootlogo, and even supplies the manufacturers logo in most image files so users can restore it when their box has lost it. And AFAIK ViX is the only image helping users in that way.


Edited by Rob van der Does, 31 October 2016 - 22:20.


Re: Pli-HD-Full Night #13 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 31 October 2016 - 23:23

Then I'm afraid vinsim installed probably an old openvix image.... I was not aware vix "spoiled" a big image size on restoring the manufacturers startup screen for those who touch it..

I thinj it is still anoying the manufacurers boot logo is touched...

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


Re: Pli-HD-Full Night #14 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 1 November 2016 - 05:05

Then I'm afraid vinsim installed probably an old openvix image....

Doesn't make any difference how old the image was; ViX never touches the bootlogo

I was not aware vix "spoiled" a big image size on restoring the manufacturers startup screen for those who touch it..

Image-size isn't changed by adding the manufacturers bootlogo; it's only added to the image folder.
And you have seen how many questions there are on the PLi-board about help for reverting to the manufacturers logo.

I thinj it is still anoying the manufacurers boot logo is touched...

Exactly, and that's why ViX & PLi don't do that, unlike most other images.

Re: Pli-HD-Full Night #15 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 1 November 2016 - 09:47


Just replaced my Openvix image with the nightly edition of Openpli 4.  Still shows the Openvix logo on boot up then the Openpli image afterwards.

 

Then please clarify the above....?

 

But it seems you're always right...

 

B.t.w. the image "package" you download still has the bootlogo included.... But it seems we are reopening again a very painful with different meanings... The end effect is that ViX is still touching the manufacturer's picture by always overwriting it consequently..... Something that is totally not required at all when other images do not interfere with it... But still we cannot influence what other images do... Even when they voilating GPL licences... (CI+ topic)... But I'm afraid they even not aware about this...


Edited by littlesat, 1 November 2016 - 09:52.

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


Re: Pli-HD-Full Night #16 Loui (PD1LOI)

  • Senior Member
  • 4,524 posts

+140
Excellent

Posted 1 November 2016 - 10:19

Het is in messageboxsimple.

 

Je moet dan de waardes in het gedeelte wat staat onder   <applet type="onLayoutFinish">...

Dat was het wat ik zocht. Attached File  1_0_0_0_0_0_0_0_0_0.jpg   70.06KB   8 downloads Selectie balk aangepast aan de rest.


Edited by Loui (PD1LOI), 1 November 2016 - 10:22.


Re: Pli-HD-Full Night #17 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 1 November 2016 - 11:11

# this should be factored out into some helper code, but currently demonstrates applets.
from enigma import eSize, ePoint
 
orgwidth = self.instance.size().width()
orgpos = self.instance.position()
textsize = self["text"].getSize()
 
# y size still must be fixed in font stuff...
textsize = (textsize[0] + 60, textsize[1] + 60)
offset = 20
if self.type == self.TYPE_YESNO:
	offset = 110
wsizex = textsize[0] + 120
wsizey = textsize[1] + offset
if (600 &gt; wsizex):
	wsizex = 600
wsize = (wsizex, wsizey)
 
# resize
self.instance.resize(eSize(*wsize))
 
# resize label
self["text"].instance.resize(eSize(*textsize))
 
# move list
listsize = (wsizex - 20, 30 + offset)
self["list"].instance.move(ePoint(10, textsize[1]))
self["list"].instance.resize(eSize(*listsize))
 
# center window
newwidth = wsize[0]
self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
 
		</applet>
  </screen>

was that messagebox, mostly is choicebox, when you press blue for extensions choicebox is shown, any time it needs user interaction 

above is python code for messagebox, I spent hours on it, took parts from other skins, because indent (offset) was simply not working, with yes/no choice, sometimes is shown "yes and don´t ask again", actually we need three items there, it is now ok with above code



Re: Pli-HD-Full Night #18 Loui (PD1LOI)

  • Senior Member
  • 4,524 posts

+140
Excellent

Posted 12 December 2016 - 16:39

Wie weet waar deze code (zie foto geselecteerd) staat ik heb me rot gezocht maar niet kunnen vinden. hi

Ik wil namelijk de selectiebalk ook aanpassen net als de rest van de skin. 

maar op een of ander manier lukt dat niet.

Attached Files



Re: Pli-HD-Full Night #19 mrvica

  • Senior Member
  • 1,218 posts

+80
Good

Posted 12 December 2016 - 17:07

 <screen name="LanguageSelection" position="70,70" size="1140,580" title="Language selection">
    <widget source="languages" render="Listbox" position="15,0" size="1110,580" enableWrapAround="1" scrollbarMode="showOnDemand">
      <convert type="TemplatedMultiContent">
				{"template": [
						MultiContentEntryText(pos = (95, 12), size = (850, 28), flags = RT_HALIGN_LEFT, text = 1), # index 1 is the language name,
						MultiContentEntryPixmap(pos = (5, 9), size = (60, 40), png = 2), # index 2 is the pixmap
					],
				 "fonts": [gFont("Regular", 24)],
				 "itemHeight": 58
				}
			</convert>
    </widget>
  </screen>

that is LanguageSelection screen



Re: Pli-HD-Full Night #20 DeBeek

  • Senior Member
  • 1,490 posts

+47
Good

Posted 12 December 2016 - 17:38

Wie weet waar deze code (zie foto geselecteerd) staat ik heb me rot gezocht maar niet kunnen vinden. hi

Ik wil namelijk de selectiebalk ook aanpassen net als de rest van de skin. 

maar op een of ander manier lukt dat niet.

Denk het stukje rode tekst er achter plakken,  natuurlijk wel met de verwijzing naar je eigen .png bestandje en locatie..

 

 scrollbarMode="showOnDemand" selectionPixmap="PLi-HD/buttons/sel.png" >


Vu+DUO4K, (DVB-C FBC & DVB-S2X FBC twin tuner), OpenPLi Nightly Build, My-FullNightHD skin, Bluetooth remote,

2x Synology DS-116, 16 Gb USB3, Autotimer, Bitrate, EPG-Import, Ziggo Kabel-tv, Astra 28.2.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users