Exemplo n.º 1
0
    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'))
Exemplo n.º 2
0
    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'))