[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua for GUI toolkit wrapping?
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 23 Sep 2009 15:39:36 +0200
On Wed, Sep 23, 2009 at 3:35 PM, noel frankinet
<noel.frankinet@skynet.be> wrote:
>> ps.MouseMove:Add(function(sender,e)
>> local coord = get_coordinate(ps,Point(e.X,e.Y))
>> coordPanel.Text = ('(%5.1f,%5.1f)'):format(coord.X,coord.Y)
>> end)
> I think you are writing a GPS application, no ? on pda or full windows ?
Nothing so sophisticated ;) get_coordiate() just translates the mouse
point in pixel units into physical units.
And, plain Windows. There are issues with LuaInterface on the Compact framework