Page 1 of 1

InfoPopup troubles

Posted: Sun Oct 07, 2007 7:31 pm
by nohitter151
I can't seem to get transparency to work in the info popup of the skin I am making. Is it not possible?

EDIT: Also... how can I change the font/size of the text in the info popup? It seems the only thing I am able to change is the font color... I must be missing something.

Posted: Sat Oct 13, 2007 10:29 am
by nohitter151
.. Morten.. anyone? I'd like to release my skin, but would also like to get this sorted out before I do.

Posted: Sat Oct 13, 2007 11:52 am
by judas
Can't help you there nohitter151...sorry. Looking fwd to see your skin though!

Posted: Sat Oct 13, 2007 12:50 pm
by Peke
For now you can't include Custom Font in MM skins, but theme editor is capable to change font for any text object you put in InfoPopUp. Only thing is that you must consider that end user of your skin must have that font installed.

Posted: Sat Oct 13, 2007 12:54 pm
by nohitter151
Ok, thanks Peke. No transparency for the info popup either?

Posted: Sat Oct 13, 2007 5:00 pm
by Peke
You should use old "net" method like you show gray shades in B&W Images.
I haven't Tried But I think that PNG will be transparent. I had that Filter in PhotoShop where I worked and now I could not remember its name :(

Morten has experimented with Alpha blending with Petr, but I'm not sure about results.

Posted: Sat Oct 13, 2007 6:42 pm
by nohitter151
Peke wrote:You should use old "net" method like you show gray shades in B&W Images.
I haven't Tried But I think that PNG will be transparent. I had that Filter in PhotoShop where I worked and now I could not remember its name :(

Morten has experimented with Alpha blending with Petr, but I'm not sure about results.
I'm using a transparent PNG, but transparency didn't work. Its not a big deal, sort of worked around it. Would like to see an easier way to change the infopopup fonts though.

Posted: Sat Oct 13, 2007 7:10 pm
by Peke
What easier than theme editor and FONT control directly on InfoPopUp TITLE Object. You can even control how Font Will react on mouse as thats override settings in Fonts section of Theme Editor.

Only thing that is missing is adding TTF in Skin and load it on skin load but that will come later.

Posted: Sat Oct 13, 2007 9:18 pm
by nohitter151
Peke wrote:What easier than theme editor and FONT control directly on InfoPopUp TITLE Object. You can even control how Font Will react on mouse as thats override settings in Fonts section of Theme Editor.

Only thing that is missing is adding TTF in Skin and load it on skin load but that will come later.
Well it is easy, except that it doesn't work. I can change font, make it bold, anything. When I use the skin though, there's no change. As I said before, the only thing that seems to work is changing font color.

Posted: Sat Oct 13, 2007 10:29 pm
by Peke
:( I'll try to elaborate on example.

Here is InfoPopUp showed in MM3 1081 where Title font is changed to "InkPen2 Script" font
Image

Here is exact place where I changed font
Image

Only thing we didn't yet implemented is that you can include such custom font inside Skin as for example that font I used most users do not have.

Hint: This way you can customize each Text object in theme editor even make that Font is Changed when you move mouse over it.

Posted: Sat Oct 13, 2007 11:07 pm
by nohitter151
Thanks for elaborating. This is what I have been doing to change font. I will have to try it again and see what results I can get.

EDIT: Okay, I've got it. Thanks Peke.

One more question... sorry to be annoying! Is it possible to get anything more than Artist, Album, or Title into the popup? I'm trying to get track number and song length in, but I don't know if its supported.

Posted: Tue Oct 16, 2007 6:43 pm
by Peke
:( why bump?

Yes it is possible (it will be possible in future MM versions).

Some values for example can be changed within Script

Code: Select all

Sub OnStartup
  SDB.IniFile.StringValue("InfoPopUp", "Title") = "<"&SDB.Localize("Track")&"#:2>. <"&SDB.Localize("Title")&">"
End Sub
And then on next InfoPopUp showing Title will contain Track Number From Tag.

Posted: Fri Oct 19, 2007 6:35 pm
by nohitter151
Ah, thanks for the info.

Posted: Fri Oct 19, 2007 8:06 pm
by Peke
No problem, it is already planned and we surely have few more bunnies in hat ;)