#include <windowInterface.h>
Public Types | |
enum | { All = -1 } |
Public Member Functions | |
virtual void | setTitle (const char *title, const char *icon=NULL)=0 |
タイトル指定 | |
virtual void | autoHideCursor (int waitMsec=INT_MAX)=0 |
自動でカーソルを隠すかどうか | |
virtual void | activate (bool on)=0 |
表示・非表示の切替え | |
virtual unsigned long | getTicks (void)=0 |
スクリーンが activate されてからの時間を返す | |
virtual void | delay (unsigned long ticks)=0 |
待機処理 | |
virtual void | lock (void)=0 |
スクリーン資源のロック | |
virtual void | unlock (void)=0 |
スクリーン資源のアンロック | |
virtual void | addInputComponent (FocusComponentInterface *component, char depth=0)=0 |
virtual void | add (ComponentInterface *component, char depth=0)=0 |
コンポーネントをレイヤーに登録 | |
virtual void | del (ComponentInterface *component, char depth=0)=0 |
コンポーネントをレイヤーから削除 | |
virtual void | clear (char depth=All)=0 |
レイヤーのクリア | |
virtual void | toggleFocus (void)=0 |
virtual void | setFocus (FocusComponentInterface *component)=0 |
virtual void | setFullscreen (bool on)=0 |
virtual bool | getNowFullscreen (void)=0 |
Public Attributes | |
int | w |
int | h |
Definition at line 20 of file windowInterface.h.
virtual void WindowInterface::setTitle | ( | const char * | title, | |
const char * | icon = NULL | |||
) | [pure virtual] |
タイトル指定
title | [i] タイトル文字列 | |
icon | [i] 表示アイコン |
Implemented in SDL_Window.
Referenced by vmonitor::getObject(), and ResourceInitialize::Initialize().
virtual void WindowInterface::autoHideCursor | ( | int | waitMsec = INT_MAX |
) | [pure virtual] |
自動でカーソルを隠すかどうか
waitMsec | [i] 指定時間だけカーソルが移動しないときに隠す [msec] |
Implemented in SDL_Window.
Referenced by vmonitor::getObject(), and ResourceInitialize::Initialize().
virtual void WindowInterface::activate | ( | bool | on | ) | [pure virtual] |
表示・非表示の切替え
on | [i] 表示する場合に true |
Implemented in SDL_Window.
Referenced by vmonitor::hide(), ResourceInitialize::Initialize(), and vmonitor::show().
virtual unsigned long WindowInterface::getTicks | ( | void | ) | [pure virtual] |
virtual void WindowInterface::delay | ( | unsigned long | ticks | ) | [pure virtual] |
virtual void WindowInterface::add | ( | ComponentInterface * | component, | |
char | depth = 0 | |||
) | [pure virtual] |
コンポーネントをレイヤーに登録
component | [i] コンポーネント | |
depth | [i] レイヤー |
Implemented in SDL_Window.
Referenced by ScreenTask::init(), UserCreateScr::Initialize(), ResourceInitialize::Initialize(), PracticeMenu::Initialize(), NetworkMenu::Initialize(), and FirstMenu::Initialize().
virtual void WindowInterface::del | ( | ComponentInterface * | component, | |
char | depth = 0 | |||
) | [pure virtual] |
virtual void WindowInterface::clear | ( | char | depth = All |
) | [pure virtual] |
レイヤーのクリア
depth | [i] レイヤー |
Implemented in SDL_Window.
Referenced by UserCreateScr::Initialize(), PracticeMenu::Initialize(), NetworkMenu::Initialize(), and FirstMenu::Initialize().
幅
Definition at line 23 of file windowInterface.h.
Referenced by ScreenTask::init(), UserCreateScr::Initialize(), ResourceInitialize::Initialize(), PracticeMenu::Initialize(), NetworkMenu::Initialize(), FirstMenu::Initialize(), ScreenTask::ScreenTask(), and SDL_Window::SDL_Window().
高さ
Definition at line 24 of file windowInterface.h.
Referenced by ScreenTask::init(), ResourceInitialize::Initialize(), PracticeMenu::Initialize(), NetworkMenu::Initialize(), FirstMenu::Initialize(), ScreenTask::ScreenTask(), and SDL_Window::SDL_Window().