uMouseInput Class Reference

Collaboration diagram for uMouseInput:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 uMouseInput ()

Public Attributes

uInputx_plus
uInputx_minus
uInputy_plus
uInputy_minus
uInputz_plus
uInputz_minus
uInputbutton [MOUSE_BUTTONS]


Detailed Description

Definition at line 230 of file uInput.cpp.


Constructor & Destructor Documentation

uMouseInput::uMouseInput (  )  [inline]

Definition at line 233 of file uInput.cpp.

References MOUSE_BUTTONS, and su_NewInput().

00233       :
00234     uMouseInput()
00235     {
00236         x_plus = su_NewInput( "MOUSE_X_PLUS", "mouse right" );
00237         x_minus = su_NewInput( "MOUSE_X_MINUS", "mouse left" );
00238         y_plus = su_NewInput( "MOUSE_Y_PLUS", "mouse up" );
00239         y_minus = su_NewInput( "MOUSE_Y_MINUS", "mouse down" );
00240         z_plus = su_NewInput( "MOUSE_Z_PLUS", "mouse z up" );
00241         z_minus = su_NewInput( "MOUSE_Z_MINUS", "mouse z down" );
00242 
00243         for ( int i = 0; i < MOUSE_BUTTONS; ++i )
00244         {
00245             std::ostringstream id;
00246             id << "MOUSE_BUTTON_" << i+1;
00247             std::ostringstream name;
00248             name << "mouse button " << i+1;
00249             button[i] = su_NewInput( id.str(), name.str() );
00250         }
    }

Here is the call graph for this function:


Member Data Documentation

uInput* uMouseInput::x_plus

Definition at line 252 of file uInput.cpp.

uInput* uMouseInput::x_minus

Definition at line 253 of file uInput.cpp.

uInput* uMouseInput::y_plus

Definition at line 254 of file uInput.cpp.

uInput* uMouseInput::y_minus

Definition at line 255 of file uInput.cpp.

uInput* uMouseInput::z_plus

Definition at line 256 of file uInput.cpp.

uInput* uMouseInput::z_minus

Definition at line 257 of file uInput.cpp.

uInput* uMouseInput::button[MOUSE_BUTTONS]

Definition at line 258 of file uInput.cpp.


The documentation for this class was generated from the following file:
Generated on Sun Mar 16 00:01:24 2008 for Armagetron Advanced by  doxygen 1.5.4