Changeset 1444 for trunk/dll/key.c
- Timestamp:
- Jul 23, 2009, 1:24:23 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/dll/key.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/key.c
r1224 r1444 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004 Steven H. Levine9 Copyright (c) 2004, 2009 Steven H. Levine 10 10 11 11 Revisions … … 13 13 06 Aug 07 GKY Reduce DosSleep times (ticket 148) 14 14 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 15 15 13 Jul 09 SHL Sync with renames 16 16 17 17 ***********************************************************************/ … … 51 51 static HAB hab = 0; 52 52 BOOL no = FALSE; 53 static BOOL pause = FALSE;54 static INT width, direction, ticktock, counter = 0;53 static BOOL noanimation; 54 static INT width, direction, ticktock, counter; 55 55 static HPOINTER stick1, stick2, stick3, stick4, stick12, stick22, stick32, 56 56 stick42, stick5, stick52; … … 63 63 } 64 64 if (mp2) 65 pause= TRUE;65 noanimation = TRUE; 66 66 else 67 pause= FALSE;67 noanimation = FALSE; 68 68 AboutBox = hwnd; 69 69 hab = WinQueryAnchorBlock(hwnd); … … 80 80 if (!strcmp(realappname, "FM/4")) 81 81 WinSetDlgItemText(hwnd, ABT_PROGNAME, GetPString(IDS_FM2LITETEXT)); 82 if (! pause) {82 if (!noanimation) { 83 83 stick1 = WinLoadPointer(HWND_DESKTOP, FM3ModHandle, ID_STICK1); 84 84 stick2 = WinLoadPointer(HWND_DESKTOP, FM3ModHandle, ID_STICK2); … … 93 93 direction = 2; 94 94 ticktock = 0; 95 WinStartTimer(hab, hwnd, ID_ TIMER, 164);95 WinStartTimer(hab, hwnd, ID_ABOUT_TIMER, 164); 96 96 PostMsg(hwnd, UM_SETUP, MPVOID, MPVOID); 97 97 } … … 299 299 case WM_DESTROY: 300 300 if (hab) { 301 if (! pause) {302 WinStopTimer(hab, hwnd, ID_ TIMER);301 if (!noanimation) { 302 WinStopTimer(hab, hwnd, ID_ABOUT_TIMER); 303 303 WinDestroyPointer(stick1); 304 304 WinDestroyPointer(stick2);
Note:
See TracChangeset
for help on using the changeset viewer.
