Première version fonctionnelle. --- non testée ---

This commit is contained in:
zonetest
2017-07-11 14:01:28 -04:00
parent d08fe76884
commit 630aab922a
11 changed files with 134 additions and 52 deletions
+3 -3
View File
@@ -79,7 +79,7 @@ unsigned int CGraphItem::DisplayData(quint64 StartTime, quint64 StopTime)
//Find the index of the first and last point in the timespan.
int StartIndex = 0, StopIndex = 0;
quint64 StartDeltaTime, StopDeltaTime;
//quint64 StartDeltaTime, StopDeltaTime;
int i = 0;
bool StartFound = false, StopFound = false;
while(StartFound == false || StopFound == false)
@@ -94,13 +94,13 @@ unsigned int CGraphItem::DisplayData(quint64 StartTime, quint64 StopTime)
if(CurTime <= StartTime)
{
StartIndex = i;
StartDeltaTime = CurTime - StartTime;
// StartDeltaTime = CurTime - StartTime;
StartFound = true;
}
if(CurTime >= StopTime && !StopFound)
{
StopIndex = i;
StopDeltaTime = StopTime - mDataSet->at(StopIndex)->mTime;
// StopDeltaTime = StopTime - mDataSet->at(StopIndex)->mTime;
StopFound = true;
}