diff options
| author | Comment <tim@gray.(none)> | 2013-01-29 01:52:00 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-01-29 01:52:00 +0000 |
| commit | ba37049c44ff64b3c6482a5e2f199f178351a69f (patch) | |
| tree | 2a585dc6a4a169e894b841b343d5763b94e3c1f5 /src/boundary.h | |
| parent | f7667bd306b983f8f8daa0b40719aa665bf555b0 (diff) | |
mostly working
Diffstat (limited to 'src/boundary.h')
| -rwxr-xr-x | src/boundary.h | 27 |
1 files changed, 15 insertions, 12 deletions
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<ofPoint> 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<ofPoint> 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;
};
|
