def __init__(self, tot_size): default_li = indicator.StandardLoadingBarIndicator(self.display_size) default_bg = background.StandardLoadingBackground(self.display_size) default_info = infos.StandardInfo(tot_size) self.perc = infos.PercentageOnlyInfo(tot_size) super(PercentageBeforeLoadingBar, self).__init__(tot_size, self.display_size, default_li, default_bg, default_info)
def __init__(self, tot_size): default_li = indicator.StandardLoadingBarIndicator(self.display_size) default_bg = background.StandardLoadingBackground(self.display_size) default_info = infos.VerboseInfo(tot_size) super().__init__(tot_size, self.display_size, default_li, default_bg, default_info)