author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 885f8cc426a8840ae61023b75f3f0e4a1e268082 (patch) (unidiff) | |
tree | 5e942d450c97ca0bf0f9cfb80aa0fefb486535d9 /TIMING-MARK.cpp | |
download | kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.zip kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.tar.gz kinsole-885f8cc426a8840ae61023b75f3f0e4a1e268082.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/kinsole/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | TIMING-MARK.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/TIMING-MARK.cpp b/TIMING-MARK.cpp new file mode 100644 index 0000000..3f4c24b --- a/dev/null +++ b/TIMING-MARK.cpp | |||
@@ -0,0 +1,22 @@ | |||
1 | BOOL tmOnDo() | ||
2 | { | ||
3 | ShowWill(toTimingMark); | ||
4 | Options[toTimingMark].m_StateU=TOption::stateWantNo; | ||
5 | return FALSE; | ||
6 | } | ||
7 | |||
8 | BOOL tmOnWill() | ||
9 | { | ||
10 | // | ||
11 | if(hConsoleWindow){ | ||
12 | for(int tmp=0;tmp<3;tmp++){ | ||
13 | FlashWindow(hConsoleWindow,TRUE); | ||
14 | Sleep(300); | ||
15 | FlashWindow(hConsoleWindow,FALSE); | ||
16 | Sleep(300); | ||
17 | } | ||
18 | }else | ||
19 | Beep(880,100); | ||
20 | Options[toTimingMark].m_StateH=TOption::stateWantNo; | ||
21 | return FALSE; | ||
22 | } | ||