change Item::visible() to Item::self_visible(); add Item::visible() which returns...
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Dec 2014 15:30:38 +0000 (10:30 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Dec 2014 15:30:38 +0000 (10:30 -0500)
commit74be550698d19758f5ccd0578f2ec4d07edadcb0
treecc700125eaa34a7906496f45fe23d0d05cea06d8
parent09687c171239977021af42a7d706af39d0df0173
change Item::visible() to Item::self_visible(); add Item::visible() which returns accurate visibility

Child items will be hidden when their ancestors are hidden. The old ::visible() implementation didn't reflect this. In addition,
when changes are made to hidden items (new definition of visible/not visible), don't bother to request redraws, since this will
be done when the item becomes visible again.
libs/canvas/canvas/item.h
libs/canvas/item.cc