Semantical change of background clearing
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2134 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -693,7 +693,6 @@ ShowPresentation (STRING PresStr)
|
|||||||
FONT OldFont;
|
FONT OldFont;
|
||||||
RECT OldRect;
|
RECT OldRect;
|
||||||
PRESENTATION_INPUT_STATE pis;
|
PRESENTATION_INPUT_STATE pis;
|
||||||
RECT r = {{0, 0}, {SCREEN_WIDTH, SCREEN_HEIGHT}};
|
|
||||||
|
|
||||||
pis.SlideShow = PresStr;
|
pis.SlideShow = PresStr;
|
||||||
if (!pis.SlideShow)
|
if (!pis.SlideShow)
|
||||||
@@ -706,9 +705,9 @@ ShowPresentation (STRING PresStr)
|
|||||||
GetContextClipRect (&OldRect);
|
GetContextClipRect (&OldRect);
|
||||||
OldFont = SetContextFont (NULL);
|
OldFont = SetContextFont (NULL);
|
||||||
/* paint black rect over screen */
|
/* paint black rect over screen */
|
||||||
SetContextForeGroundColor (BUILD_COLOR (
|
SetContextBackGroundColor (BUILD_COLOR (
|
||||||
MAKE_RGB15 (0x0, 0x0, 0x0), 0x00));
|
MAKE_RGB15 (0x0, 0x0, 0x0), 0x00));
|
||||||
DrawFilledRectangle (&r);
|
ClearDrawable ();
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
|
|
||||||
FlushInput ();
|
FlushInput ();
|
||||||
|
|||||||
Reference in New Issue
Block a user