@ -266,7 +266,7 @@ static void ui_draw_vision_face(UIState *s) {
const int face_size = 96 ;
const int face_size = 96 ;
const int face_x = ( s - > scene . viz_rect . x + face_size + ( bdr_s * 2 ) ) ;
const int face_x = ( s - > scene . viz_rect . x + face_size + ( bdr_s * 2 ) ) ;
const int face_y = ( s - > scene . viz_rect . bottom ( ) - footer_h + ( ( footer_h - face_size ) / 2 ) ) ;
const int face_y = ( s - > scene . viz_rect . bottom ( ) - footer_h + ( ( footer_h - face_size ) / 2 ) ) ;
ui_draw_circle_image ( s , face_x , face_y , face_size , " driver_face " , s - > scene . dmonitoring_state . getFaceDetected ( ) ) ;
ui_draw_circle_image ( s , face_x , face_y , face_size , " driver_face " , s - > scene . dmonitoring_state . getIsActiveMode ( ) ) ;
}
}
static void ui_draw_driver_view ( UIState * s ) {
static void ui_draw_driver_view ( UIState * s ) {
@ -307,7 +307,7 @@ static void ui_draw_driver_view(UIState *s) {
const int face_size = 85 ;
const int face_size = 85 ;
const int icon_x = is_rhd ? rect . right ( ) - face_size - bdr_s * 2 : rect . x + face_size + bdr_s * 2 ;
const int icon_x = is_rhd ? rect . right ( ) - face_size - bdr_s * 2 : rect . x + face_size + bdr_s * 2 ;
const int icon_y = rect . bottom ( ) - face_size - bdr_s * 2.5 ;
const int icon_y = rect . bottom ( ) - face_size - bdr_s * 2.5 ;
ui_draw_circle_image ( s , icon_x , icon_y , face_size , " driver_face " , face_detected ) ;
ui_draw_circle_image ( s , icon_x , icon_y , face_size , " driver_face " , s - > scene . dmonitoring_state . getIsActiveMode ( ) ) ;
}
}
static void ui_draw_vision_header ( UIState * s ) {
static void ui_draw_vision_header ( UIState * s ) {