iOS Support (#113)

undefined
This commit is contained in:
Brent
2024-01-22 09:22:41 -06:00
committed by GitHub
parent 90a15340b1
commit afe875e4fa
109 changed files with 6523 additions and 1105 deletions

View File

@@ -57,6 +57,7 @@ std::string AppPlatform::getDateString(int time)
}
// ??? AppPlatform::getOptionStrings()
// To whoever is confused about the above, we moved it to Options::getOptionStrings()
int AppPlatform::getScreenWidth() const
{
@@ -140,6 +141,31 @@ bool AppPlatform::shiftPressed()
return false;
}
void AppPlatform::showKeyboard(int x, int y, int w, int h)
{
showKeyboard();
}
void AppPlatform::showKeyboard()
{
}
void AppPlatform::showKeyboard(bool bShown)
{
if (bShown)
showKeyboard();
else
hideKeyboard();
}
void AppPlatform::hideKeyboard()
{
}
void AppPlatform::onHideKeyboard()
{
}
#ifdef USE_NATIVE_ANDROID
int AppPlatform::getKeyboardUpOffset()
{
@@ -147,6 +173,36 @@ int AppPlatform::getKeyboardUpOffset()
}
#endif
void AppPlatform::_fireLowMemory()
{
}
void AppPlatform::_fireAppSuspended()
{
}
void AppPlatform::_fireAppResumed()
{
}
void AppPlatform::_fireAppFocusLost()
{
}
void AppPlatform::_fireAppFocusGained()
{
}
void AppPlatform::_fireAppTerminated()
{
}
bool AppPlatform::hasFileSystemAccess()
{
return false;
@@ -178,11 +234,3 @@ std::string AppPlatform::getAssetPath(const std::string &path) const
return realPath;
}
void AppPlatform::showKeyboard(int x, int y, int w, int h)
{
}
void AppPlatform::hideKeyboard()
{
}