Exemple #1
0
    def __init__(self, win, x, y):
        ControlBox.__init__(self, win, x, y, 'silver', (250, 60, 60))

        self.centerx, self.centery = self.x + 4, self.y + 4
        self.backdrop = ['/-------+-------\\',
                        '|...|...|PSYCHIC|',
                        '|...|...|-------/',
                        '|...|...|',
                        '|---+---|',
                        '|...|...|',
                        '|...|...|',
                        '|...|...|',
                        '\-------/']
        self.x_axis = 'LEFT-X'
        self.y_axis = 'LEFT-Y'
Exemple #2
0
    def __init__(self, win, x, y):
        ControlBox.__init__(self, win, x, y, 'aqua', 'navy')

        self.centerx, self.centery = self.x + 12, self.y + 4
        self.backdrop = ['/-------\\',
                        '|...|...|',
                        '|...|...|',
                        '|...|...|',
                        '|---+---|',
                        '|...|...|',
                        '/-------|...|...|',
                        '| NERVE |...|...|',
                        '\---------------/']
        self.x_axis = 'RIGHT-X'
        self.y_axis = 'RIGHT-Y'
Exemple #3
0
 def __init__(self, win, x, y, fgcolor, bgcolor):
     ControlBox.__init__(self, win, x, y, fgcolor, bgcolor)
     self.axis = ""