Ejemplo n.º 1
0
def correct_word_bar(size, word, pos=(0, 0)):
    bar = Button(dims=size, text="The correct word was: " + word)
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 32, 11)
    bar.font_color = (255, 4, 255)
    return bar.show()
Ejemplo n.º 2
0
def noData(size, pos=(0, 0)):
    bar = Button(dims=size, text="No Data collected!")
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 32, 11)
    bar.font_color = (255, 225, 255)
    return bar.show()
Ejemplo n.º 3
0
def gogo(size, pos=(0, 0)):
    bar = Button(dims=size, text="GO!")
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 32, 11)
    bar.font_color = (2, 255, 2)
    return bar.show()
Ejemplo n.º 4
0
def sorry(size, word, pos=(0, 0)):
    bar = Button(dims=size, text="Sorry! You have performed: " + word)
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 32, 11)
    bar.font_color = (255, 4, 3)
    return bar.show()
Ejemplo n.º 5
0
def congrats(size, pos=(0, 0)):
    bar = Button(dims=size, text="Congratulations! You got it!")
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 32, 11)
    bar.font_color = (2, 255, 3)
    return bar.show()
Ejemplo n.º 6
0
def wordBar(size, word, pos=(0, 0)):
    bar = Button(dims=size, text="word: " + word)
    bar.pos = pos
    bar.back_color_n = (12, 12, 155)
    bar.back_color_h = (32, 32, 115)
    bar.font_color = (255, 255, 12)
    return bar.show()
Ejemplo n.º 7
0
def topBar(size, pos=(0, 0)):

    bar = Button(dims=size, text="Louder than words")
    bar.pos = pos
    bar.back_color_n = (129, 120, 13)
    bar.back_color_h = (129, 120, 13)
    bar.font_color = THECOLORS["white"]
    bar.font_fam = "ui/fonts/cursive.ttf"
    return bar.show()
Ejemplo n.º 8
0
def processing(size, pos=(0, 0)):
    bar = Button(dims=size, text="processing...")
    #r= rn.randint(0,255);
    #g = rn.randint(0,255);
    bar.pos = pos
    bar.back_color_n = (12, 12, 55)
    bar.back_color_h = (3, 255, 255)
    #bar.font_color = (r,g,3);
    bar.font_color = (247, 255, 40)
    return bar.show()