GUI_ApplicationInterface Class Reference

アプリケーション用のフレームワーク More...

#include <guiApplicationInterface.h>

Inheritance diagram for GUI_ApplicationInterface:

Inheritance graph
[legend]
Collaboration diagram for GUI_ApplicationInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int Initialize (int argc, char *argv[])=0
 初期化処理
virtual int MainLoop (void)=0
 繰り返りループへの遷移
virtual int run (int argc, char *argv[])
 全体の実行

Static Protected Attributes

static WindowInterfacewin = NULL
static TTF_Drawttf = NULL


Detailed Description

アプリケーション用のフレームワーク

Definition at line 19 of file guiApplicationInterface.h.


Member Function Documentation

virtual int GUI_ApplicationInterface::Initialize ( int  argc,
char *  argv[] 
) [pure virtual]

初期化処理

Parameters:
argc [i] main() の argc
argv [i] main() の argv
Return values:
0 正常終了
戻り値 < 0 エラー

Implemented in FirstMenu, NetworkMenu, PracticeMenu, ResourceInitialize, and UserCreateScr.

Referenced by run().

virtual int GUI_ApplicationInterface::MainLoop ( void   )  [pure virtual]

繰り返りループへの遷移

Return values:
0 正常終了
戻り値 < 0 エラー

Implemented in FirstMenu, NetworkMenu, PracticeMenu, ResourceInitialize, and UserCreateScr.

Referenced by run().

int GUI_ApplicationInterface::run ( int  argc,
char *  argv[] 
) [virtual]

全体の実行

Parameters:
argc [i] main() の argc
argv [i] main() の argv
Return values:
0 正常終了
戻り値 < 0 エラー

Definition at line 19 of file guiApplicationInterface.cpp.

References Initialize(), WindowInterface::lock(), MainLoop(), WindowInterface::unlock(), and win.

Referenced by FirstMenu::MainLoop().


Member Data Documentation

WindowInterface * GUI_ApplicationInterface::win = NULL [static, protected]

TTF_Draw * GUI_ApplicationInterface::ttf = NULL [static, protected]

TrueTypeFontリソース

Reimplemented in ResourceInitialize.

Definition at line 22 of file guiApplicationInterface.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1