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 10:41 (7 years ago)] – sausage | en:tutorials:display:drag_and_drop [2025/09/30 17:26 (6 weeks 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]; |
| + | } | ||
| + | | ||
| } | } | ||
| </ | </ | ||