mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 12:40:43 +00:00
Upped Title fonts by 1
This commit is contained in:
parent
25a3c0ed50
commit
e9b6d5e279
@ -28,7 +28,7 @@ void InitGraphs()
|
||||
if (!_graph_init) {
|
||||
defaultfont=new QFont("Sans Serif",10);
|
||||
bigfont=new QFont("Sans Serif",35);
|
||||
mediumfont=new QFont("Sans Serif",18);
|
||||
mediumfont=new QFont("Sans Serif",11);
|
||||
for (int i=0;i<num_vert_arrays;i++) {
|
||||
// The extra 8 vertexes are important..
|
||||
GLshort *a=(GLshort *)calloc(maxverts+8,sizeof(GLshort));
|
||||
|
@ -33,10 +33,11 @@ gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLWidget * s
|
||||
m_foobar_moved=0;
|
||||
SetMargins(10, 15, 0, 0);
|
||||
lastlayer=NULL;
|
||||
InitGraphs();
|
||||
ti=QDateTime::currentDateTime();
|
||||
gtitle=foobar=xaxis=yaxis=NULL;
|
||||
if (!title.isEmpty()) {
|
||||
AddLayer(new gTitle(title));
|
||||
AddLayer(new gTitle(title,Qt::black,*mediumfont));
|
||||
}
|
||||
//setAcceptDrops(true);
|
||||
setMouseTracking(true);
|
||||
@ -45,7 +46,6 @@ gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLWidget * s
|
||||
min_x=max_x=0;
|
||||
rmin_y=rmax_y=0;
|
||||
min_y=max_y=0;
|
||||
InitGraphs();
|
||||
}
|
||||
|
||||
/*gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLContext * context,Qt::WindowFlags f)
|
||||
|
Loading…
Reference in New Issue
Block a user