mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-23 22:20:49 +00:00
Increased max_drawlist_size in gLineChart
This commit is contained in:
parent
74316b891f
commit
1d914aed4d
@ -108,7 +108,7 @@ protected:
|
||||
GLShortBuffer * outlines;
|
||||
|
||||
//! \brief Used by accelerated waveform plots. Must be >= Screen Resolution (or at least graph width)
|
||||
static const int max_drawlist_size=4096;
|
||||
static const int max_drawlist_size=10000;
|
||||
|
||||
//! \brief The list of screen points used for accelerated waveform plots..
|
||||
QPoint m_drawlist[max_drawlist_size];
|
||||
|
@ -839,7 +839,7 @@ void MainWindow::PrintReport(gGraphView *gv,QString name, QDate date)
|
||||
|
||||
getDaily()->eventBreakdownPie()->showTitle(false);
|
||||
getDaily()->eventBreakdownPie()->setMargins(0,0,0,0);
|
||||
QPixmap ebp=getDaily()->eventBreakdownPie()->renderPixmap(piesize,piesize,4);
|
||||
QPixmap ebp=getDaily()->eventBreakdownPie()->renderPixmap(piesize,piesize,1);
|
||||
painter.drawPixmap(virt_width-piesize,bounds.height(),piesize,piesize,ebp);
|
||||
getDaily()->eventBreakdownPie()->showTitle(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user