Open jarroddavis68 opened 5 months ago
What changes need to be made so that PsfEvent is created for a union such as:
PsfEvent
typedef union { sfEventType type; ///< Type of the event sfSizeEvent size; ///< Size event parameters sfKeyEvent key; ///< Key event parameters sfTextEvent text; ///< Text event parameters sfMouseMoveEvent mouseMove; ///< Mouse move event parameters sfMouseButtonEvent mouseButton; ///< Mouse button event parameters sfMouseWheelEvent mouseWheel; ///< Mouse wheel event parameters (deprecated) sfMouseWheelScrollEvent mouseWheelScroll; ///< Mouse wheel event parameters sfJoystickMoveEvent joystickMove; ///< Joystick move event parameters sfJoystickButtonEvent joystickButton; ///< Joystick button event parameters sfJoystickConnectEvent joystickConnect; ///< Joystick (dis)connect event parameters sfTouchEvent touch; ///< Touch events parameters sfSensorEvent sensor; ///< Sensor event parameters } sfEvent;
If it was a struct, the pointer type is created.
What changes need to be made so that
PsfEvent
is created for a union such as:If it was a struct, the pointer type is created.