diff options
author | Chris Apers | 2003-11-28 09:37:48 +0000 |
---|---|---|
committer | Chris Apers | 2003-11-28 09:37:48 +0000 |
commit | 56fa76c2ba0f5e8e79b0b9395fb5549bf0f2111e (patch) | |
tree | cefe078c0df9d35573a612f363724b7536d13f7f /backends/PalmOS/Src/start.cpp | |
parent | abeded8ab8d6001f829f686345e990e411f0d863 (diff) | |
download | scummvm-rg350-56fa76c2ba0f5e8e79b0b9395fb5549bf0f2111e.tar.gz scummvm-rg350-56fa76c2ba0f5e8e79b0b9395fb5549bf0f2111e.tar.bz2 scummvm-rg350-56fa76c2ba0f5e8e79b0b9395fb5549bf0f2111e.zip |
Better DIA and orientation support
svn-id: r11397
Diffstat (limited to 'backends/PalmOS/Src/start.cpp')
-rw-r--r-- | backends/PalmOS/Src/start.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/backends/PalmOS/Src/start.cpp b/backends/PalmOS/Src/start.cpp index 77419c7dd7..80b2298895 100644 --- a/backends/PalmOS/Src/start.cpp +++ b/backends/PalmOS/Src/start.cpp @@ -212,8 +212,8 @@ static void MainFormAbout() { FormLabelType *versionP; frmP = FrmInitForm(AboutForm); - versionP = FrmNewLabel(&frmP, 1120, gScummVMVersion, 4, 132, stdFont); - versionP = FrmNewLabel(&frmP, 1121, gScummVMBuildDate, 4, 142, stdFont); + versionP = FrmNewLabel(&frmP, 1120, gScummVMVersion, 4, 126, stdFont); + versionP = FrmNewLabel(&frmP, 1121, gScummVMBuildDate, 4, 136, stdFont); FrmDoDialog (frmP); // Display the About Box. FrmDeleteForm (frmP); } @@ -652,10 +652,17 @@ static void AppLaunchCmdNotify(UInt16 LaunchFlags, SysNotifyParamType * pData) break; case sysNotifyDisplayResizedEvent: - EventType ev; - MemSet(&ev, sizeof(EventType), 0); - ev.eType = (enum eventsEnum)winDisplayChangedEvent; - EvtAddUniqueEventToQueue(&ev, 0, true); + if (gVars) { + if (gVars->pinUpdate) { + EventType ev; + MemSet(&ev, sizeof(EventType), 0); + ev.eType = (enum eventsEnum)winDisplayChangedEvent; + EvtAddUniqueEventToQueue(&ev, 0, true); + + PINGetScreenDimensions(); + WinScreenGetPitch(); + } + } break; case sonySysNotifyMsaEnforceOpenEvent: |