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

  1. #ifdef AIXrt
  2. /***********************************************************
  3.         Copyright IBM Corporation 1988
  4.  
  5.                       All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its 
  8. documentation for any purpose and without fee is hereby granted, 
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in 
  11. supporting documentation, and that the name of IBM not be
  12. used in advertising or publicity pertaining to distribution of the
  13. software without specific, written prior permission.  
  14.  
  15. IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  16. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  17. IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  18. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  19. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  20. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21. SOFTWARE.
  22.  
  23. ******************************************************************/
  24. /***********************************************************
  25. Copyright 1989 by the Massachusetts Institute of Technology
  26.  
  27.                      All rights reserved.
  28.  
  29. Permission to use, copy, modify, and distribute this software and its
  30. documentation for any purpose and without fee is hereby granted,
  31. provided that the above copyright notice appear in all copies and that
  32. both that copyright notice and this permission notice appear in
  33. supporting documentation, and that the name of the Massachusetts
  34. Institute of Technology (M.I.T.) not be used in advertising or publicity
  35. pertaining to distribution of the software without specific, written
  36. prior permission.
  37.  
  38. M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  39. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  40. M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  41. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  42. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  43. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  44. SOFTWARE.
  45.  
  46. ******************************************************************/
  47.  
  48. /* $Header: /afs/athena.mit.edu/astaff/project/x11r5/src/athena/ibm/apa16/RCS/apa16Save.c,v 5.0 1991/12/30 19:27:05 jfc Exp $ */
  49. /* $Source: /afs/athena.mit.edu/astaff/project/x11r5/src/athena/ibm/apa16/RCS/apa16Save.c,v $ */
  50.  
  51. #ifndef lint
  52. static char *rcsid = "$Header: /afs/athena.mit.edu/astaff/project/x11r5/src/athena/ibm/apa16/RCS/apa16Save.c,v 5.0 1991/12/30 19:27:05 jfc Exp $";
  53. #endif
  54.  
  55. #include "apa16Hdwr.h"
  56.  
  57. #include "ibmTrace.h"
  58.  
  59. void
  60. apa16SaveState()
  61. {
  62.     TRACE(("apa16SaveState()\n"));
  63.     apa16InvalidateFonts();
  64.     apa16InvalidateCursor();
  65.     return;
  66. }
  67.  
  68. void
  69. apa16RestoreState()
  70. {
  71.     TRACE(("apa16RestoreState()\n"));
  72.     QUEUE_WAIT();
  73.     WHITE_ON_BLACK();
  74.     apa16ReinitializeFonts();
  75.     apa16ReinitializeCursor();
  76.     return;
  77. }
  78. #endif
  79.