Deficons Prefs

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
daveyw
Posts: 252
Joined: Mon Sep 12, 2011 8:44 pm

Deficons Prefs

Post by daveyw »

Hi,

In Deficon Prefs, if you double click on an entry to bring up it's def_icon, is it really necessary to lock out the Deficons Prefs interface until you close the def_icon? Is it a limitation of RAWBInfo?

I find it a little bit annoying when I'm opening up multiple def_icons (such as images) and comparing their defaults.
User avatar
thomasrapp
Posts: 318
Joined: Sun Jun 19, 2011 12:22 am

Re: Deficons Prefs

Post by thomasrapp »

daveyw wrote:In Deficon Prefs, if you double click on an entry to bring up it's def_icon, is it really necessary to lock out the Deficons Prefs interface until you close the def_icon?
No, it's not. It's just a lot more programming effort. Icon information is opened by a call to WBInfo(). This is a synchronous call which means the function only returns when the info window is closed. In order to keep the prefs responsive and have multiple info windows open at the same time, each WBInfo() would have to be called in a seperate process. And one would have to take care that all these processes are ended before the prefs program can quit. It is possible, it just needs a lot of development and testing.

Is it a limitation of RAWBInfo?
This has nothing to do with it. RAWBInfo only patches WBInfo to look different. It is not possible to change its synchronous nature (or would break a lot of programs).
Post Reply