2012-12-15 16:42:38 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
2013-04-21 04:36:50 +09:00
|
|
|
#include "i18n/i18n.h"
|
2013-04-20 14:58:28 -07:00
|
|
|
#include "math/math_util.h"
|
2012-12-15 16:42:38 +00:00
|
|
|
|
2013-04-20 13:49:36 -07:00
|
|
|
#include "Core/Dialog/PSPOskDialog.h"
|
|
|
|
#include "Core/Util/PPGeDraw.h"
|
|
|
|
#include "Core/HLE/sceCtrl.h"
|
|
|
|
#include "Core/Reporting.h"
|
|
|
|
#include "Common/ChunkFile.h"
|
2013-04-20 14:58:28 -07:00
|
|
|
#include "GPU/GPUState.h"
|
2013-04-20 13:49:36 -07:00
|
|
|
|
2013-02-28 07:58:23 -08:00
|
|
|
#ifndef _WIN32
|
|
|
|
#include <ctype.h>
|
2013-04-20 14:58:28 -07:00
|
|
|
#include <math.h>
|
2013-02-28 07:58:23 -08:00
|
|
|
#endif
|
|
|
|
|
2012-12-22 15:11:20 +00:00
|
|
|
#define NUMKEYROWS 4
|
2012-12-23 09:05:01 -08:00
|
|
|
#define KEYSPERROW 12
|
|
|
|
#define NUMBEROFVALIDCHARS (KEYSPERROW * NUMKEYROWS)
|
2013-04-20 14:09:29 -07:00
|
|
|
static const char oskKeys[OSK_KEYBOARD_COUNT][NUMKEYROWS][KEYSPERROW + 1] =
|
2012-12-22 15:11:20 +00:00
|
|
|
{
|
2013-04-20 14:09:29 -07:00
|
|
|
{
|
|
|
|
{'1','2','3','4','5','6','7','8','9','0','-','+','\0'},
|
|
|
|
{'q','w','e','r','t','y','u','i','o','p','[',']','\0'},
|
|
|
|
{'a','s','d','f','g','h','j','k','l',';','@','~','\0'},
|
|
|
|
{'z','x','c','v','b','n','m',',','.','/','?','\\','\0'},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{'!','@','#','$','%','^','&','*','(',')','_','+','\0'},
|
|
|
|
{'Q','W','E','R','T','Y','U','I','O','P','{','}','\0'},
|
|
|
|
{'A','S','D','F','G','H','J','K','L',':','"','`','\0'},
|
|
|
|
{'Z','X','C','V','B','N','M','<','>','/','?','|','\0'},
|
|
|
|
},
|
2012-12-22 15:11:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2012-12-22 18:19:50 +00:00
|
|
|
PSPOskDialog::PSPOskDialog() : PSPDialog() {
|
2012-12-22 19:55:44 +00:00
|
|
|
|
2012-12-15 16:42:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
PSPOskDialog::~PSPOskDialog() {
|
|
|
|
}
|
|
|
|
|
2013-04-17 22:51:06 -07:00
|
|
|
void PSPOskDialog::ConvertUCS2ToUTF8(std::string& _string, const u32 em_address)
|
2012-12-15 17:13:58 +00:00
|
|
|
{
|
|
|
|
char stringBuffer[2048];
|
|
|
|
char *string = stringBuffer;
|
2013-04-17 22:51:06 -07:00
|
|
|
|
|
|
|
u16 *src = (u16 *) Memory::GetPointer(em_address);
|
|
|
|
int c;
|
|
|
|
while (c = *src++)
|
2012-12-15 17:13:58 +00:00
|
|
|
{
|
2013-04-17 22:51:06 -07:00
|
|
|
if (c < 0x80)
|
|
|
|
*string++ = c;
|
|
|
|
else if (c < 0x800)
|
|
|
|
{
|
|
|
|
*string++ = 0xC0 | (c >> 6);
|
|
|
|
*string++ = 0x80 | (c & 0x3F);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
*string++ = 0xE0 | (c >> 12);
|
|
|
|
*string++ = 0x80 | ((c >> 6) & 0x3F);
|
|
|
|
*string++ = 0x80 | (c & 0x3F);
|
|
|
|
}
|
2012-12-15 17:13:58 +00:00
|
|
|
}
|
|
|
|
*string++ = '\0';
|
|
|
|
_string = stringBuffer;
|
|
|
|
}
|
|
|
|
|
2012-12-15 16:42:38 +00:00
|
|
|
|
|
|
|
int PSPOskDialog::Init(u32 oskPtr)
|
|
|
|
{
|
2012-12-19 01:05:45 +01:00
|
|
|
// Ignore if already running
|
|
|
|
if (status != SCE_UTILITY_STATUS_NONE && status != SCE_UTILITY_STATUS_SHUTDOWN)
|
2013-03-17 19:01:58 -07:00
|
|
|
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
2013-04-20 13:14:11 -07:00
|
|
|
// Seems like this should crash?
|
|
|
|
if (!Memory::IsValidAddress(oskPtr))
|
2013-04-20 13:49:36 -07:00
|
|
|
{
|
|
|
|
ERROR_LOG_REPORT(HLE, "sceUtilityOskInitStart: invalid params (%08x)", oskPtr);
|
2013-04-20 13:14:11 -07:00
|
|
|
return -1;
|
2013-04-20 13:49:36 -07:00
|
|
|
}
|
2013-04-20 13:14:11 -07:00
|
|
|
|
|
|
|
oskParams = Memory::GetStruct<SceUtilityOskParams>(oskPtr);
|
|
|
|
if (oskParams->base.size != sizeof(SceUtilityOskParams))
|
2012-12-15 16:42:38 +00:00
|
|
|
{
|
2013-04-20 13:49:36 -07:00
|
|
|
ERROR_LOG(HLE, "sceUtilityOskInitStart: invalid size (%d)", oskParams->base.size);
|
|
|
|
return SCE_ERROR_UTILITY_INVALID_PARAM_SIZE;
|
2012-12-15 16:42:38 +00:00
|
|
|
}
|
2013-04-20 13:49:36 -07:00
|
|
|
// Also seems to crash.
|
|
|
|
if (!Memory::IsValidAddress(oskParams->fieldPtr))
|
2012-12-15 16:42:38 +00:00
|
|
|
{
|
2013-04-20 13:49:36 -07:00
|
|
|
ERROR_LOG_REPORT(HLE, "sceUtilityOskInitStart: invalid field data (%08x)", oskParams->fieldPtr);
|
2012-12-15 16:42:38 +00:00
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
2013-04-20 13:49:36 -07:00
|
|
|
if (oskParams->unk_60 != 0)
|
|
|
|
WARN_LOG_REPORT(HLE, "sceUtilityOskInitStart: unknown param is non-zero (%08x)", oskParams->unk_60);
|
|
|
|
if (oskParams->fieldCount != 1)
|
|
|
|
WARN_LOG_REPORT(HLE, "sceUtilityOskInitStart: unsupported field count %d", oskParams->fieldCount);
|
|
|
|
|
|
|
|
status = SCE_UTILITY_STATUS_INITIALIZE;
|
|
|
|
selectedChar = 0;
|
2013-04-20 14:09:29 -07:00
|
|
|
currentKeyboard = OSK_KEYBOARD_LATIN_LOWERCASE;
|
2013-04-20 13:49:36 -07:00
|
|
|
|
|
|
|
Memory::ReadStruct(oskParams->fieldPtr, &oskData);
|
|
|
|
ConvertUCS2ToUTF8(oskDesc, oskData.descPtr);
|
|
|
|
ConvertUCS2ToUTF8(oskIntext, oskData.intextPtr);
|
|
|
|
ConvertUCS2ToUTF8(oskOuttext, oskData.outtextPtr);
|
|
|
|
|
2013-04-20 13:59:07 -07:00
|
|
|
inputChars = oskIntext.substr(0, FieldMaxLength());
|
2013-04-20 13:49:36 -07:00
|
|
|
|
2012-12-23 09:23:01 -08:00
|
|
|
// Eat any keys pressed before the dialog inited.
|
|
|
|
__CtrlReadLatch();
|
|
|
|
|
2013-01-19 00:45:00 +01:00
|
|
|
StartFade(true);
|
2012-12-15 16:42:38 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-04-20 13:59:07 -07:00
|
|
|
u32 PSPOskDialog::FieldMaxLength()
|
|
|
|
{
|
|
|
|
if (oskData.outtextlimit > oskData.outtextlength - 1 || oskData.outtextlimit == 0)
|
|
|
|
return oskData.outtextlength - 1;
|
|
|
|
return oskData.outtextlimit;
|
|
|
|
}
|
2012-12-22 14:09:14 +00:00
|
|
|
|
|
|
|
void PSPOskDialog::RenderKeyboard()
|
|
|
|
{
|
2012-12-23 09:05:01 -08:00
|
|
|
int selectedRow = selectedChar / KEYSPERROW;
|
2013-04-20 14:58:28 -07:00
|
|
|
int selectedCol = selectedChar % KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
|
2012-12-22 22:41:51 -08:00
|
|
|
char temp[2];
|
|
|
|
temp[1] = '\0';
|
|
|
|
|
2013-04-20 13:59:07 -07:00
|
|
|
u32 limit = FieldMaxLength();
|
2012-12-22 22:41:51 -08:00
|
|
|
|
2013-02-21 07:15:37 +08:00
|
|
|
const float keyboardLeftSide = (480.0f - (24.0f * KEYSPERROW)) / 2.0f;
|
2013-04-20 14:58:28 -07:00
|
|
|
const float characterWidth = 12.0f;
|
2013-03-06 06:47:21 +08:00
|
|
|
float previewLeftSide = (480.0f - (12.0f * limit)) / 2.0f;
|
|
|
|
float title = (480.0f - (0.5f * limit)) / 2.0f;
|
2012-12-23 09:21:10 -08:00
|
|
|
|
2013-01-27 20:19:28 +08:00
|
|
|
PPGeDrawText(oskDesc.c_str(), title , 20, PPGE_ALIGN_CENTER, 0.5f, CalcFadedColor(0xFFFFFFFF));
|
2013-01-29 09:03:22 -05:00
|
|
|
for (u32 i = 0; i < limit; ++i)
|
2012-12-22 14:09:14 +00:00
|
|
|
{
|
2013-01-19 00:45:00 +01:00
|
|
|
u32 color = CalcFadedColor(0xFFFFFFFF);
|
2013-01-29 09:03:22 -05:00
|
|
|
if (i < inputChars.size())
|
2012-12-22 22:41:51 -08:00
|
|
|
temp[0] = inputChars[i];
|
2012-12-23 08:52:51 -08:00
|
|
|
else if (i == inputChars.size())
|
2012-12-22 18:19:50 +00:00
|
|
|
{
|
2013-04-20 14:58:28 -07:00
|
|
|
temp[0] = oskKeys[currentKeyboard][selectedRow][selectedCol];
|
|
|
|
float animStep = (float)(gpuStats.numFrames % 40) / 20.0f;
|
|
|
|
// Fade in and out the next character so they know it's not part of the string yet.
|
|
|
|
u32 alpha = (0.5f - (cosf(animStep * M_PI) / 2.0f)) * 128 + 127;
|
|
|
|
color = CalcFadedColor((alpha << 24) | 0xFFFFFF);
|
|
|
|
|
|
|
|
PPGeDrawText(temp, previewLeftSide + (i * characterWidth), 40.0f, 0, 0.5f, color);
|
|
|
|
|
|
|
|
// Also draw the underline for the same reason.
|
|
|
|
color = CalcFadedColor(0xFFFFFFFF);
|
|
|
|
temp[0] = '_';
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else
|
2012-12-22 22:41:51 -08:00
|
|
|
temp[0] = '_';
|
|
|
|
|
2013-04-20 14:58:28 -07:00
|
|
|
PPGeDrawText(temp, previewLeftSide + (i * characterWidth), 40.0f, 0, 0.5f, color);
|
2012-12-22 14:09:14 +00:00
|
|
|
}
|
2012-12-23 09:21:10 -08:00
|
|
|
for (int row = 0; row < NUMKEYROWS; ++row)
|
2012-12-22 15:11:20 +00:00
|
|
|
{
|
2012-12-23 09:21:10 -08:00
|
|
|
for (int col = 0; col < KEYSPERROW; ++col)
|
2012-12-22 18:19:50 +00:00
|
|
|
{
|
2013-01-19 00:45:00 +01:00
|
|
|
u32 color = CalcFadedColor(0xFFFFFFFF);
|
2013-04-20 14:58:28 -07:00
|
|
|
if (selectedRow == row && col == selectedCol)
|
|
|
|
color = CalcFadedColor(0xFF3060FF);
|
2012-12-23 09:21:10 -08:00
|
|
|
|
2013-04-20 14:09:29 -07:00
|
|
|
temp[0] = oskKeys[currentKeyboard][row][col];
|
2013-04-20 14:58:28 -07:00
|
|
|
PPGeDrawText(temp, keyboardLeftSide + (25.0f * col) + characterWidth / 2.0, 70.0f + (25.0f * row), PPGE_ALIGN_HCENTER, 0.6f, color);
|
2012-12-23 09:21:10 -08:00
|
|
|
|
2013-04-20 14:58:28 -07:00
|
|
|
if (selectedRow == row && col == selectedCol)
|
|
|
|
PPGeDrawText("_", keyboardLeftSide + (25.0f * col) + characterWidth / 2.0, 70.0f + (25.0f * row), PPGE_ALIGN_HCENTER, 0.6f, CalcFadedColor(0xFFFFFFFF));
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
2012-12-22 15:11:20 +00:00
|
|
|
}
|
2012-12-22 14:09:14 +00:00
|
|
|
}
|
|
|
|
|
2012-12-24 18:37:28 -08:00
|
|
|
int PSPOskDialog::Update()
|
2012-12-15 16:42:38 +00:00
|
|
|
{
|
2012-12-23 08:59:34 -08:00
|
|
|
buttons = __CtrlReadLatch();
|
2012-12-23 09:05:01 -08:00
|
|
|
int selectedRow = selectedChar / KEYSPERROW;
|
|
|
|
int selectedExtra = selectedChar % KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
|
2013-04-20 13:59:07 -07:00
|
|
|
u32 limit = FieldMaxLength();
|
2012-12-22 22:41:51 -08:00
|
|
|
|
2012-12-15 16:42:38 +00:00
|
|
|
if (status == SCE_UTILITY_STATUS_INITIALIZE)
|
|
|
|
{
|
|
|
|
status = SCE_UTILITY_STATUS_RUNNING;
|
|
|
|
}
|
|
|
|
else if (status == SCE_UTILITY_STATUS_RUNNING)
|
|
|
|
{
|
2013-01-19 00:45:00 +01:00
|
|
|
UpdateFade();
|
|
|
|
|
2012-12-15 17:13:58 +00:00
|
|
|
StartDraw();
|
2012-12-22 14:09:14 +00:00
|
|
|
RenderKeyboard();
|
2013-02-28 20:19:33 +08:00
|
|
|
PPGeDrawImage(I_CROSS, 30, 220, 20, 20, 0, CalcFadedColor(0xFFFFFFFF));
|
2013-04-21 06:01:12 +08:00
|
|
|
PPGeDrawImage(I_CIRCLE, 150, 220, 20, 20, 0, CalcFadedColor(0xFFFFFFFF));
|
2013-04-17 20:51:02 +02:00
|
|
|
//PPGeDrawImage(I_BUTTON, 230, 220, 50, 20, 0, CalcFadedColor(0xFFFFFFFF));
|
|
|
|
//PPGeDrawImage(I_BUTTON, 350, 220, 55, 20, 0, CalcFadedColor(0xFFFFFFFF));
|
2013-04-16 20:52:35 +08:00
|
|
|
|
2013-04-21 04:36:50 +09:00
|
|
|
I18NCategory *m = GetI18NCategory("Dialog");
|
|
|
|
PPGeDrawText(m->T("Select"), 60, 220, PPGE_ALIGN_LEFT, 0.5f, CalcFadedColor(0xFFFFFFFF));
|
2013-04-21 06:01:12 +08:00
|
|
|
PPGeDrawText(m->T("Delete"), 180, 220, PPGE_ALIGN_LEFT, 0.5f, CalcFadedColor(0xFFFFFFFF));
|
|
|
|
PPGeDrawText("Start", 245, 220, PPGE_ALIGN_LEFT, 0.6f, CalcFadedColor(0xFFFFFFFF));
|
2013-04-21 04:36:50 +09:00
|
|
|
PPGeDrawText(m->T("Finish"), 290, 222, PPGE_ALIGN_LEFT, 0.5f, CalcFadedColor(0xFFFFFFFF));
|
2013-04-21 06:01:12 +08:00
|
|
|
PPGeDrawText("Select", 365, 220, PPGE_ALIGN_LEFT, 0.6f, CalcFadedColor(0xFFFFFFFF));
|
2013-04-20 14:09:29 -07:00
|
|
|
// TODO: Show title of next keyboard?
|
|
|
|
PPGeDrawText(m->T("Shift"), 415, 222, PPGE_ALIGN_LEFT, 0.5f, CalcFadedColor(0xFFFFFFFF));
|
2012-12-22 18:34:52 +00:00
|
|
|
|
2012-12-22 18:19:50 +00:00
|
|
|
if (IsButtonPressed(CTRL_UP))
|
|
|
|
{
|
2012-12-23 09:05:01 -08:00
|
|
|
selectedChar -= KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_DOWN))
|
|
|
|
{
|
2012-12-23 09:05:01 -08:00
|
|
|
selectedChar += KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_LEFT))
|
|
|
|
{
|
|
|
|
selectedChar--;
|
2012-12-23 09:25:42 -08:00
|
|
|
if (((selectedChar + KEYSPERROW) % KEYSPERROW) == KEYSPERROW - 1)
|
|
|
|
selectedChar += KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_RIGHT))
|
|
|
|
{
|
|
|
|
selectedChar++;
|
2012-12-23 09:25:42 -08:00
|
|
|
if ((selectedChar % KEYSPERROW) == 0)
|
|
|
|
selectedChar -= KEYSPERROW;
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
|
2012-12-23 09:05:01 -08:00
|
|
|
selectedChar = (selectedChar + NUMBEROFVALIDCHARS) % NUMBEROFVALIDCHARS;
|
2012-12-22 19:55:44 +00:00
|
|
|
|
2012-12-15 17:13:58 +00:00
|
|
|
if (IsButtonPressed(CTRL_CROSS))
|
2012-12-22 18:19:50 +00:00
|
|
|
{
|
2013-01-29 09:03:22 -05:00
|
|
|
if (inputChars.size() < limit)
|
2013-04-20 14:09:29 -07:00
|
|
|
inputChars += oskKeys[currentKeyboard][selectedRow][selectedExtra];
|
2013-02-28 20:19:33 +08:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_SELECT))
|
|
|
|
{
|
2013-04-20 14:09:29 -07:00
|
|
|
// TODO: Limit by allowed keyboards...
|
|
|
|
currentKeyboard = (OskKeyboardDisplay)((currentKeyboard + 1) % OSK_KEYBOARD_COUNT);
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_CIRCLE))
|
|
|
|
{
|
2012-12-23 08:52:51 -08:00
|
|
|
if (inputChars.size() > 0)
|
|
|
|
inputChars.resize(inputChars.size() - 1);
|
2012-12-22 18:19:50 +00:00
|
|
|
}
|
|
|
|
else if (IsButtonPressed(CTRL_START))
|
2012-12-15 17:13:58 +00:00
|
|
|
{
|
2013-01-19 00:45:00 +01:00
|
|
|
StartFade(false);
|
2012-12-15 17:13:58 +00:00
|
|
|
}
|
|
|
|
EndDraw();
|
2012-12-15 16:42:38 +00:00
|
|
|
}
|
|
|
|
else if (status == SCE_UTILITY_STATUS_FINISHED)
|
|
|
|
{
|
|
|
|
status = SCE_UTILITY_STATUS_SHUTDOWN;
|
|
|
|
}
|
2012-12-22 18:40:05 +00:00
|
|
|
|
2013-04-20 13:49:36 -07:00
|
|
|
for (u32 i = 0; i < oskData.outtextlength; ++i)
|
2012-12-22 14:09:14 +00:00
|
|
|
{
|
2012-12-23 08:52:51 -08:00
|
|
|
u16 value = 0;
|
2013-01-29 09:03:22 -05:00
|
|
|
if (i < inputChars.size())
|
2013-04-20 13:49:36 -07:00
|
|
|
value = inputChars[i];
|
2012-12-23 08:52:51 -08:00
|
|
|
Memory::Write_U16(value, oskData.outtextPtr + (2 * i));
|
2012-12-22 14:09:14 +00:00
|
|
|
}
|
|
|
|
|
2013-04-20 13:14:11 -07:00
|
|
|
oskParams->base.result = 0;
|
2012-12-16 20:40:49 +01:00
|
|
|
oskData.result = PSP_UTILITY_OSK_RESULT_CHANGED;
|
2013-04-20 13:49:36 -07:00
|
|
|
Memory::WriteStruct(oskParams->fieldPtr, &oskData);
|
2012-12-24 18:37:28 -08:00
|
|
|
|
|
|
|
return 0;
|
2012-12-15 16:42:38 +00:00
|
|
|
}
|
2012-12-28 13:36:37 -08:00
|
|
|
|
2013-04-20 13:14:11 -07:00
|
|
|
template <typename T>
|
|
|
|
static void DoBasePointer(PointerWrap &p, T **ptr)
|
|
|
|
{
|
|
|
|
u32 addr = *ptr == NULL ? 0 : (u8 *) *ptr - Memory::base;
|
|
|
|
p.Do(addr);
|
|
|
|
if (addr == 0)
|
|
|
|
*ptr = NULL;
|
|
|
|
else
|
|
|
|
*ptr = Memory::GetStruct<T>(addr);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-12-28 13:36:37 -08:00
|
|
|
void PSPOskDialog::DoState(PointerWrap &p)
|
|
|
|
{
|
2012-12-29 02:56:27 -08:00
|
|
|
PSPDialog::DoState(p);
|
2013-04-20 13:14:11 -07:00
|
|
|
DoBasePointer(p, &oskParams);
|
2012-12-28 13:36:37 -08:00
|
|
|
p.Do(oskData);
|
|
|
|
p.Do(oskDesc);
|
|
|
|
p.Do(oskIntext);
|
|
|
|
p.Do(oskOuttext);
|
|
|
|
p.Do(selectedChar);
|
|
|
|
p.Do(inputChars);
|
|
|
|
p.DoMarker("PSPOskDialog");
|
|
|
|
}
|