[comp.sys.amiga.programmer] WINDOWDRAG/WINDOWSIZE functions

vho@churchy.ai.mit.edu (Viet Ho) (02/04/91)

Howdy!

Maybe someone out there in netland can help me with this:

I have a custom borderless window on which I replace the system
gadgets and borders with my own custom imagery (a 3d NeXt beveled
look).  Now the WINDOWCLOSE|WINDOWDEPTH are easy to implement as
custom gadgets.  However, simulating the WINDOWDRAG or WINDOWSIZING
would require me one extra step before calling the appropriate
SizeWindow() or MoveWindow() function.

That step is to track the mouse coordinates upon selecting the
WINDOWDRAG or WINDOWSIZING gadget and begin drawing a complementing
outline box, dynamically changing, as the user moves the mouse.

I'd like to avoid this step as it entails writing extra code that's
already there in Intuition.   Are there functions I might have overlooked
in the RKM (I only have the 1.2 Libs&Devs) that will do this for me?

2.0 gadget imagery looks nice in the noninterlace mode, but look squashed
in interlace.


 -Viet Ho
  vho@albert.ai.mit.edu