home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / gchsrc31.lzh / TIMER.CC < prev    next >
C/C++ Source or Header  |  1992-04-27  |  854b  |  26 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  This file is part of the Atari graphical interface for GNU Chess,
  4. //  and is Copyright 1992 by Warwick W. Allison.
  5. //
  6. //  You are free to copy and modify these sources, provided you acknowledge
  7. //  the origin by retaining this notice, and adhere to the conditions
  8. //  of the CHESS General Public License described in the main chess file
  9. //  gnuchess.cc.
  10. //
  11. //////////////////////////////////////////////////////////////////////////////
  12.  
  13. #include "Timer.h"
  14.  
  15. FastCounter *Minutes;
  16. FastCounter *Seconds;
  17.  
  18. void InitClock(Screen& S)
  19. {
  20.     CounterFont *TimerFont=new CounterFont(9,1);
  21.     TimerFont->GetImages(S,240,65);
  22.     Minutes = new FastCounter(TimerFont,32,98,0,4);
  23.     Seconds = new FastCounter(TimerFont,64,98,0,2);
  24.     Seconds->ZeroSuppression(FALSE);
  25. }
  26.