Detect mouse coords relative to desktop on Mac

BlitzMax Forums/BlitzMax Programming/Detect mouse coords relative to desktop on Mac

It's just non-stop with you, isn't it? ;-)

Okay... rename the function "NSGetCursorPos" (the one in the file cocoa_mouse.m) to something else - whatever you like - as it seems BRL have used a function of the same name in MaxGUI (imaging that!), though I do believe mine is more useful :-p

You will need to re-add the extern bit, and then your BlitzMax code should make the call to the newly named function.

Sorry for the confusion :-)

I seem to have a million things going on at the moment, what with trying to fix all the memory leaks in the Mac MaxGUI, and the rest of my pet projects... not that's me trying to give excuses or anything...