From fnaumann@mail.cs.uni-magdeburg.de Wed Jun 30 07:47:38 2004 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <8D57D4E8-CA58-11D8-B5FD-00039357F826@epfl.ch> Content-Type: text/plain; charset=US-ASCII; format=flowed To: mint@lists.fishpool.fi From: =?ISO-8859-1?Q?Philipp_Donz=E9?= Subject: Re: [MiNT] AES desktop extension Date: Wed, 30 Jun 2004 07:44:28 +0200 X-Mailer: Apple Mail (2.618) X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at fishpool.fi Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: philipp.donze@epfl.ch Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel Hi, I've followed your discussion about extending the AES for a better desktop window management. Here some thoughts from me: We should use the normal wind_set(WF_NEWDESK) function to implement your idea. I.e. -wind_set(0, WF_NEWDESK, &objc_addr) sets the appropriate desktop object. -wind_set(0, WF_NEWDESK, 0L) removes the desktop object and disables desktop management -wind_set(0, WF_NEWDESK, -1L) enables the sending of WM_REDRAW messages Sure, an AES implementation should make sure that if applications are switched it is perhaps necessary to send a redraw message to the dektop window. If we go further in this direction, we could use the WF_NEWDESK feature for normal windows too! It could be used for an easy implementation of window dialogs. I.e. an application can add an object tree to a window just by using wind_set(whandle, WF_NEWDESK, &my_dialog). Sure in this case the name WF_NEWDESK should be replaced by something like WF_OBJECT or WF_OBJTREE. I think this would lead to a proper implementation of your desired feature and further it could be a proper way of implementing window dialogs (and get rid of WDIALOG ;-)). Sure for backwards compatibility we need to add this features to old OS like TOS and MagiC. Your comments are wellcome Philipp