Author Topic: PSI new screen mode  (Read 231 times)

Yanosh

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
PSI new screen mode
« on: August 05, 2019, 01:13:05 AM »
Hi. I'm trying to use OWB on its own screen, but I can't find how to set all the fonts I need. There is only one font I can choose, instead of the 3 ones the Wanderer's screen allows to use. This way OWB looks ugly. Can someone help on this?

nikos

  • Member
  • ***
  • Posts: 206
  • Karma: +4/-1
    • aspireos
Re: PSI new screen mode
« Reply #1 on: August 05, 2019, 03:50:09 PM »
I'm pretty sure the PSI.prefs does not work. At least I never managed to create own Zune (MUI) screenmodes with AROS.

Yanosh

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Re: PSI new screen mode
« Reply #2 on: August 06, 2019, 10:23:47 PM »
It works for me. I've just created a new 640x480 screen and opened it. The only thing I don't know how to set, are the fonts... I can only set one font and it's the wrong one, because if I open OWB on that screen, the font used are wrong (and ugly).

o1i

  • Newbie
  • *
  • Posts: 24
  • Karma: +2/-0
Re: PSI new screen mode
« Reply #3 on: August 07, 2019, 08:53:20 AM »
PSI simply only handles one font, as it uses Zunes (MUIs) OpenPubScreen() function, which takes a struct MUI_PubScreenDesc as a parameter.

And this only has one entry for a font name:

struct MUI_PubScreenDesc
{
  LONG  Version;

  char  Name[PSD_MAXLEN_NAME];
  char  Title[PSD_MAXLEN_TITLE];
  char  Font[PSD_MAXLEN_FONT];
  char  Background[PSD_MAXLEN_BACKGROUND];
...
}


So changing that seems to be not trivial, at least on a first look. I think, you can't use MUIs OpenPubScreen() to set the other fonts..?

I guess you should use the Zune Preferences for the specific program to modify those fonts.
« Last Edit: August 07, 2019, 01:48:33 PM by o1i »