summaryrefslogtreecommitdiffabout
path: root/TIMING-MARK.cpp
blob: 3f4c24b10d6db3901dc935dbbccc65df10b5ddeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
BOOL tmOnDo()
{
	ShowWill(toTimingMark);
	Options[toTimingMark].m_StateU=TOption::stateWantNo;
	return FALSE;
}

BOOL tmOnWill()
{
	//
	if(hConsoleWindow){
		for(int tmp=0;tmp<3;tmp++){
			FlashWindow(hConsoleWindow,TRUE);
			Sleep(300);
			FlashWindow(hConsoleWindow,FALSE);
			Sleep(300);
		}
	}else
		Beep(880,100);
	Options[toTimingMark].m_StateH=TOption::stateWantNo;
	return FALSE;
}