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)
评论列表
文章目录