def __init__(self, size=(1024, 768), color_depth=24, bgcolor='black'):
        '''
        :param bgcolor: 'black' or 'white'
        '''
        self.color_depth = color_depth
        self.size = size
        self.bgcolor = bgcolor
        self.screen = 0
        self.process = None
        self.display = None
        AbstractDisplay.__init__(self)
def __init__ ( self , size = ( 1024 , 768 ) , color_depth = 24 , bgcolor = 'black' ) : self . color_depth = color_depth self . size = size self . bgcolor = bgcolor self . screen = 0 self . process = None self . display = None AbstractDisplay . __init__ ( self )
:param bgcolor: 'black' or 'white'