Mouse Position

by Forum_account
Mouse Position
Provides a way to get pixel-precise mouse coordinates.
ID:483545
 
Applies to:
Status: Open

Issue hasn't been assigned a status value.
A simple request: draw the HUD icons at runtime to allow for icon_sizes of any kind.
I'm not sure how I'd handle this. 99% of the people using the library will have 32x32 icons, so I'd rather not complicate it just for 1% of the people. I could include a demo showing how to use it with other icon sizes and a proc to generate the icons at runtime.
All you need to do is generate one icon (two, after shifting the first one) in world/New().
The different resolutions work fine with 32x32 icons. I'm not sure how that'd work if you decided to use 31x31 icons instead.

Unless there's some other common icon size, I'll probably just add a way to specify a custom icon file to use.