[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



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