You.i Engine
CYICursorInputBridge Class Reference

Detailed Description

Utility to subscribe to or get the current state of the cursor for the platform, if available.

The bridge requires setting the cursor state to be set when the plaform changes cursor state.

#include <platform/YiCursorInputBridge.h>

Inheritance diagram for CYICursorInputBridge:

Public Types

enum  CURSOR_STATE {
  CURSOR_ON,
  CURSOR_OFF
}
 

Public Member Functions

 CYICursorInputBridge ()
 
void SetCursorState (CURSOR_STATE eState)
 
CURSOR_STATE GetCursorState ()
 
- Public Member Functions inherited from CYIScriptableObject
 CYIScriptableObject ()
 
 CYIScriptableObject (const CYIScriptableObject &other)
 
CYIScriptableObjectoperator= (const CYIScriptableObject &other)
 
virtual ~CYIScriptableObject ()
 
CYIBindingImplementationGetBindingImplementation () const
 
void SetBindingImplementation (CYIBindingImplementation *pBindingImplementation)
 
virtual const CYIRuntimeTypeInfoGetRuntimeTypeInfoForScriptObject () const
 

Public Attributes

CYISignal< CURSOR_STATECursorStateChanged
 

Member Enumeration Documentation

Enumerator
CURSOR_ON 
CURSOR_OFF 

Constructor & Destructor Documentation

CYICursorInputBridge::CYICursorInputBridge ( )

Member Function Documentation

CURSOR_STATE CYICursorInputBridge::GetCursorState ( )
void CYICursorInputBridge::SetCursorState ( CURSOR_STATE  eState)

Member Data Documentation

CYISignal<CURSOR_STATE> CYICursorInputBridge::CursorStateChanged

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