From 055c381a34244f298717ea366ae1269564ff5b74 Mon Sep 17 00:00:00 2001 From: jsiegle <jsiegle@mit.edu> Date: Fri, 24 Jan 2014 19:59:18 -0500 Subject: [PATCH] Update font for GraphViewer --- Source/UI/GraphViewer.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/UI/GraphViewer.cpp b/Source/UI/GraphViewer.cpp index a9df2cd69..63d17bfab 100644 --- a/Source/UI/GraphViewer.cpp +++ b/Source/UI/GraphViewer.cpp @@ -233,14 +233,18 @@ void GraphViewer::paint(Graphics& g) g.fillAll(Colours::darkgrey); g.setFont(labelFont); + g.setFont(50); g.setColour(Colours::grey); JUCEApplication* app = JUCEApplication::getInstance(); - String text = "open ephys "; + String text = "GUI version "; text += app->getApplicationVersion(); - g.drawFittedText(text, 40, 40, getWidth()-50, getHeight()-50, Justification::bottomRight, 100); + g.drawFittedText("open ephys", 40, 40, getWidth()-50, getHeight()-60, Justification::bottomRight, 100); + + g.setFont(Font("Small Text", 14, Font::plain)); + g.drawFittedText(text, 40, 40, getWidth()-50, getHeight()-45, Justification::bottomRight, 100); // draw connections -- GitLab