소스 검색

Minor look and feel tweaks

yeswecan 9 년 전
부모
커밋
9be6256108
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);