SIO2window Struct Reference

#include <sio2_window.h>

Collaboration diagram for SIO2window:

Collaboration graph
[legend]

List of all members.

Public Attributes

int n_tap
 The last number of tap on screen.
int n_touch
 The current number of touch that are tracked by SIO2.
SIO2touch_SIO2touch
 For each touch an associated SIO2touch structure is created.
vec2 loc
 The XY location of the viewport.
vec2 scl
 The width and height of the viewport.
vec3 accel
 The current value of the accelerometer.
float accel_smooth
 The accelerometer smooth factor.
int mat_viewport [4]
 The OpenGL viewport matrix.
unsigned int curr_time
 The current time of the application.
unsigned int last_sync
 The last time the SIO2window receive a sync.
float fra
 The current frame number.
float fps
 The last number of frame per second.
float d_time
 The current delta time of the SIO2window.
float sync_time
 The current sync time.
float volume
 The ambient volume to use for OpenAL sound source.
float fx_volume
 The sound fx volume to use with OpenAL sound source.
SIO2windowrender * _SIO2windowrender
 The SIO2window render function callback.
SIO2windowtouchbegan * _SIO2windowtouchbegan
 The SIO2window touch began function callback.
SIO2windowtouchmoved * _SIO2windowtouchmoved
 The SIO2window touch moved function callback.
SIO2windowtouchended * _SIO2windowtouchended
 The SIO2window touch end function callback.
SIO2windowaccelerometer * _SIO2windowaccelerometer
 The SIO2window accelerometer function callback.
SIO2windowshutdown * _SIO2windowshutdown
 The SIO2window shutdown function callback.


Member Data Documentation

The last number of tap on screen.

The current number of touch that are tracked by SIO2.

Referenced by sio2WindowTouchBegan(), sio2WindowTouchEnded(), and sio2WindowTouchMoved().

For each touch an associated SIO2touch structure is created.

Referenced by sio2WindowFree(), sio2WindowTouchBegan(), sio2WindowTouchEnded(), and sio2WindowTouchMoved().

The XY location of the viewport.

Referenced by sio2WindowEnter2D(), and sio2WindowUpdateViewport().

The current value of the accelerometer.

Referenced by sio2ResourceDispatchEvents().

The accelerometer smooth factor.

Referenced by sio2WindowInit(), and sio2WindowSetAccelerometerSensitivity().

The OpenGL viewport matrix.

Referenced by sio2WindowGetViewportMatrix(), and sio2WindowUpdateViewport().

unsigned int SIO2window::curr_time

unsigned int SIO2window::last_sync

The last time the SIO2window receive a sync.

Referenced by sio2WindowSwapBuffers().

The current frame number.

Referenced by sio2WindowSwapBuffers().

The last number of frame per second.

Referenced by sio2WindowSwapBuffers().

The current sync time.

Referenced by sio2WindowSwapBuffers().

The ambient volume to use for OpenAL sound source.

Referenced by sio2ResourceSetAmbientVolume(), and sio2WindowInit().

The sound fx volume to use with OpenAL sound source.

Referenced by sio2ResourceSetFxVolume(), and sio2WindowInit().

SIO2windowrender* SIO2window::_SIO2windowrender

The SIO2window render function callback.

SIO2windowtouchbegan* SIO2window::_SIO2windowtouchbegan

The SIO2window touch began function callback.

Referenced by sio2ResourceDispatchEvents().

SIO2windowtouchmoved* SIO2window::_SIO2windowtouchmoved

The SIO2window touch moved function callback.

Referenced by sio2ResourceDispatchEvents().

SIO2windowtouchended* SIO2window::_SIO2windowtouchended

The SIO2window touch end function callback.

Referenced by sio2ResourceDispatchEvents().

SIO2windowaccelerometer* SIO2window::_SIO2windowaccelerometer

The SIO2window accelerometer function callback.

Referenced by sio2ResourceDispatchEvents().

SIO2windowshutdown* SIO2window::_SIO2windowshutdown

The SIO2window shutdown function callback.

Referenced by sio2WindowShutdown().


The documentation for this struct was generated from the following file:

Generated on Thu Mar 4 15:41:53 2010 for SIO2 Engine by  doxygen 1.5.6