OnDropFile
OnDropFile

Called when the user drops a file on the game window

myJAM.OnDropFile=function( Window, File_Path, X, Y );

Parameters
  • Window
    The JAM window which the file was dropped on. NOT the same as the JAM drawing surface
  • File_Path
    The path of the dropped file
  • X
    The X coordinate of the mouse relative to the window when the file was dropped
  • Y
    The Y coordinate of the mouse relative to the window when the file was dropped
Comments

Games never really need to handle dropped files, but the function's here in case you ever need it.



JAM © 2005 no one in partiular
Project started by David Evans in 2005