adding the motion control community logo to the graph

This commit is contained in:
Marcus Nowotny
2012-07-10 11:59:58 +02:00
parent 0a98abcfe3
commit 5bf133937f
3 changed files with 4 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ void drawData() {
//rect(plotLeft, plotBottom, plotRight, plotTop);
//place the logo into the data area
image(TMCLogo,plotLeft+(plotRight - plotLeft-TMCLogo.width)/2,plotBottom+(plotTop - plotBottom-TMCLogo.height)/2);
image(MCLogo,plotLeft+(plotRight - plotLeft-MCLogo.width)/2,plotBottom+(plotTop - plotBottom-MCLogo.height)/2);
strokeWeight(dataLineWidth);
stroke(positionColor);

View File

@@ -39,11 +39,13 @@ List controlElements = new LinkedList();
List serialConfigElements = new LinkedList();
PImage TMCLogo;
PImage MCLogo;
void setup() {
size(1000, 800);
//load the logo
//load the logos
TMCLogo=loadImage("tmc_logo.jpg");
MCLogo=loadImage("mc_logo.jpg");
//create the UI
controlP5 = new ControlP5(this);

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB