[Iup-users] IUP Examples
Geoff Leyland
geoff_leyland at fastmail.fm
Thu Feb 14 16:55:41 GMT+2 2008
Thanks for the reply Antonio!
Now I'm trying to open a CD canvas in an IUP canvas.
I started with
require("iuplua")
require("cdluaiup")
and it crashed on the second require. Now I know I should have had a
require("cdlua") in there, but maybe the crash could be avoided? I
think the return value of cdlua_getstate in cdluaiup_open needs to be
checked. I haven't looked at the code enough yet to work out how
errors are reported.
Cheers,
Geoff
On 15/02/2008, at 5:00 AM, scuri at tecgraf.puc-rio.br wrote:
>
> Yes, it is a tiny bug in the example. Thanks for reporting this.
> You are
> free to report any bug to us. You can send them directly to
> iup at tecgraf.puc-rio.br
>
> Best Regards,
> Antonio Scuri
>
>> Hi,
>>
>> I've just started trying to use IUP on Windows (VC7) - it's taken me
>> a while to build because I also build my own Lua, but I'm getting
>> there.
>>
>> I just ran one of the examples - it (almost) worked. Very cool,
>> thank you. The example was iupbutton.lua. I had to add a require
>> ("iuplua") at the start, and an iup.MainLoop at the end, which I
>> expected, but I also had to change line 102 from:
>>
>> function btn_image:button( b, e )
>>
>> to:
>>
>> function btn_image:button_cb( b, e )
>>
>> Which I think might be a (very minor) bug. Is there any interest in
>> tiny bug reports like this, and if so what's the best way to send
>> them?
>>
>>
>> Cheers,
>> Geoff
More information about the iup-users
mailing list