home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / applications / xlispstat / src / src1.lzh / Amiga / amiwindows.c < prev    next >
C/C++ Source or Header  |  1990-10-11  |  2KB  |  44 lines

  1. /* AmiWindows.c - Low Level Window Objects for Amiga                   */
  2. /* Copyright (c) 1990 by J.K. Lindsey                                  */
  3. /* Additions to XLISP-STAT 2.1 Copyright (c) 1990, by Luke Tierney     */
  4. /* Additions to Xlisp 2.1, Copyright (c) 1989 by David Michael Betz    */
  5. /* You may give out copies of this software; for conditions see the    */
  6. /* file COPYING included with this distribution.                       */
  7.  
  8. #include <proto/intuition.h>
  9. #include "xlisp.h"
  10. #include "Stproto.h"
  11. #include "amivar.h"
  12.  
  13. /**************************************************************************/
  14. /**                                                                      **/
  15. /**                 General Window Information Functions                 **/
  16. /**                                                                      **/
  17. /**************************************************************************/
  18.  
  19. void StShowWindow(struct Window *w){
  20.    /*WindowToFront(w);*/}
  21.  
  22. void StHideWindow(struct Window *w){
  23.    /*WindowToBack(w);*/}
  24.  
  25. void StWSetTitle(struct Window *w,char *str){
  26.   SetWindowTitles(w,str,(char *)-1);}
  27.  
  28. /**************************************************************************/
  29. /**                                                                      **/
  30. /**                         Screen Info Functions                        **/
  31. /**                                                                      **/
  32. /**************************************************************************/
  33.  
  34. void StGetScreenSize(int *width,int * height){
  35.    if(width)*width=screenw;
  36.    if(height)*height=screenh;}
  37.  
  38. int StScreenHasColor(void){
  39.    return(TRUE);}
  40.  
  41. int StHasWindows(void){
  42.    return(TRUE);}
  43.  
  44. void StFlushGraphics(void){}