#include "painter.h"
#include "mathconstants.h"
-#include "object.h"
+//#include "object.h"
+#include "global.h"
// Set class variable defaults
void Painter::DrawInformativeText(QString text)
{
- painter->setFont(*Object::font);
+ painter->setFont(*Global::font);
QRectF bounds = painter->boundingRect(QRectF(), Qt::AlignVCenter, text);
bounds.moveTo(17.0, 17.0);
QRectF textRect = bounds;