Page 1 of 1

ColorRequest

Posted: Sat Feb 25, 2012 4:08 pm
by djrikki
Doesn't work under AmigaOS 4. Simply states cannot find reqtools library rather than calling ReAction.

Re: ColorRequest

Posted: Sat Feb 25, 2012 5:15 pm
by airsoftsoftwair
You have to install the 68k reqtools.library and reqtools.l.main for ColorRequest() to work (AFAIK reqtools is not available in a native OS4 version)

Re: ColorRequest

Posted: Sat Feb 25, 2012 8:37 pm
by djrikki
Okay I guess this needs moving to the Wishlist then.

I am not insulting my applications with old 68k requesters.

Does the ListRequest command work this way as well? I haven't tried it tbh so I don't even know what it looks like, but one thing I have noticed from the documentation is that there is no provision to allow the end user to make multiple selections from the list.

Re: ColorRequest

Posted: Sun Feb 26, 2012 10:36 am
by airsoftsoftwair
No, ListRequest() doesn't require reqtools.library. It's a custom implementation but no, it doesn't use ReAction either :)

Re: ColorRequest

Posted: Sun Feb 26, 2012 7:51 pm
by djrikki
Since posted I've come to use ListRequest and can tell that its a custom effort - hey we are developers we analyse everything and spot the smallest of things - but as far as the user is concerned they'll barely notice the different and it performs the job requested. I could only tell because they buttons are a slightly different height to the AmigaOS4 natives.

As for ColorRequest, I just acquired a suitable color wheel and use ReadPixel to extrapolate the colour no big deal. :)