[Laszlo-dev] how to specify cursor offset (hotspot) for bitmap cursor assets?
Henry Minsky
henry.minsky at gmail.com
Thu Oct 22 18:06:29 PDT 2009
I'm working on http://openlaszlo.org/jira/browse/LPP-8372. One of the issues
we have is that there's no way to specify the offset ( 'hotspot' ) of a
cursor asset
which is not a .swf file.
What would be the best way to do this?
I was thinking maybe we should add a new optional attribute for <resource>
which is "offsetx" and "offsety", and
then the cursor resources could be declared that way
<resource name="crosshair" src="cursor_crosshair.png" offsetx="8"
offsety="8"/>
or else maybe we make a special <cursor> tag which the LPS compiler converts
into a resource
table entry?
Any thoughts on this?
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091022/d48c10f1/attachment.html
More information about the Laszlo-dev
mailing list