Confirmed users, Bureaucrats and Sysops emeriti
1,680
edits
| Line 76: | Line 76: | ||
struct { | struct { | ||
NPBool hasFocus; | NPBool hasFocus; | ||
} focus; | } focus; | ||
} event; | } event; | ||
} NPCocoaEvent; | } NPCocoaEvent; | ||
| Line 82: | Line 82: | ||
NPCocoaEventType is one of the following: | NPCocoaEventType is one of the following: | ||
typedef enum { | typedef enum { | ||
NPCocoaEventDrawRect | |||
NPCocoaEventMouseDown, | |||
NPCocoaEventMouseUp, | |||
NPCocoaEventMouseMoved, | |||
NPCocoaEventMouseEntered, | |||
NPCocoaEventMouseExited, | |||
NPCocoaEventMouseDragged, | |||
NPCocoaEventScrollWheel, | |||
NPCocoaEventKeyDown, | |||
NPCocoaEventKeyUp, | |||
NPCocoaEventFlagsChanged, | |||
NPCocoaEventFocusChanged, | |||
NPCocoaEventWindowFocusChanged, | |||
} NPCocoaEventType; | } NPCocoaEventType; | ||
== General event struct members == | == General event struct members == | ||