Page 2 of 2

Re: WB Icon

Posted: Mon Aug 07, 2017 12:17 pm
by airsoftsoftwair
The first problem is now fixed...

Code: Select all

- Fix: NewIcons couldn't be used as icons for executables compiled by Hollywood because the icon
  pixels stored in the tooltypes confused Hollywood
Concerning your problems with SetWBIcon(): jPV is right. It doesn't work with MUI Royale or RapaGUI.

Re: WB Icon

Posted: Mon Aug 07, 2017 9:38 pm
by r-tea
Thank you guys. You're great.

@ airsoftsoftwair
It's worth to mention in SetWBIcon() docs.

Re: WB Icon

Posted: Fri Aug 18, 2017 11:36 pm
by r-tea
airsoftsoftwair wrote:The first problem is now fixed...

Code: Select all

- Fix: NewIcons couldn't be used as icons for executables compiled by Hollywood because the icon
  pixels stored in the tooltypes confused Hollywood
Concerning your problems with SetWBIcon(): jPV is right. It doesn't work with MUI Royale or RapaGUI.
What is the reason it doesn't? Or what is an obstacle to make it work?
Are there more functions that don't work with MUIRoyale and/or RapaGUI?

Re: WB Icon

Posted: Sat Aug 19, 2017 12:22 pm
by airsoftsoftwair
r-tea wrote:What is the reason it doesn't? Or what is an obstacle to make it work?
MUI has its own app icon handler. If Hollywood installed another one then there would be two different app icon handlers in the same program. Not good.
Are there more functions that don't work with MUIRoyale and/or RapaGUI?
On Amiga probably not, on Windows, Mac OS and Linux RapaGUI replaces the whole display handler with a custom one so that things like menu creation in Hollywood displays won't work.

Re: WB Icon

Posted: Mon Sep 04, 2017 10:55 pm
by r-tea
airsoftsoftwair wrote:The first problem is now fixed...

Code: Select all

- Fix: NewIcons couldn't be used as icons for executables compiled by Hollywood because the icon
  pixels stored in the tooltypes confused Hollywood
When will that fix be available?

In the xml file I can pass appicon filename. Is there an other way t do it in .hws available? I need make the icon name a variable.

Re: WB Icon

Posted: Tue Sep 05, 2017 6:19 pm
by airsoftsoftwair
r-tea wrote:When will that fix be available?
When it's ready :)
In the xml file I can pass appicon filename. Is there an other way t do it in .hws available? I need make the icon name a variable.
Just use a placeholder in the XML and then use ReplaceStr() on the XML to replace the placeholder with the variable's value.

Re: WB Icon

Posted: Wed Sep 06, 2017 8:31 pm
by r-tea
airsoftsoftwair wrote:
r-tea wrote: In the xml file I can pass appicon filename. Is there an other way t do it in .hws available? I need make the icon name a variable.
Just use a placeholder in the XML and then use ReplaceStr() on the XML to replace the placeholder with the variable's value.
I assume I have to read the file into a string variable first, right?

Re: WB Icon

Posted: Wed Sep 06, 2017 10:11 pm
by airsoftsoftwair
Yes, first use FileToString(), then ReplaceStr(). See the Dynamic1.hws example that comes with RapaGUI. It also uses an XML template that is changed by the Hollywood script on the fly.