|
SDXFrameWork
0.10
SDXFrameWork
|
ウィンドウを表すクラス. More...
#include <SubWindow.h>
Public Member Functions | |
| SubWindow (const char *ウィンドウ名, int 幅, int 高さ, bool フルスクリーンフラグ=false) | |
| Windowの初期化と生成. More... | |
| SDL_Window * | GetHandle () |
| Windowハンドルの取得. More... | |
| Renderer & | GetRenderer () |
| 対応Rendererの取得. More... | |
| bool | Create (const char *ウィンドウ名, int 幅, int 高さ, bool フルスクリーンフラグ=false) |
| Windowの初期化と生成. More... | |
| bool | Destroy () |
| SubWindowを削除. More... | |
| bool | SetShowFlag (bool 表示フラグ) |
| ウィンドウの表示/非表示設定. More... | |
| bool | SetFullscreen (bool フルスクリーンフラグ) |
| スクリーンモードを設定する. More... | |
| bool | SetTitle (const char *タイトル名) |
| タイトルを設定. More... | |
| bool | SetSize (int 幅, int 高さ) |
| ウィンドウサイズの設定. More... | |
| int | GetWidth () |
| 幅の取得. More... | |
| int | GetHeight () |
| 高さの取得. More... | |
| Rect | GetSize () |
| ウィンドウの位置と座標を取得. More... | |
| bool | SetIcon (const char *ファイル名) |
| ウィンドウのアイコンを設定. More... | |
| void | Update () |
| 描画処理を反映する. More... | |
Static Public Attributes | |
| static SubWindow | mainWindow |
| 現在アクティブなウィンドウ | |
Friends | |
| class | System |
| class | Mouse |
| class | Gesture |
| class | Touch |
| class | Window |
| class | Renderer |
ウィンドウを表すクラス.
Windowに無くてSubWindowにある関数は[SubWindow専用]と表記.
| SDX::SubWindow::SubWindow | ( | const char * | ウィンドウ名, |
| int | 幅, | ||
| int | 高さ, | ||
| bool | フルスクリーンフラグ = false |
||
| ) |
Windowの初期化と生成.
| SDL_Window* SDX::SubWindow::GetHandle | ( | ) |
Windowハンドルの取得.
[SubWindow専用]
| Renderer& SDX::SubWindow::GetRenderer | ( | ) |
対応Rendererの取得.
[SubWindow専用]
| bool SDX::SubWindow::Create | ( | const char * | ウィンドウ名, |
| int | 幅, | ||
| int | 高さ, | ||
| bool | フルスクリーンフラグ = false |
||
| ) |
Windowの初期化と生成.
[SubWindow専用]
| bool SDX::SubWindow::Destroy | ( | ) |
SubWindowを削除.
[SubWindow専用]
| bool SDX::SubWindow::SetShowFlag | ( | bool | 表示フラグ | ) |
ウィンドウの表示/非表示設定.
[SubWindow専用]
| bool SDX::SubWindow::SetFullscreen | ( | bool | フルスクリーンフラグ | ) |
スクリーンモードを設定する.
| bool SDX::SubWindow::SetTitle | ( | const char * | タイトル名 | ) |
タイトルを設定.
| bool SDX::SubWindow::SetSize | ( | int | 幅, |
| int | 高さ | ||
| ) |
ウィンドウサイズの設定.
| int SDX::SubWindow::GetWidth | ( | ) |
幅の取得.
| int SDX::SubWindow::GetHeight | ( | ) |
高さの取得.
| Rect SDX::SubWindow::GetSize | ( | ) |
ウィンドウの位置と座標を取得.
| bool SDX::SubWindow::SetIcon | ( | const char * | ファイル名 | ) |
ウィンドウのアイコンを設定.
| void SDX::SubWindow::Update | ( | ) |
描画処理を反映する.
1.8.7