wip
This commit is contained in:
@@ -768,9 +768,12 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
|
|||||||
|
|
||||||
// current speed
|
// current speed
|
||||||
if (!(scene.hide_speed || bigMapOpen)) {
|
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);
|
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);
|
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);
|
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) {
|
Compass::Compass(QWidget *parent) : QWidget(parent), scene(uiState()->scene) {
|
||||||
|
|||||||
Reference in New Issue
Block a user