mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Fix some splash screen inconsistencies
This commit is contained in:
@@ -52,6 +52,7 @@ extern short toolSelected;
|
|||||||
extern Boolean noRoomAtAll, isUseSecondScreen;
|
extern Boolean noRoomAtAll, isUseSecondScreen;
|
||||||
extern Boolean quickerTransitions, houseIsReadOnly;
|
extern Boolean quickerTransitions, houseIsReadOnly;
|
||||||
extern Boolean menusUp;
|
extern Boolean menusUp;
|
||||||
|
extern Boolean houseOpen;
|
||||||
|
|
||||||
//============================================================== Functions
|
//============================================================== Functions
|
||||||
//-------------------------------------------------------------- DrawOnSplash
|
//-------------------------------------------------------------- DrawOnSplash
|
||||||
@@ -61,6 +62,9 @@ extern Boolean menusUp;
|
|||||||
void DrawOnSplash(DrawSurface *surface)
|
void DrawOnSplash(DrawSurface *surface)
|
||||||
{
|
{
|
||||||
Str255 houseLoadedStr;
|
Str255 houseLoadedStr;
|
||||||
|
|
||||||
|
if (!houseOpen)
|
||||||
|
return;
|
||||||
|
|
||||||
PasStringCopy(PSTR("House: "), houseLoadedStr);
|
PasStringCopy(PSTR("House: "), houseLoadedStr);
|
||||||
PasStringConcat(houseLoadedStr, thisHouseName);
|
PasStringConcat(houseLoadedStr, thisHouseName);
|
||||||
@@ -260,14 +264,14 @@ void OpenMainWindow (void)
|
|||||||
// fadeGraysOut = false;
|
// fadeGraysOut = false;
|
||||||
// ForceCTSeed((CGrafPtr)mainWindow, wasSeed);
|
// ForceCTSeed((CGrafPtr)mainWindow, wasSeed);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
UpdateMainWindow();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CopyBits((BitMap *)*GetGWorldPixMap(workSrcMap),
|
CopyBits((BitMap *)*GetGWorldPixMap(workSrcMap),
|
||||||
GetPortBitMapForCopyBits(mainWindow->GetDrawSurface()),
|
GetPortBitMapForCopyBits(mainWindow->GetDrawSurface()),
|
||||||
&mainWindowRect, &mainWindowRect, srcCopy);
|
&mainWindowRect, &mainWindowRect, srcCopy);
|
||||||
|
|
||||||
|
UpdateMainWindow();
|
||||||
|
|
||||||
mainWindow->GetDrawSurface()->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
mainWindow->GetDrawSurface()->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user