Răsfoiți Sursa

Minor look and feel tweaks

yeswecan 9 ani în urmă
părinte
comite
9be6256108
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 0
      example/src/ofApp.cpp
  2. 0 2
      src/ofxPlotter.h

+ 2 - 0
example/src/ofApp.cpp

@@ -15,6 +15,8 @@ void ofApp::update(){
 
 //--------------------------------------------------------------
 void ofApp::draw(){
+    ofBackgroundGradient(ofColor(20), ofColor(75));
+    
     plotter.draw(0, 0, ofGetWidth(), ofGetHeight());
     
     

+ 0 - 2
src/ofxPlotter.h

@@ -119,8 +119,6 @@ public:
             float stepWidth = width / historyValues->size();
             ofPushMatrix();
             ofTranslate(0, yspace * index);
-            ofSetColor(ofColor::fromHsb((index * 75), 255, 50, 20));
-            ofDrawRectangle(0, 0, width, yspace);
             
             ofSetColor(ofColor::fromHsb((index * 75), 255, 50, 25));
             ofSetLineWidth(2);