mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
remove positionDlg; up pendown timer to half second
This commit is contained in:
parent
8d32041a83
commit
8a5163f0fb
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright 2002 by Eric House (fixin@peak.org). All rights reserved.
|
* Copyright 2002-2004 by Eric House (fixin@peak.org). All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -1370,7 +1370,6 @@ About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (message) {
|
switch (message) {
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
positionDlg( hDlg );
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
@ -1786,7 +1785,7 @@ ce_util_setTimer( XW_UtilCtxt* uc, XWTimerReason why )
|
||||||
{
|
{
|
||||||
CEAppGlobals* globals = (CEAppGlobals*)uc->closure;
|
CEAppGlobals* globals = (CEAppGlobals*)uc->closure;
|
||||||
if ( why == TIMER_PENDOWN ) {
|
if ( why == TIMER_PENDOWN ) {
|
||||||
SetTimer( globals->hWnd, why, 350, NULL);
|
SetTimer( globals->hWnd, why, 500, NULL);
|
||||||
} else if ( why == TIMER_TIMERTICK ) {
|
} else if ( why == TIMER_TIMERTICK ) {
|
||||||
SetTimer( globals->hWnd, why, 1000, NULL); /* 1 second */
|
SetTimer( globals->hWnd, why, 1000, NULL); /* 1 second */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue