SDXFrameWork 0.09 SDXFrameWork

- Main Page
- Related Pages
- Classes

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Static Public Member Functions | List of all members
SDX::Wait Class Reference

一時停止処理する関数群. More...

`#include <Wait.h>`

## Static Public Member Functions
static void | Timer (int 停止ミリ秒)
| 指定ミリ秒実行を停止. More...
static bool | VSync (int 信号回数)
| 垂直同期信号を指定回数待つ[未実装]. More...
static void | PushKey ()
| キーを入力を待つ. More...

## Detailed Description

一時停止処理する関数群.

//©SDXFramework http://sourceforge.jp/projects/dxframework/
//🍣処理停止関数を試す
bool SampleWait()
{
using namespace SDX;
System::Initialise("sample", 600, 400);
Drawing::String({ 10, 10 }, Color::White, "5秒待ちます・・・");
System::Update();
Wait::Timer(5000);//5000ミリ秒停止
Drawing::String({ 10, 10 }, Color::White, "何かキーを押すと終了します");
System::Update();
Wait::PushKey();//何かキーを押すまで停止
System::End();
return true;
}

## Member Function Documentation

static void SDX::Wait::Timer | ( | int | 停止ミリ秒 | ) |
| static

指定ミリ秒実行を停止.

static bool SDX::Wait::VSync | ( | int | 信号回数 | ) |
| static

垂直同期信号を指定回数待つ[未実装].

static void SDX::Wait::PushKey | ( |  | ) |
| static

キーを入力を待つ.