Changeset 5490 in ntrip for trunk


Ignore:
Timestamp:
Sep 18, 2013, 3:20:54 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/worldplot.cpp

    r5435 r5490  
    7373  _markers.clear();
    7474
    75   QColor red(220,20,60);
     75  QColor color(220,20,60);
    7676
    7777  QListIterator<t_point*> ip(points);
     
    8181    if (point->_lonDeg > 180.0) point->_lonDeg -= 360.0;
    8282 
    83     QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(red),
    84                                       QPen(red), QSize(2,2));
     83    QwtSymbol* symbol = new QwtSymbol(QwtSymbol::Rect, QBrush(color),
     84                                      QPen(color), QSize(2,2));
    8585    QwtPlotMarker* marker = new QwtPlotMarker();
    8686    marker->setValue(point->_lonDeg, point->_latDeg);
     
    9595    font.setPointSize(font.pointSize()*0.8);
    9696    text.setFont(font);
     97    text.setColor(color);
    9798    marker->setLabel(text);
    9899    marker->setSymbol(symbol);
Note: See TracChangeset for help on using the changeset viewer.