Author: greatlrd
Date: Sun Jul 29 19:55:09 2007
New Revision: 28010
URL:
http://svn.reactos.org/svn/reactos?rev=28010&view=rev
Log:
partly implement animations GET/SET spi, the value are store, but win32k ignore them
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/misc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/misc.c Sun Jul 29 19:55:09 2007
@@ -939,6 +939,7 @@
static BOOL GradientCaptions = TRUE;
static UINT FocusBorderHeight = 1;
static UINT FocusBorderWidth = 1;
+ static ANIMATIONINFO anim;
if (!bInitialized)
{
@@ -1404,6 +1405,18 @@
*((NONCLIENTMETRICSW*)pvParam) = pMetrics;
break;
}
+ case SPI_GETANIMATION:
+ {
+ ASSERT(pvParam);
+ *(( ANIMATIONINFO*)pvParam) = anim;
+ break;
+ }
+ case SPI_SETANIMATION:
+ {
+ ASSERT(pvParam);
+ anim = *((ANIMATIONINFO*)pvParam);
+ bChanged = TRUE;
+ }
case SPI_SETNONCLIENTMETRICS:
{
ASSERT(pvParam);