Possible to Implement?
BlitzMax Forums/MaxGUI Module/Possible to Implement?
| ||
Hey. I was wondering if it was possible to implement a couple of functions similar to BlitzPlus' GUI commands? Example: MouseX(canvas:TGadget=Null) MouseY(canvas:TGadget=Null) MouseHit(button,canvas:TGadget=Null) MouseDown(button,canvas:TGadget=Null) MoveMouse(x,y,canvas:TGadget=Null) These were very useful when I used BlitzPlus. Let me know what you think! |
| ||
I don't know how works BlitzPLUS but if I am not wrong with Events (and based on the gadget type) you can already have this info (EVENT_MOUSEMOVE, EVENT_MOUSEHIT and so on...) And with the new command SetGadgetSensitivity you can have these infos on every gadget. Or I missed completely the question. PS: a new 'link' (Post reply to topic (forum codes)) O.o - wow something new.... |
| ||
Yep, whatever you want with mice and canvases will go by events EventX() EventY() EventSource() EventID() EventData() These are the most relevant for mice and canvases. Wouldn't know how to move a mouse pointer tho, I never ever need that.. |