[comp.sys.amiga.programmer] Programming Questions...

rahst7@unix.cis.pitt.edu (Russell A Howard) (02/07/91)

Hi,
  I have a few questions and was wondering if anybody would be kind enough to 
lend a helping hand.  I'm in the process of planning a game and will write it
using SAS C 5.10.  The two main things that I need to know how to do are:

(1)  The monitor screen for the game will be divided almost in half.  The top
will consist of a 5 bit plane lo-res screen with two windows.  The bottom half 
will be a 3 bit plane medium-res screen with 1 window for printing text.  I am
planning to have full mouse and keyboard support.  Now about my question, how 
can I tell what window to read mouse input from?  How can I make a window 
active when the person moves the mouse onto it nd deactivate the previous one
they were in?
(2)  What would mosue input be without gadgets!  Of course, I am planning to 
have gadgets on both screens.  How can I read mouse input from these gadgets 
when they are clicked on?
(3)  I am also planning to have the pointer change shape when the mouse is
into different areas of the different windows.  How can I do this?

Thanks in advance...

--
Russ Howard
rahst7@unix.cis.pitt.edu