Exemple #1
0
    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'))
Exemple #2
0
    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'))
Exemple #3
0
    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'))
Exemple #4
0
    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'))