home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / SOURCE / OWLSCR / PCRESTOR.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-22  |  714 b   |  35 lines

  1. /*
  2.     pcrestor.c
  3.  
  4.     % pc_RestoreDisp
  5.  
  6.     10/19/88  by Ted.
  7.     Extracted from pcdisp.c
  8.  
  9.     OWL-PC 1.2
  10.     Copyright (c) 1988, by Oakland Group, Inc.
  11.     ALL RIGHTS RESERVED.
  12.  
  13.     Revision History:
  14.     -----------------
  15.      3/28/90 jmd    ansi-fied
  16.      6/22/90 ted    added "void"s to no-parameter function per ansii.
  17. */
  18.  
  19. #include "pcpriv.h"
  20. /* -------------------------------------------------------------------------- */
  21.  
  22. void pc_RestoreDisp(void)
  23. {
  24.     /* Re-Init video mode */
  25.     pc_initmode();
  26.  
  27.     /* Re-Init mouse in case the mode swap confused the mouse driver */
  28.     if (hard_IsMouseOn()) {
  29.         hard_InitMouse();
  30.     }
  31.     disp_Repaint();
  32. }
  33. /* -------------------------------------------------------------------------- */
  34.  
  35.