From 6a86eeb550f27e9e24bd3e2133a30dff3cfd1576 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Fri, 20 Jan 2017 19:51:21 +0200 Subject: [PATCH] Rename piMapper to mapper --- example-custom-shortcuts/src/ofApp.cpp | 16 ++++++++-------- example-custom-shortcuts/src/ofApp.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/example-custom-shortcuts/src/ofApp.cpp b/example-custom-shortcuts/src/ofApp.cpp index a902f47..6d36efc 100644 --- a/example-custom-shortcuts/src/ofApp.cpp +++ b/example-custom-shortcuts/src/ofApp.cpp @@ -2,33 +2,33 @@ void ofApp::setup(){ ofBackground(0); - piMapper.setup(); + mapper.setup(); } void ofApp::update(){ - piMapper.update(); + mapper.update(); } void ofApp::draw(){ - piMapper.draw(); + mapper.draw(); } void ofApp::keyPressed(int key){ - piMapper.keyPressed(key); + mapper.keyPressed(key); } void ofApp::keyReleased(int key){ - piMapper.keyReleased(key); + mapper.keyReleased(key); } void ofApp::mousePressed(int x, int y, int button){ - piMapper.mousePressed(x, y, button); + mapper.mousePressed(x, y, button); } void ofApp::mouseReleased(int x, int y, int button){ - piMapper.mouseReleased(x, y, button); + mapper.mouseReleased(x, y, button); } void ofApp::mouseDragged(int x, int y, int button){ - piMapper.mouseDragged(x, y, button); + mapper.mouseDragged(x, y, button); } diff --git a/example-custom-shortcuts/src/ofApp.h b/example-custom-shortcuts/src/ofApp.h index 18790b1..be34c76 100644 --- a/example-custom-shortcuts/src/ofApp.h +++ b/example-custom-shortcuts/src/ofApp.h @@ -16,5 +16,5 @@ class ofApp : public ofBaseApp { void mouseReleased(int x, int y, int button); void mouseDragged(int x, int y, int button); - ofxPiMapper piMapper; + ofxPiMapper mapper; };