home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0040 - 0049 / ibm0040-0049 / ibm0040.tar / ibm0040 / ZINC_6.ZIP / DOSSRC.ZIP / DEVICE.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-01  |  420 b   |  20 lines

  1. //    Zinc Interface Library - DEVICE.CPP
  2. //    COPYRIGHT (C) 1990, 1991.  All Rights Reserved.
  3. //    Zinc Software Incorporated.  Pleasant Grove, Utah  USA
  4.  
  5. #include "ui_evt.hpp"
  6. #include <dos.h>
  7.  
  8. int UI_DEVICE::altPressed = ALT_NOT_PRESSED;
  9.  
  10. UI_DEVICE::UI_DEVICE(int _type, USHORT initialState)
  11. {
  12.     type = _type;
  13.     state = initialState;
  14.     enabled = TRUE;
  15.     display = 0;
  16.     eventManager = 0;
  17.     installed = FALSE;
  18. }
  19.  
  20.