This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:display:drag_and_drop [2018/09/10 03:41 (7 years ago)] – sausage | en:tutorials:display:drag_and_drop [2018/09/10 09:39 (7 years ago)] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
orxSTATUS orxFASTCALL SystemEventHandler(const orxEVENT *_pstEvent) | orxSTATUS orxFASTCALL SystemEventHandler(const orxEVENT *_pstEvent) | ||
{ | { | ||
- | orxSYSTEM_EVENT_PAYLOAD *payload = (orxSYSTEM_EVENT_PAYLOAD *)_pstEvent-> | + | if(_pstEvent-> |
- | orxU32 filesDroppedCount = payload-> | + | { |
- | const orxSTRING *filenameList = payload-> | + | |
+ | orxU32 filesDroppedCount = payload-> | ||
+ | const orxSTRING *filenameList = payload-> | ||
- | for (int i=0; i< | + | |
- | const orxSTRING fileName = filenameList[i]; | + | |
- | } | + | const orxSTRING fileName = filenameList[i]; |
+ | } | ||
+ | | ||
} | } | ||
</ | </ |