From f7667bd306b983f8f8daa0b40719aa665bf555b0 Mon Sep 17 00:00:00 2001 From: Comment Date: Mon, 28 Jan 2013 12:42:36 +0000 Subject: drag filenames into areas --- src/boundary.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/boundary.cpp') diff --git a/src/boundary.cpp b/src/boundary.cpp index c30f676..64957ed 100755 --- a/src/boundary.cpp +++ b/src/boundary.cpp @@ -2,12 +2,12 @@ boundary::boundary() { - note=40; //middle C + filename=""; } -boundary::boundary(int _note) +boundary::boundary(string file) { - note=_note; + filename=file; } boundary::~boundary() @@ -20,7 +20,7 @@ void boundary::draw(){ for (int i=0;i