Changeset 14620 for trunk/FACT++


Ignore:
Timestamp:
11/14/12 09:50:29 (12 years ago)
Author:
tbretz
Message:
Adapted Led colors to som new states; do not diplay comments in the warning section
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r14597 r14620  
    26222622                enable = true;
    26232623            if (s.index>=FTM::State::kConfigError1) // Dim connection / FTM connected
    2624                 SetLedColor(fStatusFTMLed, kLedRed, time);
     2624                SetLedColor(fStatusFTMLed, kLedGreenWarn, time);
    26252625
    26262626            fFtmStartRun->setEnabled(!configuring && enable);
     
    27252725            if (s.index==Drive::State::kMoving)  // Moving
    27262726                SetLedColor(fStatusDriveLed, kLedInProgress, time);
    2727             if (s.index==Drive::State::kTracking)  // Tracking
     2727            if (s.index==Drive::State::kTracking || s.index==Drive::State::kOnTrack)  // Tracking
    27282728                SetLedColor(fStatusDriveLed, kLedGreenCheck, time);
    27292729            if (s.index>=0xff)  // Error
     
    29422942        fLogText->append(out.str().c_str());
    29432943
    2944         if (qos>=kWarn && qos!=kDebug)
     2944        if (qos>=kWarn && qos!=kDebug && qos!=kComment)
    29452945            fTextEdit->append(out.str().c_str());
    29462946    }
Note: See TracChangeset for help on using the changeset viewer.