Changeset 1956 in ntrip for trunk/BNC/bncfigure.cpp
- Timestamp:
- Nov 14, 2009, 11:41:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigure.cpp
r1952 r1956 51 51 updateMountPoints(); 52 52 slotNextAnimationFrame(); 53 for (int ii = 0; ii <= 1000; ii++) { 54 _r[ii] = qrand() % 255; 55 _g[ii] = qrand() % 255; 56 _b[ii] = qrand() % 255; 57 } 53 58 } 54 59 … … 179 184 180 185 if(_maxRate > 0.0) { 186 QColor color = QColor::fromRgb(_r[anchor],_g[anchor],_b[anchor]); 181 187 painter.fillRect(xx-10, int((yMax-yMin)*xLine)-yy, 10, yy, 182 QBrush( Qt::gray,Qt::SolidPattern));188 QBrush(color,Qt::SolidPattern)); 183 189 } 184 190
Note:
See TracChangeset
for help on using the changeset viewer.