mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 22:43:38 +00:00
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:
|
||||
WINE_TRACE("WM_LBUTTONDOWN\n");
|
||||
if( wParam & MK_RBUTTON )
|
||||
if( wParam & ( MK_RBUTTON | MK_SHIFT ) )
|
||||
msg = WM_MBUTTONDOWN;
|
||||
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
||||
SetCapture( hWnd );
|
||||
|
@ -892,7 +892,7 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
|
|||
|
||||
case WM_LBUTTONUP:
|
||||
WINE_TRACE("WM_LBUTTONUP\n");
|
||||
if( wParam & MK_RBUTTON )
|
||||
if( wParam & ( MK_RBUTTON | MK_SHIFT ) )
|
||||
msg = WM_MBUTTONUP;
|
||||
TestBoard( hWnd, &board, (short)LOWORD(lParam), (short)HIWORD(lParam), msg );
|
||||
ReleaseCapture();
|
||||
|
|
Loading…
Reference in a new issue