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 quickerTransitions, houseIsReadOnly;
|
||||
extern Boolean menusUp;
|
||||
extern Boolean houseOpen;
|
||||
|
||||
//============================================================== Functions
|
||||
//-------------------------------------------------------------- DrawOnSplash
|
||||
@@ -61,6 +62,9 @@ extern Boolean menusUp;
|
||||
void DrawOnSplash(DrawSurface *surface)
|
||||
{
|
||||
Str255 houseLoadedStr;
|
||||
|
||||
if (!houseOpen)
|
||||
return;
|
||||
|
||||
PasStringCopy(PSTR("House: "), houseLoadedStr);
|
||||
PasStringConcat(houseLoadedStr, thisHouseName);
|
||||
@@ -260,14 +264,14 @@ void OpenMainWindow (void)
|
||||
// fadeGraysOut = false;
|
||||
// ForceCTSeed((CGrafPtr)mainWindow, wasSeed);
|
||||
// }
|
||||
|
||||
UpdateMainWindow();
|
||||
}
|
||||
|
||||
CopyBits((BitMap *)*GetGWorldPixMap(workSrcMap),
|
||||
GetPortBitMapForCopyBits(mainWindow->GetDrawSurface()),
|
||||
&mainWindowRect, &mainWindowRect, srcCopy);
|
||||
|
||||
UpdateMainWindow();
|
||||
|
||||
mainWindow->GetDrawSurface()->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user