Turned foobar indicator back on

This commit is contained in:
Mark Watkins 2011-08-26 16:01:03 +10:00
parent e241bf5677
commit 1846185d38
2 changed files with 3 additions and 3 deletions

View File

@ -72,8 +72,8 @@ void gFooBar::paint(gGraph & w,int left, int top, int width, int height)
float h=top;
glBegin(GL_LINES);
glLineWidth(1);
glBegin(GL_LINES);
w.qglColor(m_line_color);
glVertex2f(start_px, h);
glVertex2f(start_px+width, h);
@ -83,8 +83,8 @@ void gFooBar::paint(gGraph & w,int left, int top, int width, int height)
double px=((1/rmx)*(w.min_x-w.rmin_x))*width;
double py=((1/rmx)*(w.max_x-w.rmin_x))*width;
glLineWidth(3);
glBegin(GL_LINES);
glLineWidth(4);
w.qglColor(m_handle_color);
glVertex2f(start_px+px-4,h);
glVertex2f(start_px+py+4,h);

View File

@ -96,7 +96,7 @@ Daily::Daily(QWidget *parent,QGLWidget * shared, MainWindow *mw)
SF->AddLayer(AddCPAP(fg));
SF->AddLayer(new gShadowArea());
SF->AddLayer(new gYSpacer(),LayerLeft,gYAxis::Margin);
//SF->AddLayer(new gFooBar(),LayerBottom,0,10);
SF->AddLayer(new gFooBar(),LayerBottom,0,10);
SF->AddLayer(new gXAxis(),LayerBottom,0,gXAxis::Margin);
PRD->AddLayer(new gXGrid());