Esempio n. 1
0
 def Paint(self, x, y, element, w=None, h=None):
     if w is None:
         w = self.GetWidth(element)
     if h is None:
         h = self.GetHeight(element)
     CSimpleContainer.Paint(self, x + self.padding, y + self.padding,
                            element, w - 2 * self.padding,
                            h - 2 * self.padding)
Esempio n. 2
0
 def Paint(self, x, y, element, w = None, h = None):
     if self.__IsTrue(element):
         for child in self.childs:
             CSimpleContainer.Paint(self, x, y, element, w, h)