[Iup-users] Tiny, tiny bugs

Geoff Leyland geoff_leyland at fastmail.fm
Tue Mar 4 17:33:04 GMT+2 2008


Hi,

I sent an earlier version of this to the iup at tecgraf list, and it may  
have got blocked.  Please excuse me if you've already seen it.  It's  
just a few minor things I've noticed getting my first IUP/CD (from  
Lua) experiment going.

CD Docs: Coordinate Systems: cdCanvasSetSize: height is spelt wrongly  
in the Lua version

CD Docs: Coordinate systems: cdCanvasGetSize: the lua version should  
be canvas:GetSize

CD Docs: Server Images: cdKillImage: should the Lua version be  
cd.KillImage?

cdlua source: cdlua5.c: line 1311: should that be cdlua5_killimage?

iup docs: IupCanvas: Attributes: XMAX and XMIN appear to be swapped


I have a CD canvas inside an IUP canvas which is inside an hbox,  
which is in turn inside a dialog.  I don't get any resize events for  
the IUP canvas when it is smaller than its original size.  When I  
remove the hbox, the resize events work as expected.  Anything I  
might be missing?  Any hints on where I should look in the IUP code?

When I put scrollbars on the same IUP canvas, changing dx and dy  
don't seem to change the size of the scroll bar thumb.


Cheers, and thanks for IUP and CD,
Geoff



More information about the iup-users mailing list