def draw(self): """ Draw all components in container. Doesn't draw invisible container. """ if not self.visible: return Component.draw(self) for comp in self.components: if comp: comp.draw()
def draw_area(self, bb): if not self.visible: return Component.draw(self, bb)