From ba37049c44ff64b3c6482a5e2f199f178351a69f Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 29 Jan 2013 01:52:00 +0000 Subject: mostly working --- src/boundary.h | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'src/boundary.h') diff --git a/src/boundary.h b/src/boundary.h index e28b278..bf0b780 100755 --- a/src/boundary.h +++ b/src/boundary.h @@ -9,19 +9,22 @@ class boundary { public: boundary(); - boundary(string file); + boundary(string file,float vol=1.0f); virtual ~boundary(); - bool contains(ofPoint p); - void draw(); - void add(ofPoint p); - void undo(); - void getCentroid(); - vector points; - ofPoint centroid; - - void checkfile(ofPoint pos,string file); - - string filename; + bool contains(ofPoint p); + void draw(); + void add(ofPoint p); + void undo(); + void getCentroid(); + vector points; + ofPoint centroid; + bool checkClick(ofPoint pos); + bool checkFile(ofPoint pos,string file); + void openFile(string file); + void setVolume(float vol); + + string filename; + ofSoundPlayer sound; }; -- cgit v1.2.3