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

@@ -15,6 +15,7 @@
#include "DialogManager.h"
#include "DialogUtils.h"
#include "Externs.h"
#include "Environ.h"
#include "House.h"
#include "MenuManager.h"
#include "ObjectEdit.h"
@@ -417,6 +418,13 @@ void DoOptionsMenu (short theItem)
}
}
CloseMainWindow();
if (thisMac.isTouchscreen)
{
menusUp = false;
PortabilityLayer::MenuManager::GetInstance()->SetMenuVisible(false);
}
OpenMainWindow();
incrementModeTime = TickCount() + kIdleSplashTicks;
}
@@ -425,6 +433,10 @@ void DoOptionsMenu (short theItem)
theMode = kEditMode;
StopTheMusic();
CloseMainWindow();
menusUp = true;
PortabilityLayer::MenuManager::GetInstance()->SetMenuVisible(true);
OpenMainWindow();
OpenCloseEditWindows();
}