メインページ | ネームスペース一覧 | クラス階層 | データ構造 | Directories | ファイル一覧 | データフィールド

クラス sdl4gcj::SDLSystem

A collection of Utilities for SDL System. [詳細]

sdl4gcj::SDLSystemに対する継承グラフ

Inheritance graph
[凡例]
sdl4gcj::SDLSystemのコラボレーション図

Collaboration graph
[凡例]

Static Public メソッド

static native final void init (int flags)
 Initialize SDL system.
static native final void initSubSystem (int flags)
 Initialize subsystem.
static native final int wasInit (int flags)
 Check which subsystems are initialized.
static native final void quitSubSystem (int flags)
 Finalize subsystem.
static native final void quit ()
 Finalize SDL system.
static native Version compiledVersion ()
 Get version of compiled library.
static native Version linkedVersion ()
 Get the version of linked library.
static native final void delay (long ms)
 Wait a specified number of miliseconds.
static native final long getTicks ()
 Get a number of miliseconds since the SDL system initialization.
static native final int byteOrder ()
 Get a native byte order.

Private メソッド

 SDLSystem ()

説明

A collection of Utilities for SDL System.

SDLSystem class has wrapper for following functions and constants.

作者:
Masahiko SAWAI


コンストラクタとデストラクタ

sdl4gcj::SDLSystem::SDLSystem  )  [inline, private]
 


関数

static native final int sdl4gcj::SDLSystem::byteOrder  )  [static]
 

Get a native byte order.

SDL_BYTEORDER

戻り値:
byte order SDL_LIL_ENDIAN or SDL_BIG_ENDIAN
参照:
SDL_LIL_ENDIAN

SDL_BIG_ENDIAN

static native Version sdl4gcj::SDLSystem::compiledVersion  )  [static]
 

Get version of compiled library.

戻り値:
version of compile library

static native final void sdl4gcj::SDLSystem::delay long  ms  )  [static]
 

Wait a specified number of miliseconds.

SDL_Delay()

引数:
ms delay time (milisecond)

static native final long sdl4gcj::SDLSystem::getTicks  )  [static]
 

Get a number of miliseconds since the SDL system initialization.

SDL_GetTicks()

static native final void sdl4gcj::SDLSystem::init int  flags  )  [static]
 

Initialize SDL system.

This should be called before all other SDL functions. The flags parameter specifies what part(s) of SDL to initialize. This method is a wrapper for SDL_Init() function.

  • SDL_INIT_TIMER
  • SDL_INIT_AUDIO
  • SDL_INIT_VIDEO
  • SDL_INIT_CDROM
  • SDL_INIT_JOYSTICK
  • SDL_INIT_NOPARACHUTE
  • SDL_INIT_EVENTTHREAD
  • SDL_INIT_EVERYTHING

static native final void sdl4gcj::SDLSystem::initSubSystem int  flags  )  [static]
 

Initialize subsystem.

This method is a wrapper for SDL_InitSubSystem() function.

static native Version sdl4gcj::SDLSystem::linkedVersion  )  [static]
 

Get the version of linked library.

( SDL_Linked_Version() )

戻り値:
version of linked library

static native final void sdl4gcj::SDLSystem::quit  )  [static]
 

Finalize SDL system.

This method is a wrapper for SDL_Quit() function.

static native final void sdl4gcj::SDLSystem::quitSubSystem int  flags  )  [static]
 

Finalize subsystem.

This method is a wrapper for SDL_QuitSubSystem() function.

static native final int sdl4gcj::SDLSystem::wasInit int  flags  )  [static]
 

Check which subsystems are initialized.

This method is a wrapper for SDL_WasInit() function.

戻り値:
wasInit returns a bitwised OR'd combination of the initialized subsystems.


このクラスの説明は次のファイルから生成されました:
sdl4gcjに対してTue Jan 17 15:02:36 2006に生成されました。  doxygen 1.4.3