Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Patch: MouseHover-Implementation and MovePosition
- - By boni [at] Date 2012-02-26 11:12
Patch 4033 contains a convenience function MovePosition(x,y,prec) for the Commits.c that simply does SetPosition(GetX()+X, GetY()+Y).
Patch 4034 contains the script-handling for the newly implemented MouseHover callback. It calls OnMouseOver and OnMouseOut in the corresponding objects.

I fixed the missing prec-parameter for GetX/Y in the .patch file directly, Guenther. Should work, I guess.

I hereby license the following file(s) under the CC-by license
Attachment: 4033.patch (604B)
Attachment: 4034.patch (1k)
Parent - By Maikel Date 2012-02-26 14:30
Pushed, after some minor changes.
Up Topic Development / Developer's Corner / Patch: MouseHover-Implementation and MovePosition

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill