From mint-bounce@lists.fishpool.fi Sun Oct 16 00:17:17 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: Re: [MiNT] some gem question From: Odd Skancke To: MiNT List In-Reply-To: <1129413519.13062.17.camel@taro.coolrunningconcepts.com> References: <433E5857.80605@hysteria.sk> <1128178738.433ea432eff28@webmail1.utbm.fr> <20051001155230.GA22982@hysteria.sk> <4350F51E.8080209@hysteria.sk> <1129390467.5862.186.camel@linuxbox> <4351120A.4010207@hysteria.sk> <435127B4.6090106@hysteria.sk> <1129393691.43512e1b33dbe@webmail1.utbm.fr> <435135A0.1000804@hysteria.sk> <1129396791.43513a377355b@webmail1.utbm.fr> <1129413519.13062.17.camel@taro.coolrunningconcepts.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 16 Oct 2005 00:13:48 +0000 Message-Id: <1129421628.5862.204.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=2.1 tagged_above=-50.5 required=7.0 tests=BAYES_00, RCVD_IN_SORBS X-Spam-Level: ** Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-902.st.uni-magdeburg.de id j9FMHHTS025758 lør, 15,.10.2005 kl. 16.58 -0500, skrev Evan Langlois: > On Sat, 2005-10-15 at 19:19 +0200, olivier.landemarre@utbm.fr wrote: > > > This is simply impossible to do what you want! So not try to do this, because > > AES will never send you message for button click in the sizer part and never > > send you message for redraw this part, and you never be able avaible rect to > > redraw for this part. > > So no it's impossible. > > You'll get a mouse down event right? Pass mouse coords to objc_find ... > lock screen, start a mouse watch rectangle to track the mouse and do do > whatever fancy resize graphics/animation is required, then on mouse up, > stop mouse tracking, send self a redraw just in case, and unlock screen. > > As long as the sizer is in the working area of the window it should > work. As this will work, it is very bad GEM programming, and it kills AES developers efforts to create good GUI functions, like realtime window handling, etc. Not good at all seeing such things, and it is quite demoralizing to me as an AES developer.... Best Regards, Odd Skancke