home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xibm.zip / ibm8514 / brcScrInfo.c < prev    next >
C/C++ Source or Header  |  1991-12-19  |  3KB  |  78 lines

  1. /*
  2.  * $Id: brcScrInfo.c,v 1.1 1991/09/20 19:10:24 mtranle Exp $
  3.  *
  4.  * Copyright IBM Corporation 1987,1990
  5.  *
  6.  * All Rights Reserved
  7.  *
  8.  * Permission 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 AND FITNESS. IN NO EVENT SHALL
  18.  * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  19.  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20.  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  21.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  22.  * SOFTWARE.
  23.  *
  24. */
  25. /*
  26.  * PRPQ 5799-PFF (C) COPYRIGHT IBM CORPORATION 1987,1990
  27.  * LICENSED MATERIALS - PROPERTY OF IBM
  28.  * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
  29.  */
  30. #include "X.h"
  31. #include "misc.h"
  32. #include "miscstruct.h"
  33. #include "scrnintstr.h"
  34. #include "cursorstr.h"
  35.  
  36. #include "ibmScreen.h"
  37. #ifdef IBM_OS_HAS_HFT
  38. #include "hftUtils.h"
  39. #endif
  40.  
  41. #include "x8514.h"
  42.  
  43. extern Bool ibm8514ScreenInit() ;
  44. extern Bool ibm8514Probe() ;
  45. extern void ibm8514RemoveCursor() ;
  46. extern void ibm8514ShowCursor() ;
  47. extern void ibm8514SuspendScreenAndSave() ;
  48. extern void ibm8514RestoreScreenAndActivate() ;
  49. extern PixmapFormatRec ibm8514Formats[] ;
  50.  
  51. ibmPerScreenInfo ibm8514ScreenInfoStruct = {
  52.  
  53.     { 0, 0,
  54.       _8514_SCREENWIDTH - 1,
  55.       _8514_SCREENHEIGHT - 1 },    /* BoxRec     ibm_ScreenBounds ; */
  56.     1,            /* int         ibm_NumFormats ; */
  57.     ibm8514Formats,        /* PixmapFormatRec    *ibm_ScreenFormats ; */
  58.     ibm8514ScreenInit,    /* Bool        (*ibm_InitFunc)() ;     */
  59.     ibm8514Probe,        /* int        (*ibm_ProbeFunc)() ;     */
  60.     ibm8514RemoveCursor,    /* void        (*ibm_HideCursor)() ;     */
  61.     "-8514",        /* char         *ibm_ScreenFlag ;     */
  62.     IBM8514_DEV_FILE,    /* char         *ibm_ScreenDevice ;     */
  63.     "/dev/ms8514",        /* char         *ibm_ScreenPointer ;     */
  64.     ibm8514SuspendScreenAndSave,/* void    (*ibm_SaveFunc)() ;     */
  65.     ibm8514RestoreScreenAndActivate,/* void    (*ibm_RestoreFunc)() ;     */
  66.     (ScreenPtr) 0,        /* ScreenPtr      ibm_Screen         */
  67.     -1,            /* int          ibm_ScreenFD         */
  68.     0,            /* int          ibm_Wanted         */
  69.     0,            /* short      ibm_CursorHotX     */
  70.     0,            /* short      ibm_CursorHotY     */
  71.     ibm8514ShowCursor,    /* void        (*ibm_CursorShow)()     */
  72.     (CursorPtr) 0,        /* CursorPtr      ibm_CurrentCursor     */
  73.     SCREEN_UNINITIALIZED,    /* int          ibm_ScreenState     */
  74. #ifdef IBM_OS_HAS_HFT
  75.     HFT_8514A_8514_ID    /* unsigned      ibm_DeviceID         */
  76. #endif
  77. } ;
  78.