Add license browser, improve touchscreen UI

This commit is contained in:
elasota
2020-10-24 23:39:55 -04:00
parent 4f70ce1c9f
commit b9ea9450f1
42 changed files with 2582 additions and 69 deletions

View File

@@ -30,8 +30,6 @@
void DrawOnSplash (DrawSurface *surface);
void SetPaletteToGrays (void);
void HardDrawMainWindow (void);
void KeepWindowInBounds(Window *window);
CTabHandle theCTab;
@@ -53,6 +51,7 @@ Boolean fadeGraysOut, isDoColorFade, splashDrawn;
extern short toolSelected;
extern Boolean noRoomAtAll, isUseSecondScreen;
extern Boolean quickerTransitions, houseIsReadOnly;
extern Boolean menusUp;
//============================================================== Functions
//-------------------------------------------------------------- DrawOnSplash
@@ -111,7 +110,12 @@ void RedrawSplashScreen (void)
CopyRectMainToWork(&workSrcRect);
mainWindow->GetDrawSurface()->m_port.SetDirty(PortabilityLayer::QDPortDirtyFlag_Contents);
PortabilityLayer::MenuManager::GetInstance()->SetMenuVisible(true);
if (!thisMac.isTouchscreen)
{
menusUp = true;
PortabilityLayer::MenuManager::GetInstance()->SetMenuVisible(true);
}
}
//-------------------------------------------------------------- UpdateMainWindow