annotate src/Voice.h @ 6:d879a30556f8

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