Skinnable canvas window: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 17: Line 17:


=== listen_mouse_clicks: func(object, function) ===
=== listen_mouse_clicks: func(object, function) ===
: creates the listener and binds the events to ''function(e)''.
: creates the listener and binds the events to ''function(e)''. Also checks the {{key press |ctrl}} key: ''ctrl-click'' outputs the mouse coordinates.
'''object''' as the calling object.<br />
'''object''' as the calling object.<br />
'''function''' as the callback function.<br />
'''function''' as the callback function.<br />
229

edits

Navigation menu