Page 1 of 1

Deficons Prefs

Posted: Mon Jun 02, 2014 3:19 am
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.

Re: Deficons Prefs

Posted: Mon Jun 02, 2014 10:42 pm
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).