home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / ddx / ibm / skyway / skyInfo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-16  |  2.1 KB  |  69 lines

  1. /*
  2.  * $XConsortium: skyInfo.c,v 1.3 91/07/16 13:15:33 jap Exp $
  3.  *
  4.  * Copyright IBM Corporation 1987,1988,1989,1990,1991
  5.  *
  6.  * All Rights Reserved
  7.  *
  8.  * License to use, copy, modify, and distribute this software and its
  9.  * documentation for any purpose and without fee is hereby granted,
  10.  * provided that the above copyright notice appear in all copies and that
  11.  * both that copyright notice and this permission notice appear in
  12.  * supporting documentation, and that the name of IBM not be
  13.  * used in advertising or publicity pertaining to distribution of the
  14.  * software without specific, written prior permission.
  15.  *
  16.  * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  17.  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS, AND 
  18.  * NONINFRINGEMENT OF THIRD PARTY RIGHTS, IN NO EVENT SHALL
  19.  * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20.  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21.  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23.  * SOFTWARE.
  24.  *
  25. */
  26.  
  27. /*
  28.  * skyInfo.c - screen data structure
  29.  */
  30.  
  31. #include "X.h"
  32. #include "misc.h"
  33. #include "miscstruct.h"
  34. #include "scrnintstr.h"
  35. #include "cursorstr.h"
  36.  
  37. #include "ibmScreen.h"
  38. #include "skyProcs.h"
  39. #include "skyHdwr.h"
  40.  
  41. #include "hftUtils.h"
  42.  
  43. extern void skyMoveCursor();   /*in skyCur.c */
  44. extern void skyRemoveCursor();   /*in skyCur.c */
  45.  
  46. PixmapFormatRec skyPixmapFormats[]= { { 8, 8, 32 } };
  47.  
  48. ibmPerScreenInfo skywayScreenInfoStruct = {
  49.     { 0, 0, SKYWAY_WIDTH - 1, SKYWAY_HEIGHT - 1 },
  50.     1,
  51.     skyPixmapFormats,       /* pixmap formats */
  52.     skyScreenIO,
  53.     skyProbe,
  54.     skyRemoveCursor,    /*(*ibm_HideCursor)()*/
  55.     "-colorgda",
  56.     "",
  57.     "",
  58.     skySaveState,
  59.     skyRestoreState,
  60.     0,                      /* ibm_Screen */
  61.     0,                      /* ibm_ScreenFD */
  62.     0,                      /* ibm_Wanted */
  63.     0,0,                    /* ibm_CursorHotX,ibm_CursorHotY */
  64.     skyMoveCursor,          /* (*ibm_CursorShow)() */
  65.     0,                      /* ibm_CurrentCursor */
  66.     0,                      /* ibm_ScreenState */
  67.     HFT_SKYWAY_ID           /* ibm_DeviceID */
  68. } ;
  69.