Canvas Problem: 'Overdrawing' everything
Archives Forums/Linux Discussion/Canvas Problem: 'Overdrawing' everything
| ||
Hello, I am using the FLTK GUI Modul for developing a tilemap editor. The Problem is the canvas created with the following code: can_map = CreateCanvas( 0, 0, 600, 600, pan_map ) SetGadgetLayout can_map, 1,1,1,1 ![]() As you can see it isn't behaving right. I created the canvas in a panel so it shouldn't range over it's bounds, right? I would be happy if you can help me :D PS: Both TGadgets are globals. |
| ||
This should be in MaxGUI Bug Reports. Maybe a moderator will move it soon. |
| ||
Would be nice to fix that soon because I have to stop the project for now. Really nasty bug. |
| ||
Er, can't you continue in Windows? MaxGUI is designed to behave as similar as possible on each platform. SebHoll is the MaxGUI developer but he seems to be busy at the moment. |
| ||
mark, are you confirming the bug? The code posted contains no indication of how setviewport is called, which is requirement of correct canvas use. |
| ||
No I just assuming Estrada was right but after some tests it seems this is expected behavior ie. that a canvas gadget does not get clipped when childed to a panel gadget. I've tested the following code in Max 1.34 on Linux and Windows with same results. SetViewPort only seems to affect what's drawn on the canvas. So not really a bug then. |
| ||
I tested it on WinXP with the same result, so it's really not a bug. Although it's a bit strange, I remember that in B+ it was not the case. Anyway thanks for the help. |