hekeus@0: /* hekeus@0: * Voice.h hekeus@0: * MelodyTriangle hekeus@0: * hekeus@0: * Created by Henrik Ekeus on 12/01/2012. hekeus@0: * Copyright 2012 Queen Mary University of London. All rights reserved. hekeus@0: * hekeus@0: */ hekeus@0: #include "ofMain.h" hekeus@0: class Voice { hekeus@0: public: hekeus@0: hekeus@0: void draw(); hekeus@0: Voice(int id, int x, int y); hekeus@0: Voice(); hekeus@0: bool isInVoice(int x, int y); hekeus@0: hekeus@0: int id; hekeus@0: int posx,posy; hekeus@0: bool isActive; hekeus@0: bool inTriangle; hekeus@0: int radius; hekeus@0: int octave; hekeus@0: bool highlight; hekeus@0: hekeus@0: hekeus@0: };