def setup(self): self._img_w = self.pos['width'] self._img_h = 1 for st in self._imgs: self._imgs[st] = image.get_data( rendering.border(self.frame.colors[st]['thinborder'], self.frame.colors[st]['bg'], self._img_w, self._img_h, 'right'))
def setup(self): self._img_w = 1 self._img_h = self.pos['height'] for st in self._imgs: self._imgs[st] = image.get_data(rendering.border( self.frame.colors[st]['thinborder'], self.frame.colors[st]['bg'], self._img_w, self._img_h, 'top'))
def setup(self): self._img_w = 1 self._img_h = self.pos['height'] for st in self._imgs: self._imgs[st] = image.get_data( rendering.border(self.frame.colors[st]['thinborder'], self.frame.colors[st]['bottomborder'], self._img_w, self._img_h, 'bottom'))
def setup(self): self._img_w = self.pos['width'] self._img_h = 1 for st in self._imgs: self._imgs[st] = image.get_data(rendering.border( self.frame.colors[st]['thinborder'], self.frame.colors[st]['bg'], self._img_w, self._img_h, 'right'))