mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-22 05:30:44 +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) {
|
if (!_graph_init) {
|
||||||
defaultfont=new QFont("Sans Serif",10);
|
defaultfont=new QFont("Sans Serif",10);
|
||||||
bigfont=new QFont("Sans Serif",35);
|
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++) {
|
for (int i=0;i<num_vert_arrays;i++) {
|
||||||
// The extra 8 vertexes are important..
|
// The extra 8 vertexes are important..
|
||||||
GLshort *a=(GLshort *)calloc(maxverts+8,sizeof(GLshort));
|
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;
|
m_foobar_moved=0;
|
||||||
SetMargins(10, 15, 0, 0);
|
SetMargins(10, 15, 0, 0);
|
||||||
lastlayer=NULL;
|
lastlayer=NULL;
|
||||||
|
InitGraphs();
|
||||||
ti=QDateTime::currentDateTime();
|
ti=QDateTime::currentDateTime();
|
||||||
gtitle=foobar=xaxis=yaxis=NULL;
|
gtitle=foobar=xaxis=yaxis=NULL;
|
||||||
if (!title.isEmpty()) {
|
if (!title.isEmpty()) {
|
||||||
AddLayer(new gTitle(title));
|
AddLayer(new gTitle(title,Qt::black,*mediumfont));
|
||||||
}
|
}
|
||||||
//setAcceptDrops(true);
|
//setAcceptDrops(true);
|
||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
@ -45,7 +46,6 @@ gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLWidget * s
|
|||||||
min_x=max_x=0;
|
min_x=max_x=0;
|
||||||
rmin_y=rmax_y=0;
|
rmin_y=rmax_y=0;
|
||||||
min_y=max_y=0;
|
min_y=max_y=0;
|
||||||
InitGraphs();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLContext * context,Qt::WindowFlags f)
|
/*gGraphWindow::gGraphWindow(QWidget *parent, const QString & title, QGLContext * context,Qt::WindowFlags f)
|
||||||
|
Loading…
Reference in New Issue
Block a user