tetriwidgets.py 文件源码

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

项目:Mobile-TetriNET 作者: Smug28 项目源码 文件源码
def __init__(self, app, **kwargs):
        self.app = app
        self.bar_color = [.071, .729, .973, .9]
        self.bar_width = '3dp'
        self.scroll_timeout = 100
        img = Image('crop/dock_POT.png')
        img.texture.wrap = "repeat"
        self.texture = img.texture
        self.texture_size = self.texture.size
        self.sOverlay = app.sOverlay
        self.players = app.overlay
        super(Dock, self).__init__(**kwargs)
        self.bar_margin = self.texture_size[1]*0.1645
        self.do_scroll_y = False
        self.do_scroll_x = True
        self.layout = BoxLayout(size_hint_x=None, width=0)
        self.add_widget(self.layout)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号