Fixed position of images for saving and loading.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@215 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2002-11-20 02:12:18 +00:00
parent d79aa0c490
commit 9b286789ce
+5 -1
View File
@@ -699,6 +699,7 @@ ShowSummary (SUMMARY_DESC *pSD)
if (pSD->year_index == 0) if (pSD->year_index == 0)
{ {
// Unused save slot, draw 'Empty Game' message.
s.origin.x = s.origin.y = 0; s.origin.x = s.origin.y = 0;
s.frame = SetAbsFrameIndex (pLocMenuState->ModuleFrame, s.frame = SetAbsFrameIndex (pLocMenuState->ModuleFrame,
GetFrameCount (pLocMenuState->ModuleFrame) - 4); GetFrameCount (pLocMenuState->ModuleFrame) - 4);
@@ -712,6 +713,7 @@ ShowSummary (SUMMARY_DESC *pSD)
} }
else else
{ {
// Game slot used, draw information about save game.
BYTE i; BYTE i;
RECT OldRect; RECT OldRect;
TEXT t; TEXT t;
@@ -726,7 +728,9 @@ ShowSummary (SUMMARY_DESC *pSD)
OldContext = SetContext (StatusContext); OldContext = SetContext (StatusContext);
GetContextClipRect (&OldRect); GetContextClipRect (&OldRect);
r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1); r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1) +
SAFE_X - 16;
// r.corner.x = SIS_ORG_X + ((SIS_SCREEN_WIDTH - STATUS_WIDTH) >> 1);
r.corner.y = SIS_ORG_Y; r.corner.y = SIS_ORG_Y;
r.extent.width = STATUS_WIDTH; r.extent.width = STATUS_WIDTH;
r.extent.height = STATUS_HEIGHT; r.extent.height = STATUS_HEIGHT;