home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c100 / 1.ddi / MOUSE.ZIP / M_DISPLA.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-11  |  334 b   |  22 lines

  1. /*
  2.  *    m_display.c
  3.  *
  4.  *    Public Domain (p) March 1990 By Rodney Loos
  5.  *    Syntax modified by S. Sampson
  6.  */
  7.  
  8. #include "mouse.h"
  9.  
  10. void m_display(int on_off)
  11. {
  12.     if (on_off == ON)  {
  13.         __Mpar->m1 = 1;
  14.         __Mptr->display = ON;
  15.         mouse(__Mpar);
  16.     } else  {
  17.         __Mpar->m1 = 2;
  18.         __Mptr->display = OFF;
  19.         mouse(__Mpar);
  20.     }
  21. }
  22.