Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing compile-time errors in examples #3849

Merged
merged 1 commit into from May 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/events/simpleEventsExample/src/Circle.cpp
Expand Up @@ -56,6 +56,8 @@ void Circle::mouseReleased(ofMouseEventArgs & args){
}
}
void Circle::mouseScrolled(ofMouseEventArgs & args){}
void Circle::mouseEntered(ofMouseEventArgs & args){}
void Circle::mouseExited(ofMouseEventArgs & args){}

//this function checks if the passed arguments are inside the circle.
bool Circle::inside(float _x, float _y ){
Expand Down
2 changes: 2 additions & 0 deletions examples/events/simpleEventsExample/src/Circle.h
Expand Up @@ -37,6 +37,8 @@ class Circle {
void mousePressed(ofMouseEventArgs & args);
void mouseReleased(ofMouseEventArgs & args);
void mouseScrolled(ofMouseEventArgs & args);
void mouseEntered(ofMouseEventArgs & args);
void mouseExited(ofMouseEventArgs & args);

//this function checks if the passed arguments are inside the circle.
bool inside(float _x, float _y );
Expand Down
10 changes: 10 additions & 0 deletions examples/gl/textureBufferInstancedExample/src/ofApp.cpp
Expand Up @@ -112,6 +112,16 @@ void ofApp::mouseReleased(int x, int y, int button){

}

//--------------------------------------------------------------
void ofApp::mouseEntered(int x, int y){

}

//--------------------------------------------------------------
void ofApp::mouseExited(int x, int y){

}

//--------------------------------------------------------------
void ofApp::windowResized(int w, int h){

Expand Down