CWS-TOOLING: integrate CWS impress163_DEV300
This commit is contained in:
parent
c616169708
commit
66141a46a4
@ -700,6 +700,8 @@ namespace cppcanvas
|
||||
break;
|
||||
|
||||
case GRADIENT_AXIAL:
|
||||
// vcl considers center color as start color
|
||||
::std::swap(aColors[0],aColors[1]);
|
||||
aTexture.Gradient = xFactory->createAxialHorizontalGradient( aColors,
|
||||
aStops );
|
||||
break;
|
||||
|
@ -5598,7 +5598,7 @@ static BOOL ImplHandleIMEEndComposition( HWND hWnd )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
static void ImplHandleAppCommand( HWND hWnd, LPARAM lParam )
|
||||
static boolean ImplHandleAppCommand( HWND hWnd, LPARAM lParam )
|
||||
{
|
||||
sal_Int16 nCommand = 0;
|
||||
switch( GET_APPCOMMAND_LPARAM(lParam) )
|
||||
@ -5622,7 +5622,7 @@ static void ImplHandleAppCommand( HWND hWnd, LPARAM lParam )
|
||||
case APPCOMMAND_VOLUME_UP: nCommand = MEDIA_COMMAND_VOLUME_UP; break;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
WinSalFrame* pFrame = GetWindowPtr( hWnd );
|
||||
@ -5635,8 +5635,13 @@ static void ImplHandleAppCommand( HWND hWnd, LPARAM lParam )
|
||||
NotifyEvent aNCmdEvt( EVENT_COMMAND, pWindow, &aCEvt );
|
||||
|
||||
if ( !ImplCallPreNotify( aNCmdEvt ) )
|
||||
{
|
||||
pWindow->Command( aCEvt );
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -6195,7 +6200,11 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
|
||||
ImplHandleIMENotify( hWnd, wParam );
|
||||
break;
|
||||
case WM_APPCOMMAND:
|
||||
ImplHandleAppCommand( hWnd, lParam );
|
||||
if( ImplHandleAppCommand( hWnd, lParam ) )
|
||||
{
|
||||
rDef = false;
|
||||
nRet = 1;
|
||||
}
|
||||
break;
|
||||
#if WINVER >= 0x0500
|
||||
case WM_IME_REQUEST:
|
||||
|
Loading…
x
Reference in New Issue
Block a user