photobooth_main.py 文件源码

python
阅读 39 收藏 0 点赞 0 评论 0

项目:photobooth 作者: eoghan-c 项目源码 文件源码
def init_pygame(self):
        pygame.init()
        self.size = (pygame.display.Info().current_w, pygame.display.Info().current_h)
        print "Initialised PyGame: Screen Width " + str(self.size[0]) + " x Height " + str(self.size[1])

        pygame.display.set_caption('Photo Booth')
        pygame.mouse.set_visible(False) # Hide the mouse cursor
        self.screen = pygame.display.set_mode(self.size, pygame.FULLSCREEN)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号