<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><div></div><div>FWIW, the cursor flickers just like that in pygame based activities. Physics is pygame based, and the flicker was pretty annoying as the cursor is a key part of the UI, pygame also didn't pickup the Sugar cursor default shape — so I cheated, I switch off the cursor, and place a pygame sprite in the same place. No flicker, correct looking cursor. Total hack of course (though code in the end was easy/minimal).</div>
<div><br></div><div>Just a handful of lines in physics.py, most of which there to hide the fake pygame canvas cursor when the cursor moves into the toolbar area:</div><div><br></div><div> <a href="http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/physics.py" target="_blank"></a><a href="http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/physics.py" target="_blank">http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/physics.py</a></div>
</div></blockquote><div><br></div><div>Interesting... thanks for sharing the workaround. That should work for the hamster library too. When I get a chance to try it out, I will report back to this thread.</div><div><br>
</div><div>Is there somewhere to get the sugar cursor graphics within sugar itself? I see that physics imports its own local copy:</div><div><a href="http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/standardcursor.png">http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/standardcursor.png</a> </div>
</div>