Mercurial > hg > tweakathon2ios
diff 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 |
line wrap: on
line diff
--- a/globalVariables.h Fri Oct 17 19:23:30 2014 +0100 +++ b/globalVariables.h Mon Oct 20 11:23:55 2014 +0100 @@ -8,7 +8,8 @@ #pragma once #include "ofMain.h" - +#include "boost/bind.hpp" +#include "boost/function.hpp" // magic numbers for event ids #define TRIGGER_TARGET_ID 99236082 #define TRIGGER_CANDIDATE_ID 99233256 @@ -40,4 +41,6 @@ typedef enum {FILL,LINE, BLOB} SliderType; -typedef enum {SMALLFONT, MEDIUMFONT, LARGEFONT} FontSize; \ No newline at end of file +typedef enum {SMALLFONT, MEDIUMFONT, LARGEFONT} FontSize; + +typedef boost::function<void(int)> TickListenerFunction;