wip
This commit is contained in:
@@ -441,7 +441,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
|
|||||||
p.restore();
|
p.restore();
|
||||||
|
|
||||||
if (!scene.hide_max_speed) {
|
if (!scene.hide_max_speed) {
|
||||||
drawSpeedWidget(p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff));
|
// drawSpeedWidget(p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw FrogPilot widgets
|
// Draw FrogPilot widgets
|
||||||
@@ -527,7 +527,7 @@ void AnnotatedCameraWidget::drawSpeedWidget(QPainter &p, int x, int y, const QSt
|
|||||||
drawRoundedRect(p, set_speed_rect, top_radius, top_radius, bottom_radius, bottom_radius);
|
drawRoundedRect(p, set_speed_rect, top_radius, top_radius, bottom_radius, bottom_radius);
|
||||||
|
|
||||||
// Draw MAX
|
// Draw MAX
|
||||||
QColor max_color = QColor(0x80, 0xd8, 0xa6, 0xff);
|
QColor max_color = QColor(0xaa, 0xaa, 0xaa, 0xff);
|
||||||
p.setFont(InterFont(40, QFont::DemiBold));
|
p.setFont(InterFont(40, QFont::DemiBold));
|
||||||
p.setPen(max_color);
|
p.setPen(max_color);
|
||||||
p.drawText(set_speed_rect.adjusted(0, 27, 0, 0), Qt::AlignTop | Qt::AlignHCenter, title);
|
p.drawText(set_speed_rect.adjusted(0, 27, 0, 0), Qt::AlignTop | Qt::AlignHCenter, title);
|
||||||
|
|||||||
Reference in New Issue
Block a user