I&#39;ll try to generalize the data structure so the user can manually specify width/height at some later date if we want to. <br><br><br><br><div class="gmail_quote">On Fri, Oct 23, 2009 at 10:49 AM, Max Carlson <span dir="ltr">&lt;<a href="mailto:max@openlaszlo.org">max@openlaszlo.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On second thought, maybe being able to specify an offset for the resource itself is all we really need for now...<div>

<div></div><div class="h5"><br>
<br>
Max Carlson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think adding some attributes to the resource tag is the way to go. Ideally, the hot spot could be any shape, but a rectangle may be enough for now.  You may want to add height and width attributes also...<br>
<br>
Henry Minsky wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m working on <a href="http://openlaszlo.org/jira/browse/LPP-8372" target="_blank">http://openlaszlo.org/jira/browse/LPP-8372</a>. One of the issues we have is that there&#39;s no way to specify the offset (  &#39;hotspot&#39; ) of a cursor asset<br>


which is not a .swf file.<br>
<br>
What would be the best way to do this?<br>
<br>
I was thinking maybe we should add a new optional attribute for &lt;resource&gt; which is &quot;offsetx&quot; and &quot;offsety&quot;, and<br>
then the cursor resources could be declared that way<br>
<br>
    &lt;resource name=&quot;crosshair&quot; src=&quot;cursor_crosshair.png&quot; offsetx=&quot;8&quot; offsety=&quot;8&quot;/&gt;<br>
<br>
or else maybe we make a special &lt;cursor&gt; tag which the LPS compiler converts into a resource<br>
table entry?<br>
<br>
Any thoughts on this?<br>
<br>
<br>
-- <br>
Henry Minsky<br>
Software Architect<br>
<a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a> &lt;mailto:<a href="mailto:hminsky@laszlosystems.com" target="_blank">hminsky@laszlosystems.com</a>&gt;<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
-- <br>
Regards,<br>
Max Carlson<br>
OpenLaszlo.org<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>