smarthaert / phoenixlib

Automatically exported from code.google.com/p/phoenixlib
0 stars 0 forks source link

Global Mouse Drawing and Control Routine #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What Do I need!

I need to have a Mouse Class, with support several different mouse cursors 
(with support to animated cursos), and I need to GUI support change the cursors 
in Lua.

By Example, 

Button1.onMouseEntered
TPHXMouse.setCursor('magnifyingglasscursor');

Button1.onMouseExited
TPHXMouse.setCursor('arrowcursor');

In game options, I do set HardwareMouse: Boolean, if False, it disables the 
windows mouse cursor, and only use custom drawed mouse cursors, otherwise, it 
will use default windows mouse cursor and ignore the functions to change the 
mouse cursor (or only support default windows cursors).

Original issue reported on code.google.com by wagenhei...@gmail.com on 15 Nov 2010 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 8 Aug 2013 at 2:11