]> git.tdb.fi Git - ext/subsurface.git/commit
Separate the notion of creating the cylinder widgets from showing them
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Sep 2011 20:50:03 +0000 (13:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Sep 2011 20:50:03 +0000 (13:50 -0700)
commitc7b9387d4bf624230ca2e317e7ac8cf5b4b81f0c
tree852a9258117f15349eea32f495b29bbf6d7373d1
parenta92811351b82406184c354b948ff4b050ac579cc
Separate the notion of creating the cylinder widgets from showing them

Now we always create the MAX_CYLINDER sets of cylinder widgets.  But we
don't actually pack them into the frame - that's a separate phase.

Right now we still do the stupid "always just pack two cylinders" thing,
but the idea is that we can pack just as many as the dive needs on a
per-dive basis.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
equipment.c