Subversion Repositories mmkeyboard2k

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 3
Line 64... Line 64...
64
    def __repr__(self):
64
    def __repr__(self):
65
        return '<osd.Plugin %r %s %d>'%(self.text, self.type, self.linecount)
65
        return '<osd.Plugin %r %s %d>'%(self.text, self.type, self.linecount)
66
    
66
    
67
    def __call__(self):
67
    def __call__(self):
68
        if self.osd is None:
68
        if self.osd is None:
69
            self.__class__.osd = pyosd.osd(font=font, colour = color, timeout = timeout, pos = position, shadow = shadow, lines = self.maxlines)
-
 
-
 
69
            self.__class__.osd = pyosd.osd(font=font, colour = color, timeout = timeout, pos = position, shadow = shadow, lines = self.maxlines, offset=3)
70
        
70
        
71
        if callable(self.text):
71
        if callable(self.text):
72
            text = str(self.text())
72
            text = str(self.text())
73
        else:
73
        else:
74
            text = str(self.text)
74
            text = str(self.text)