Author Topic: skinconfig.txt options  (Read 2227 times)

skeptic mike

  • Posts: 8
skinconfig.txt options
« on: 23 Feb '23 - 00:55 »
At some update between 3.8.5.25 and 3.8.5.43 color_listnum became a valid option which does what I expect. I haven't found any documentation or forum posts that mention it.

I'm happy that it now exists, but I'm left wondering what other settings are available. e.g. it wasn't easy to work out what options there are for "Info Display". I've found pos_info1line and font_mainalign, but I think that format control of the text is on the 3.9 wishlist.

So, is there are an up-to-date list of the options? The xmp-skin.txt only covers 3.8.2 and earlier. That mentions "* Font "quality" options (font_xxxquality)", but not what they are.

Added. I looked in the most recent skin on the support website (Escape by Keltic Danor), and that appears to have a larger collection of options in skinconfig.txt. So, maybe that's the latest information.

thanks

Mike

Ian @ un4seen

  • Administrator
  • Posts: 26149
Re: skinconfig.txt options
« Reply #1 on: 23 Feb '23 - 16:55 »
Some new options were indeed added for KelticDanor's recent skins. They will be documented at the next XMPlay and skinning kit release, but in the meantime, I think this is all of them:

color_listnum = track number/time/type
color_listqueue = queued track marker/number
color_listselback = selected track background
font_listposalign = playlist position/count alignment
font_searchalign = search text alignment
infostretch = stretch the info window heading (instead of repeating)

pos_listoff can also now include a 2nd number for right side padding

The best way to find all of the other existing skinconfig options is to look at the example skins in the skinning kit, as all options should be listed in those (even if they're unused/commented-out). For example, pos_info1line and font_mainalign are included there. I notice the font "quality" options aren't though. They set the "iQuality" parameter in the font's CreateFont call, as described here:

   https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createfonta

Domo

  • Guest
Re: skinconfig.txt options
« Reply #2 on: 16 Jul '23 - 16:16 »
Hmm, `pos_listoff` does not work with 2 values. e.g. `pos_listoff = 4 4` for left and right padding 4px. Only left works.

Ian @ un4seen

  • Administrator
  • Posts: 26149
Re: skinconfig.txt options
« Reply #3 on: 18 Jul '23 - 15:34 »
What XMPlay version are you currently using? You can check that in the bottom-right of the options window. You will need to be using a fairly recent build for the stuff listed above. The latest is available here:

   www.un4seen.com/stuff/xmplay.exe

Domo

  • Guest
Re: skinconfig.txt options
« Reply #4 on: 19 Jul '23 - 21:39 »
I had the release 3.8.5. But the version 3.8.5.58 (from your link) seems to work. Thanks.

Btw. it also fixes a weird bug of wrong left panel position on every second start of XMPlay.
And it fixes the title scroll jump bug.
And fixes the playlist background flashing when transparent borders are used.
And a lot more... Great👍

Btw. I crafted a nice skin and wonder where to upload here to be available in the skins list.

Ian @ un4seen

  • Administrator
  • Posts: 26149
Re: skinconfig.txt options
« Reply #5 on: 20 Jul '23 - 12:51 »
Yep, there have been a number of tweaks made since the last official XMPlay release (3.8.5). The next planned release to make the tweaks official is 4.0 (which will also have a new default skin). It's taking a while but it'll get there eventually :)

Regarding your new skin, please send that to skins@xmplay.com

saga

  • Posts: 2767
Re: skinconfig.txt options
« Reply #6 on: 23 Jul '23 - 11:31 »
4.0 (which will also have a new default skin)
Hear, hear... 👀 ;D