Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update font for GraphViewer

  • Loading branch information...
commit 055c381a34244f298717ea366ae1269564ff5b74 1 parent 48b862a
jsiegle authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 Source/UI/GraphViewer.cpp
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.