def setup(self): self._img_w = self.pos['width'] self._img_h = self.pos['height'] for st in self._imgs: self._imgs[st] = image.get_data( rendering.corner(self.frame.colors[st]['thinborder'], self.frame.colors[st]['bg'], self._img_w, self._img_h, 'right_bottom'))
def setup(self): self._img_w = self.pos['width'] self._img_h = self.pos['height'] for st in self._imgs: self._imgs[st] = image.get_data(rendering.corner( self.frame.colors[st]['thinborder'], self.frame.colors[st]['bg'], self._img_w, self._img_h, 'right_bottom'))