[comp.sys.amiga.tech] Changing Intuition Window Gadgetry

jmpi@uhura.cc.rochester.edu (Spike ) (03/09/89)

Hello, Amigans!

Spring Break approacheth, and I finally will have some time to do some
serious programming.  Soooo...

I'm working on a killer word processor (orders of magnitude better than
anything ever seen in the personal computer world--well, maybe not,
but I like it) and I'm trying to do everything right.  No offense
intended to the folks at Commodore, but your window gadgetry is kind
of bland.  So I'd like to substitute my own.  Sizes will be slightly
different than standard Intuition gadgets (a bit wider--I think
they're the same height, though).  

Is there a 'legal' (semi-legal) way of doing this?  What I want to do
is point Intuition at my own Gadget structures.  I'll be happy to give
them special IDs if Intuition needs that sort of thing.  But I'd like
to have Intuition handle my window dragging, resizing, etc.  I don't
have the autodocs or anything like that (tho' that situation is likely
to change soon...).  I suppose I'm looking for something in
IntuitionBase that points to the Gadget structs used for window
rendering.

Can I do this, or am I completely off base here?  I'm a fairly
experienced C programmer, though my experience with the Amiga is
slightly more limited.  Not that I don't know anything about Ami
programming, it's just that my *actual* experience with it is a bit
limited.

Thanks for all your help.  

 John "Reality Is Optional" Pisello--University of Rochester Computing Center 
   @@@@@                                                                  ///
 @@@===@@@        ARPA:  jmpi%UHURA@SEISMO.ARPA            Another Proud ///  
@@===   ===     Bitnet:  jmpi_ss@UORVM                       Amiga User ///   
@@=           INTERNET:  jmpi@uhura.cc.rochester.edu                \\\///    
 @@@   @@@        UUCP:  {cmcl2!decvax,rutgers}!rochester!ur=cc!jmpi \XX/    
  =@@@@@===    US Mail:  P.O. Box 28858  River Station  Rochester, NY 14627
    =====