From mint-bounce@lists.fishpool.fi Tue Feb 2 16:56:40 2010 Message-ID: <4B689F06.1050505@lutece.net> Date: Tue, 02 Feb 2010 22:54:14 +0100 From: OL User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: mint@fishpool.com Subject: Re: [MiNT] cflib screen locking References: <201002022139.p8453@b.maus.de> In-Reply-To: <201002022139.p8453@b.maus.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: o.l@lutece.net Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hello Gerhard I not understand very well your problem (I have not read all messages on this mailing list this too much for me!) Why do you need to do wind_update(BEG_UPDATE) before fsel_input() ? On single TOS there is no need to lock anything and lock screen on multitask is a very bad thing. In MyAES if you try lock the screen I unlock it, other application can still use screen. Notice you can know if you are in multitask AES or not by using return on appl_init() if -1 this is multitask. With MyAES you can use appl_getinfo_str() as for XaAES this is the same. Regards Olivier >> I think that locking the screen is only required with ROM AES and no >> Selectric. >> > > No, is also if Selectric present. > > >> So either check for ROM AES (is this possible?) or add XaAES, N.AES and >> MyAES to (2). >> > > Or add the fslx function to XaAES. ;-) > > That the moment the code is > -------------------------------cut------------------------------- > wind_update (BEG_UPDATE); > > if (slct || gl_gem >= 0x140) > fsel_exinput (path, name, &but, title); > else > fsel_input (path, name, &but); > > wind_update (END_UPDATE); > -------------------------------cut------------------------------- > slct is TRUE if Selectric > version 1.00 present. > > This can be changed to > -------------------------------cut------------------------------- > if ( !gl_naes && !gl_xaaes ) > wind_update (BEG_UPDATE); > > if (slct || gl_gem >= 0x140) > fsel_exinput (path, name, &but, title); > else > fsel_input (path, name, &but); > > if ( !gl_naes && !gl_xaaes ) > wind_update (END_UPDATE); > -------------------------------cut------------------------------- > > How can I check for MyAES? appl_getinfo_str ( 96 (AES_VERSION))? > > Gerhard > > > > > > > > > > > >