[comp.sys.ibm.pc] Graphics and Mouse in C

zentner@hydrogen.ecn.purdue.edu (Michael Zentner) (04/11/90)

I am considering undertaking an ambitious graphical interactive
interface project and am looking for help with finding references
on popular methods for doing this.  I would like to stay with C
as the language.  Specificaly, I am looking for the following 
types of references:

1.  What kind of things do I need to know about to do mouse-interactive
    graphics in C besides just C?

2.  What is the best reference on graphics techniques in C in general
    and do any of these references also cover any special features
    of Turbo C?

3.  How does one go about reading mouse positions, moving the mouse
    position, etc... in a C compatible way, or is some assembly a
    must?  Are there any books that cover this in a comprehensive
    way?

Thanks in advance...


--
Mike Zentner
School of Chemical Engineering            zentner@cn.ecn.purdue.edu
Purdue University, CMET Building          zentner@purche.bitnet
West Lafayette, IN 47907               {ihnp4,ucbvax}!pur-ee!zentner

kirk%enterprise@Sun.COM (`Captain' Kirk DeHaan) (04/11/90)

From article <1990Apr10.201556.14048@ecn.purdue.edu>, by zentner@hydrogen.ecn.purdue.edu (Michael Zentner):
> I am considering undertaking an ambitious graphical interactive
> interface project and am looking for help with finding references
> on popular methods for doing this.  I would like to stay with C
> as the language.  Specificaly, I am looking for the following 
> types of references:
> 
> 1.  What kind of things do I need to know about to do mouse-interactive
>     graphics in C besides just C?
> 
> 2.  What is the best reference on graphics techniques in C in general
>     and do any of these references also cover any special features
>     of Turbo C?
> 
> 3.  How does one go about reading mouse positions, moving the mouse
>     position, etc... in a C compatible way, or is some assembly a
>     must?  Are there any books that cover this in a comprehensive
>     way?
> 
> Thanks in advance...
> 
> 
> --
> Mike Zentner
> School of Chemical Engineering            zentner@cn.ecn.purdue.edu
> Purdue University, CMET Building          zentner@purche.bitnet
> West Lafayette, IN 47907               {ihnp4,ucbvax}!pur-ee!zentner


Try finding a package called CXL.  It's a very nice package, with libraries for
about 5 differenct 'C' compilers, that has routines for graphics, windows, mouse
and more.  It's shareware and costs $35 for registration.  You can find the
demo version on most BBS's but you must pay the money to get the libraries
and source.  I paid the money and have been very happy with it.  The window
system has pulldown menus of various types and using a mouse with them is
very easy.

They also have a BBS that you can access for upgrades once you have registered.


 'Captain' Kirk DeHaan		  		     net - kirk@sun.com
  Sun Microsystems Inc.	 			     packet - n6sxr.ampr.org
						     cis - 73427,1657