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
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
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
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