def changeclocktheme(obj): #themes: Green(1), Off(2) - flips thru screens when tapping home analog clock
global clocktheme
global animation_start_time
#animation_start_time = int(float(time_second_mod)) #sets a reference time for animations
if clocktheme < 3:
clocktheme += 1
if clocktheme == 2:
animation_start_time = int(float(time_second_mod)) #sets a reference time for animations
if clocktheme == 3:
clocktheme = 1
评论列表
文章目录