diff --git a/Projects/CodeBlocks/SleepyHead.cbp b/Projects/CodeBlocks/SleepyHead.cbp index c7c5a0bf..7fe3a609 100644 --- a/Projects/CodeBlocks/SleepyHead.cbp +++ b/Projects/CodeBlocks/SleepyHead.cbp @@ -77,6 +77,26 @@ + + diff --git a/Projects/CodeBlocks/SleepyHead.depend b/Projects/CodeBlocks/SleepyHead.depend index 3f285a8f..42fbc205 100644 --- a/Projects/CodeBlocks/SleepyHead.depend +++ b/Projects/CodeBlocks/SleepyHead.depend @@ -8307,7 +8307,7 @@ -1307863514 /home/mark/projects/git/sleepyhead/src/version.h +1307865495 /home/mark/projects/git/sleepyhead/src/version.h 1307627540 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h "machine.h" @@ -8345,7 +8345,7 @@ "sleeplib/profiles.h" "sleeplib/machine_loader.h" -1307862895 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp +1307865494 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp diff --git a/Projects/CodeBlocks/SleepyHead.layout b/Projects/CodeBlocks/SleepyHead.layout index e063b5ab..d5b0ade0 100644 --- a/Projects/CodeBlocks/SleepyHead.layout +++ b/Projects/CodeBlocks/SleepyHead.layout @@ -2,28 +2,28 @@ - + - + - + - + - + - + diff --git a/src/graphs/graph.cpp b/src/graphs/graph.cpp index 4291a475..0e2a9100 100644 --- a/src/graphs/graph.cpp +++ b/src/graphs/graph.cpp @@ -2026,16 +2026,16 @@ void gLineChart::Plot(wxDC & dc, gGraphWindow & w) //glColor3f (col.Red(), col.Green(), col.Blue()); - glLineWidth (0.25); + glLineWidth (.25); + //glEnable(GL_LINE_SMOOTH); + //glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); glBegin (GL_LINES); //_LOOP); - glEnable(GL_LINE_SMOOTH); - glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); - double lx,ly; + float lx,ly; bool first=true; for (int i=0;i1) dc.DrawLines(dp,screen); // need at least two points @@ -2089,19 +2090,21 @@ void gLineChart::Plot(wxDC & dc, gGraphWindow & w) - //glColor3f (0.1F, 0.1F, 0.1F); + //glColor4f (0.1F, 0.1F, 0.1F,0.8f); //glColor3f (col.Red(), col.Green(), col.Blue()); //glLineWidth (1); glLineWidth (0.25); + + //glEnable(GL_LINE_SMOOTH); + //glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); + glBegin (GL_LINES); //_LOOP); - glEnable(GL_LINE_SMOOTH); - glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); - double lx,ly; + float lx,ly; bool first=true; for (int i=0;i