floe / tisch-core

TISCH - Tangible Interactive Surfaces for Collaboration between Humans
GNU Lesser General Public License v3.0
16 stars 6 forks source link

Container stacking depth #16

Closed floe closed 11 years ago

floe commented 11 years ago

Submitted by martin23 on 2009-11-29 11:29:56

When you try to stack more than 3 Containers the draw and raise/lower methods do not work anymore as expected. The children of a Container have to be drawn/raised etc recursively. Also in the draw method of the Container the calculated matrices do not properly draw all children. See my patch for what I had to change to make everything visible and lower/raise work.

Cheers Martin

P.S. I'm aware that in my patch the offset calculation is for the birds since it's always 0 but that was the only way to make everything show up all the time.

floe commented 11 years ago

Submitted by martin23 on 2010-01-07 23:47:26

This bug is fixed in svn now. At least the lower/raise issue. There is still a possible oops when you call lower because you don't actually want a widget to get lowered unter its parent widget but as long as you keep that in mind it now works. The visibility was a bug in my code.

Cheers

floe commented 11 years ago

Submitted by echtler on 2010-07-20 11:45:41

i think this should be fixed in release 1.1.