annotate Voice.h @ 3:3314e795adea

added /marker on space bar
author Henrik Ekeus <hekeus@eecs.qmul.ac.uk>
date Wed, 25 Jan 2012 15:20:40 +0000
parents 2db9be889344
children
rev   line source
hekeus@0 1 /*
hekeus@0 2 * Voice.h
hekeus@0 3 * MelodyTriangle
hekeus@0 4 *
hekeus@0 5 * Created by Henrik Ekeus on 12/01/2012.
hekeus@0 6 * Copyright 2012 Queen Mary University of London. All rights reserved.
hekeus@0 7 *
hekeus@0 8 */
hekeus@0 9 #include "ofMain.h"
hekeus@0 10 class Voice {
hekeus@0 11 public:
hekeus@0 12
hekeus@0 13 void draw();
hekeus@0 14 Voice(int id, int x, int y);
hekeus@0 15 Voice();
hekeus@0 16 bool isInVoice(int x, int y);
hekeus@0 17
hekeus@0 18 int id;
hekeus@0 19 int posx,posy;
hekeus@0 20 bool isActive;
hekeus@0 21 bool inTriangle;
hekeus@0 22 int radius;
hekeus@0 23 int octave;
hekeus@0 24 bool highlight;
hekeus@0 25
hekeus@0 26
hekeus@0 27 };