Status: New
Owner: ----

New issue 125 by akurtakov: Compilation failure in swt module under linux
http://code.google.com/p/piccolo2d/issues/detail?id=125


edu.umd.cs.piccolox.swt.SWTGraphics2D uses FontData.height but according to
its javadoc
http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/FontData.html#height
it's type is platform dependent and it's float under Linux.
FontData.getHeight method should be used instead.
Attached patch fixes compilation

Attachments:
        swt-fontdata.patch  587 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to