def __init__(self, phaseNames):
    self.phaseNames = phaseNames
    self.text = DirectLabel(relief=None, guiId='DownloadWatcherText', pos=((- 0.96), 0, (- 0.91)), text=OTPLocalizer.DownloadWatcherInitializing, text_fg=(1, 1, 1, 1), text_scale=0.05, textMayChange=1, text_align=TextNode.ALeft, sortOrder=50)
    self.bar = DirectWaitBar(guiId='DownloadWatcherBar', pos=((- 0.81), 0, (- 0.96)), relief=DGG.SUNKEN, frameSize=((- 0.6), 0.6, (- 0.1), 0.1), borderWidth=(0.02, 0.02), scale=0.25, range=100, sortOrder=50, frameColor=(0.5, 0.5, 0.5, 0.5), barColor=(0.2, 0.7, 0.2, 0.5), text='0%', text_scale=0.16, text_fg=(1, 1, 1, 1), text_align=TextNode.ACenter, text_pos=(0, (- 0.05)))
    self.accept('launcherPercentPhaseComplete', self.update)
    return
def __init__(self, phaseNames):
    self.phaseNames = phaseNames
    self.text = DirectLabel(relief=None, guiId='DownloadWatcherText', pos=((- 0.96), 0, (- 0.91)), text=OTPLocalizer.DownloadWatcherInitializing, text_fg=(1, 1, 1, 1), text_scale=0.05, textMayChange=1, text_align=TextNode.ALeft, sortOrder=50)
    self.bar = DirectWaitBar(guiId='DownloadWatcherBar', pos=((- 0.81), 0, (- 0.96)), relief=DGG.SUNKEN, frameSize=((- 0.6), 0.6, (- 0.1), 0.1), borderWidth=(0.02, 0.02), scale=0.25, range=100, sortOrder=50, frameColor=(0.5, 0.5, 0.5, 0.5), barColor=(0.2, 0.7, 0.2, 0.5), text='0%', text_scale=0.16, text_fg=(1, 1, 1, 1), text_align=TextNode.ACenter, text_pos=(0, (- 0.05)))
    self.accept('launcherPercentPhaseComplete', self.update)
    return