[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES doesn't respect wind_update?
on 12/6/10 2:19 AM, Jo Even Skarstein wrote:
> On Fri, 2010-12-03 at 23:28 +0100, Henk Robbers wrote:
>> Peter Persson wrote:
>>> Is it possible to get any feedback on this topic at all?
>>>
>>> Is it supposed to be that way, or is it a bug?
>>
>> It is definitely a bug.
>>
>> It has been a long time ago, before 2002, but I still remember
>> I spent time on the topic.
>>
>> Something must have been lost since then.
>>
>> The AES must respect wind_update just like anybody else.
>
> I don't think this is a bug. XaAES runs form_dial()-sessions in a window
> without blocking the AES or other applications. I find this feature
> extremely useful.
>
> Jo Even
I just wrote this quick test and compiled it and tried it in N.Aes and I can
move the sliders and such while the screen semaphore is locked.
Similar behavior I take it.
OPENW #1,20,20,200,200,TRUE !fast way
CLEARW 1
wh&=W_HAND(#1) !gfa window index -> gem handle
~WIND_UPDATE(1) !lock
DO
key&=EVNT_KEYBD()
~WIND_SET(wh&,8,BYTE(key&)*7,0,0,0) !hslider position
~WIND_SET(wh&,16,BYTE(key&)*7,0,0,0) !vslider size
LOOP UNTIL BYTE(key&)=27 !escape?
~WIND_UPDATE(0) !unlock
CLOSEW 1
EDIT !pterm
--
Lonny Pursell http://www.bright.net/~gfabasic/