summaryrefslogtreecommitdiff
path: root/lasertext/src/ofApp.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2022-08-16 23:24:37 +0100
committerTim Redfern <tim@getdrop.com>2022-08-16 23:24:37 +0100
commit08968b9557456b3b9d3566d4dca1b9190bd8fba1 (patch)
treec8fb87123adb512ffe3786be0b982dc81ea6fae4 /lasertext/src/ofApp.cpp
parent1fe5dceef2df8cb7a67e0760507be418bee754b8 (diff)
use a palette
Diffstat (limited to 'lasertext/src/ofApp.cpp')
-rw-r--r--lasertext/src/ofApp.cpp3
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();