From e3b5a88027a24d57e60352f5af2b53008a75256a Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 29 Apr 2024 19:59:00 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 824b6a9..e36a39e 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -768,9 +768,12 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) { // current speed if (!(scene.hide_speed || bigMapOpen)) { - p.setFont(InterFont(176, QFont::Bold)); + // CLEARPILOT changes to 120 from ~176 + // Maybe we want to hide this? + p.setFont(InterFont(120, QFont::Bold)); drawText(p, rect().center().x(), 210, speedStr); - p.setFont(InterFont(66)); + // CLEARPILOT changes to 40 from 66 + p.setFont(InterFont(40)); drawText(p, rect().center().x(), 290, speedUnit, 200); } @@ -1445,7 +1448,8 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) { bottom_layout->setAlignment(map_settings_btn_bottom, rightHandDM ? Qt::AlignLeft : Qt::AlignRight); } - recorder_btn->setVisible(scene.screen_recorder && !mapOpen); + // recorder_btn->setVisible(scene.screen_recorder && !mapOpen); + recorder_btn->setVisible(false); } Compass::Compass(QWidget *parent) : QWidget(parent), scene(uiState()->scene) {