#include <sdlWindow.h>
Public Member Functions | |
SDL_Window (bool fullscreen=false) | |
フルスクリーン指定のコンストラクタ | |
void | setTitle (const char *title, const char *icon) |
void | autoHideCursor (int waitMsec) |
void | activate (bool on) |
unsigned long | getTicks (void) |
スクリーンが activate されてからの時間を返す | |
void | delay (unsigned long ticks) |
待機処理 | |
void | lock (void) |
void | unlock (void) |
void | add (ComponentInterface *component, char depth) |
コンポーネントをレイヤーに登録 | |
void | del (ComponentInterface *component, char depth) |
コンポーネントをレイヤーから削除 | |
void | clear (char depth) |
レイヤーのクリア | |
void | addInputComponent (FocusComponentInterface *component, char depth) |
void | toggleFocus (void) |
void | setFocus (FocusComponentInterface *component) |
void | setFullscreen (bool on) |
bool | getNowFullscreen (void) |
Definition at line 20 of file sdlWindow.h.
SDL_Window::SDL_Window | ( | bool | fullscreen = false |
) |
フルスクリーン指定のコンストラクタ
fullscreen | [i] フルスクリーンで起動する場合に true |
Definition at line 10 of file sdlWindow.cpp.
References SDL_Video::fullscreen, WindowInterface::h, and WindowInterface::w.
void SDL_Window::setTitle | ( | const char * | title, | |
const char * | icon | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
title | [i] タイトル文字列 | |
icon | [i] 表示アイコン |
Reimplemented from SDL_Video.
Definition at line 23 of file sdlWindow.cpp.
void SDL_Window::autoHideCursor | ( | int | waitMsec | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
waitMsec | [i] 指定時間だけカーソルが移動しないときに隠す [msec] |
Reimplemented from SDL_Video.
Definition at line 28 of file sdlWindow.cpp.
void SDL_Window::activate | ( | bool | on | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
on | [i] 表示する場合に true |
Reimplemented from SDL_Video.
Definition at line 33 of file sdlWindow.cpp.
unsigned long SDL_Window::getTicks | ( | void | ) |
スクリーンが activate されてからの時間を返す
Reimplemented from SDL_Video.
Definition at line 38 of file sdlWindow.cpp.
void SDL_Window::delay | ( | unsigned long | ticks | ) | [virtual] |
待機処理
ticks | [i] 待機時間 [msec] |
Implements WindowInterface.
Definition at line 43 of file sdlWindow.cpp.
void SDL_Window::lock | ( | void | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from SDL_Video.
Definition at line 48 of file sdlWindow.cpp.
void SDL_Window::unlock | ( | void | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from SDL_Video.
Definition at line 53 of file sdlWindow.cpp.
void SDL_Window::add | ( | ComponentInterface * | component, | |
char | depth | |||
) | [virtual] |
コンポーネントをレイヤーに登録
component | [i] コンポーネント | |
depth | [i] レイヤー |
Implements WindowInterface.
Definition at line 58 of file sdlWindow.cpp.
References SDL_Video::draws.
void SDL_Window::del | ( | ComponentInterface * | component, | |
char | depth | |||
) | [virtual] |
コンポーネントをレイヤーから削除
component | [i] コンポーネント | |
depth | [i] レイヤー |
Implements WindowInterface.
Definition at line 66 of file sdlWindow.cpp.
References SDL_Video::draws.
Referenced by clear().
void SDL_Window::clear | ( | char | depth | ) | [virtual] |
レイヤーのクリア
depth | [i] レイヤー |
Implements WindowInterface.
Definition at line 78 of file sdlWindow.cpp.
References del(), and SDL_Video::draws.