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 >
Wrap
C/C++ Source or Header
|
1992-04-27
|
854b
|
26 lines
//////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Atari graphical interface for GNU Chess,
// and is Copyright 1992 by Warwick W. Allison.
//
// You are free to copy and modify these sources, provided you acknowledge
// the origin by retaining this notice, and adhere to the conditions
// of the CHESS General Public License described in the main chess file
// gnuchess.cc.
//
//////////////////////////////////////////////////////////////////////////////
#include "Timer.h"
FastCounter *Minutes;
FastCounter *Seconds;
void InitClock(Screen& S)
{
CounterFont *TimerFont=new CounterFont(9,1);
TimerFont->GetImages(S,240,65);
Minutes = new FastCounter(TimerFont,32,98,0,4);
Seconds = new FastCounter(TimerFont,64,98,0,2);
Seconds->ZeroSuppression(FALSE);
}