winemine: Added Shift+LClick hotkey to uncover multiple cells.
Signed-off-by: Andrey Semakin <and-semakin@ya.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
da5e8d0887
commit
ca8f056da1
|
@ -884,7 +884,7 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
|
||||||
|
|
||||||
case WM_LBUTTONDOWN:
|
case WM_LBUTTONDOWN:
|
||||||
WINE_TRACE("WM_LBUTTONDOWN\n");
|
WINE_TRACE("WM_LBUTTONDOWN\n");
|
||||||
if( wParam & MK_RBUTTON )
|
if( wParam & ( MK_RBUTTON | MK_SHIFT ) )
|
||||||
msg = WM_MBUTTONDOWN;
|
msg = WM_MBUTTONDOWN;
|
||||||
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
||||||
SetCapture( hWnd );
|
SetCapture( hWnd );
|
||||||
|
@ -892,7 +892,7 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
|
||||||
|
|
||||||
case WM_LBUTTONUP:
|
case WM_LBUTTONUP:
|
||||||
WINE_TRACE("WM_LBUTTONUP\n");
|
WINE_TRACE("WM_LBUTTONUP\n");
|
||||||
if( wParam & MK_RBUTTON )
|
if( wParam & ( MK_RBUTTON | MK_SHIFT ) )
|
||||||
msg = WM_MBUTTONUP;
|
msg = WM_MBUTTONUP;
|
||||||
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
|
|
Loading…
Reference in New Issue