ライブラリの初期化やシステム的な処理を行う関数群.
More...
#include <System.h>
|
static std::string | inputText |
|
static std::string | textComposition |
|
static int | textCursor |
|
static int | textSelection_len |
|
ライブラリの初期化やシステム的な処理を行う関数群.
#include <SDXFramework.h>
bool SampleSystem()
{
using namespace SDX;
return true;
}
static void SDX::System::Initialise |
( |
const char * |
ウィンドウ名, |
|
|
int |
幅, |
|
|
int |
高さ, |
|
|
bool |
フルスクリーンフラグ = false |
|
) |
| |
|
inlinestatic |
ライブラリの初期化.
初期化に失敗した場合、ソフトを強制的に終了する。
一部の設定関数は初期化前に呼び出す必要がある。
static bool SDX::System::End |
( |
| ) |
|
|
inlinestatic |
ライブラリの終了処理.
この関数を使用した後は速やかにプログラムを終了させなければならない。
static bool SDX::System::Update |
( |
bool |
描画更新フラグ = true | ) |
|
|
inlinestatic |
static bool SDX::System::ProcessMessage |
( |
| ) |
|
|
inlinestatic |
OSのメッセージ処理を行う.
目安として1/60秒に一回程度、この関数を呼び出す必要があり。 falseを返した場合、速やかにプログラムを終了させなければならない。
- Todo:
- タブレット版専用の処理色々
static void SDX::System::Wait |
( |
int |
停止ミリ秒 | ) |
|
|
inlinestatic |
static void SDX::System::WaitKey |
( |
| ) |
|
|
inlinestatic |
static Platform SDX::System::GetPlatform |
( |
| ) |
|
|
inlinestatic |
static bool SDX::System::IsTablet |
( |
| ) |
|
|
inlinestatic |
タブレット端末かどうかを取得.
- Todo:
- Windowsタブレットだとfalseになる