예제 #1
0
def push_off():
    global _is_facedetect_on
    _is_facedetect_on = False

    button_off(button_facedetect_on, line_facedetect_on)
    button_on(button_facedetect_off, line_facedetect_off)

    return
예제 #2
0
def push_all_size():
    global _thermo_size
    _thermo_size = Size.ALL

    button_off(button_large, line_large)
    button_off(button_middle, line_middle)
    button_off(button_small, line_small)
    button_on(button_all, line_all)
    button_off(button_hide, line_hide)

    return
예제 #3
0
def push_right_bottom_pos():
    global _thermo_pos
    _thermo_pos = Pos.BOTTOM_R

    button_off(button_left_top, line_left_top)
    button_off(button_right_top, line_right_top)
    button_off(button_left_bottom, line_left_bottom)
    button_on(button_right_bottom, line_right_bottom)

    return
예제 #4
0
def push_left_top_pos():
    global _thermo_pos
    _thermo_pos = Pos.TOP_L

    button_on(button_left_top, line_left_top)
    button_off(button_right_top, line_right_top)
    button_off(button_left_bottom, line_left_bottom)
    button_off(button_right_bottom, line_right_bottom)

    return