Skip to content

Commit f86ec07

Browse files
committed
ADC: adjust cursor and labels colors
Signed-off-by: Andrei Popa <andrei.popa@analog.com>
1 parent e015951 commit f86ec07

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gui/src/axishandle.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424
#include "qpainter.h"
2525
#include <qwt_scale_div.h>
2626
#include <QMouseEvent>
27+
#include <style.h>
2728

2829
using namespace scopy;
2930

3031
AxisHandle::AxisHandle(QwtAxisId axisId, HandlePos handlePos, QwtPlot *plot)
3132
: QWidget(plot->canvas())
3233
, m_axisId(axisId)
3334
, m_plot(plot)
34-
, m_color(Qt::gray)
35+
, m_color(Style::getColor(json::theme::content_silent))
3536
, m_handlePos(handlePos)
3637
, m_pos(QPoint(0, 0))
3738
, m_handleMargins(6)

gui/src/plotwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ void PlotWidget::setupAxes()
282282

283283
m_xPosition = Preferences::get("adc_plot_xaxis_label_position").toInt();
284284
m_yPosition = Preferences::get("adc_plot_yaxis_label_position").toInt();
285-
QPen pen(QColor(Style::getAttribute(json::theme::interactive_subtle_idle)));
285+
QPen pen(QColor(Style::getAttribute(json::theme::content_subtle)));
286286
m_xAxis = new PlotAxis(m_xPosition, this, pen, this);
287287
m_yAxis = new PlotAxis(m_yPosition, this, pen, this);
288288
}

0 commit comments

Comments
 (0)