mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Turned foobar indicator back on
This commit is contained in:
parent
e241bf5677
commit
1846185d38
@ -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);
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user