mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-24 06:30:45 +00:00
Leak graph cleanup (square mode)
This commit is contained in:
parent
d8cce2a626
commit
b6568998a7
@ -59,7 +59,7 @@ void gFooBar::Plot(gGraphWindow & w,float scrx,float scry)
|
|||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
glColor4f(.2,.2,.2,.4);
|
glColor4f(.2,.2,.2,.3);
|
||||||
glBegin(GL_QUADS);
|
glBegin(GL_QUADS);
|
||||||
glVertex2f(start_px+px, w.GetBottomMargin());
|
glVertex2f(start_px+px, w.GetBottomMargin());
|
||||||
glVertex2f(start_px+px, w.GetBottomMargin()+height);
|
glVertex2f(start_px+px, w.GetBottomMargin()+height);
|
||||||
|
@ -110,7 +110,7 @@ Daily::Daily(QWidget *parent,QGLContext *context) :
|
|||||||
LEAK->AddLayer(new gXAxis());
|
LEAK->AddLayer(new gXAxis());
|
||||||
LEAK->AddLayer(new gYAxis());
|
LEAK->AddLayer(new gYAxis());
|
||||||
//LEAK->AddLayer(new gFooBar());
|
//LEAK->AddLayer(new gFooBar());
|
||||||
LEAK->AddLayer(new gLineChart(leakdata,QColor("purple"),4096,false,false,false));
|
LEAK->AddLayer(new gLineChart(leakdata,QColor("purple"),65536,false,false,true));
|
||||||
|
|
||||||
LEAK->setMinimumHeight(150);
|
LEAK->setMinimumHeight(150);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user