diff options
Diffstat (limited to 'lasertext/src/ofApp.cpp')
| -rw-r--r-- | lasertext/src/ofApp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lasertext/src/ofApp.cpp b/lasertext/src/ofApp.cpp index 96b56ab..5e6865e 100644 --- a/lasertext/src/ofApp.cpp +++ b/lasertext/src/ofApp.cpp @@ -35,6 +35,7 @@ void ofApp::setup(){ else{ cout << "unable to load settings.xml"<<std::endl; } + } //-------------------------------------------------------------- void ofApp::update(){ @@ -99,7 +100,7 @@ void ofApp::keyPressed(ofKeyEventArgs &args){ //-------------------------------------------------------------- void ofApp::keyReleased(int key){ if (key>=' '&&key<='~'){ - banner.addGlyph(key,ofColor::fromHsb(ofRandom(255.0),225,255)); + banner.addGlyph(key); } else if (key==OF_KEY_BACKSPACE||key==OF_KEY_DEL) { //DEL banner.removeGlyph(); |
