You.i Engine
YiCursorInputBridge.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_CURSOR_INPUT_BRIDGE_H_
3 #define _YI_CURSOR_INPUT_BRIDGE_H_
4 
11 #include "framework/YiPredef.h"
12 #include "signal/YiSignal.h"
13 
20 {
21 public:
23  {
26  };
27 
29 
30  /*
31  \details This method should be called when the platform changes cursor state. The current internal state will be updated and all listeners of CursorStateChanged will be notified.
32  */
33  void SetCursorState(CURSOR_STATE eState);
34 
35  /*
36  \details Returns the current cursor state of the platform.
37  */
39 
41 
42 private:
43  CURSOR_STATE m_eCurrentCursorState;
44 };
45 
50 #endif // _YI_CURSOR_INPUT_BRIDGE_H_
void SetCursorState(CURSOR_STATE eState)
The base class for an object accessible from script source code.
Definition: YiScriptableObject.h:28
CURSOR_STATE
Definition: YiCursorInputBridge.h:22
CYISignal< CURSOR_STATE > CursorStateChanged
Definition: YiCursorInputBridge.h:40
Utility to subscribe to or get the current state of the cursor for the platform, if available...
Definition: YiCursorInputBridge.h:19
CURSOR_STATE GetCursorState()
Definition: YiCursorInputBridge.h:24
Definition: YiCursorInputBridge.h:25