CWS-TOOLING: integrate CWS impress163_DEV300

This commit is contained in:
Jens-Heiner Rechtien 2008-11-20 14:55:36 +00:00
parent c616169708
commit 66141a46a4
2 changed files with 14 additions and 3 deletions

View File

@ -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;

View File

@ -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,10 +5635,15 @@ static void ImplHandleAppCommand( HWND hWnd, LPARAM lParam )
NotifyEvent aNCmdEvt( EVENT_COMMAND, pWindow, &aCEvt );
if ( !ImplCallPreNotify( aNCmdEvt ) )
{
pWindow->Command( aCEvt );
return true;
}
}
return false;
}
static void ImplHandleIMENotify( HWND hWnd, WPARAM wParam )
{
@ -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: