SFlashCursorEvent

Cursor input event sent to flash

C++
struct SFlashCursorEvent {
  enum ECursorState {
    eCursorMoved,
    eCursorPressed,
    eCursorReleased,
    eWheel
  };
  ECursorState m_state;
  int m_cursorX;
  int m_cursorY;
  int m_button;
  float m_wheelScrollVal;
};
File

IFlashPlayer.h

SFlashCursorEvent::ECursorState Enumeration

Enumeration of possible cursor state

C++
enum ECursorState {
  eCursorMoved,
  eCursorPressed,
  eCursorReleased,
  eWheel
};
File

IFlashPlayer.h

SFlashCursorEvent::m_button Data Member
C++
int m_button;
SFlashCursorEvent::m_cursorX Data Member
C++
int m_cursorX;
SFlashCursorEvent::m_cursorY Data Member
C++
int m_cursorY;
SFlashCursorEvent::m_state Data Member
C++
ECursorState m_state;
SFlashCursorEvent::m_wheelScrollVal Data Member
C++
float m_wheelScrollVal;
SFlashCursorEvent::SFlashCursorEvent Constructor
C++
SFlashCursorEvent(ECursorState state, int cursorX, int cursorY, int button = 0, float wheelScrollVal = 0.0f);