wip
This commit is contained in:
@@ -1416,21 +1416,21 @@ void AnnotatedCameraWidget::paintFrogPilotWidgets(QPainter &p) {
|
|||||||
drawSLCConfirmation(p);
|
drawSLCConfirmation(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool enableCompass = compass && !hideBottomIcons;
|
// bool enableCompass = compass && !hideBottomIcons;
|
||||||
// compass_img->setVisible(enableCompass);
|
// compass_img->setVisible(enableCompass);
|
||||||
// if (enableCompass) {
|
// if (enableCompass) {
|
||||||
// compass_img->updateState();
|
// compass_img->updateState();
|
||||||
// bottom_layout->setAlignment(compass_img, (rightHandDM ? Qt::AlignLeft : Qt::AlignRight));
|
// bottom_layout->setAlignment(compass_img, (rightHandDM ? Qt::AlignLeft : Qt::AlignRight));
|
||||||
// }
|
// }
|
||||||
|
|
||||||
bool enableDistanceButton = onroadDistanceButton && !hideBottomIcons;
|
// bool enableDistanceButton = onroadDistanceButton && !hideBottomIcons;
|
||||||
// distance_btn->setVisible(enableDistanceButton);
|
// distance_btn->setVisible(enableDistanceButton);
|
||||||
// if (enableDistanceButton) {
|
// if (enableDistanceButton) {
|
||||||
// distance_btn->updateState();
|
// distance_btn->updateState();
|
||||||
// bottom_layout->setAlignment(distance_btn, (rightHandDM ? Qt::AlignRight : Qt::AlignLeft));
|
// bottom_layout->setAlignment(distance_btn, (rightHandDM ? Qt::AlignRight : Qt::AlignLeft));
|
||||||
// }
|
// }
|
||||||
|
|
||||||
bool enablePedalIcons = scene.pedals_on_ui && !bigMapOpen;
|
// bool enablePedalIcons = scene.pedals_on_ui && !bigMapOpen;
|
||||||
// pedal_icons->setVisible(enablePedalIcons);
|
// pedal_icons->setVisible(enablePedalIcons);
|
||||||
// if (enablePedalIcons) {
|
// if (enablePedalIcons) {
|
||||||
// pedal_icons->updateState();
|
// pedal_icons->updateState();
|
||||||
|
|||||||
@@ -50,13 +50,13 @@ protected:
|
|||||||
private:
|
private:
|
||||||
UIScene &scene;
|
UIScene &scene;
|
||||||
|
|
||||||
int bearingDeg;
|
// int bearingDeg;
|
||||||
int circleOffset;
|
// int circleOffset;
|
||||||
int compassSize;
|
// int compassSize;
|
||||||
int degreeLabelOffset;
|
// int degreeLabelOffset;
|
||||||
int innerCompass;
|
// int innerCompass;
|
||||||
int x;
|
// int x;
|
||||||
int y;
|
// int y;
|
||||||
|
|
||||||
QPixmap compassInnerImg;
|
QPixmap compassInnerImg;
|
||||||
QPixmap staticElements;
|
QPixmap staticElements;
|
||||||
@@ -80,7 +80,7 @@ private:
|
|||||||
|
|
||||||
bool trafficModeActive;
|
bool trafficModeActive;
|
||||||
|
|
||||||
int personality;
|
// int personality;
|
||||||
|
|
||||||
QElapsedTimer transitionTimer;
|
QElapsedTimer transitionTimer;
|
||||||
|
|
||||||
@@ -233,7 +233,7 @@ private:
|
|||||||
bool showSLCOffset;
|
bool showSLCOffset;
|
||||||
bool slcOverridden;
|
bool slcOverridden;
|
||||||
bool speedLimitController;
|
bool speedLimitController;
|
||||||
bool trafficModeActive;
|
// bool trafficModeActive;
|
||||||
bool turnSignalLeft;
|
bool turnSignalLeft;
|
||||||
bool turnSignalRight;
|
bool turnSignalRight;
|
||||||
bool useViennaSLCSign;
|
bool useViennaSLCSign;
|
||||||
|
|||||||
Reference in New Issue
Block a user