Mercurial > hg > tweakathon2ios
comparison globalVariables.h @ 11:91c3fba6e5b9
things can register for pd metronome events
onTick gets back to search message organiser
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 20 Oct 2014 11:23:55 +0100 |
parents | d5e928887f51 |
children | af71bf84660f |
comparison
equal
deleted
inserted
replaced
10:e25d2b1b185e | 11:91c3fba6e5b9 |
---|---|
6 // | 6 // |
7 // | 7 // |
8 | 8 |
9 #pragma once | 9 #pragma once |
10 #include "ofMain.h" | 10 #include "ofMain.h" |
11 | 11 #include "boost/bind.hpp" |
12 #include "boost/function.hpp" | |
12 // magic numbers for event ids | 13 // magic numbers for event ids |
13 #define TRIGGER_TARGET_ID 99236082 | 14 #define TRIGGER_TARGET_ID 99236082 |
14 #define TRIGGER_CANDIDATE_ID 99233256 | 15 #define TRIGGER_CANDIDATE_ID 99233256 |
15 #define RANDOMISE_TARGET_ID 99764448 | 16 #define RANDOMISE_TARGET_ID 99764448 |
16 #define SUBMIT_CANDIDATE 99371538 | 17 #define SUBMIT_CANDIDATE 99371538 |
39 typedef enum {SEQUENTIAL, REVISITABLE, SIMULTANEOUS, MULTI_SIMPLE, MULTI_COMPLEX} controlPanelType; | 40 typedef enum {SEQUENTIAL, REVISITABLE, SIMULTANEOUS, MULTI_SIMPLE, MULTI_COMPLEX} controlPanelType; |
40 | 41 |
41 typedef enum {FILL,LINE, BLOB} SliderType; | 42 typedef enum {FILL,LINE, BLOB} SliderType; |
42 | 43 |
43 typedef enum {SMALLFONT, MEDIUMFONT, LARGEFONT} FontSize; | 44 typedef enum {SMALLFONT, MEDIUMFONT, LARGEFONT} FontSize; |
45 | |
46 typedef boost::function<void(int)> TickListenerFunction; |