Mercurial > hg > tweakathon2ios
annotate PresetView.h @ 6:92850a2b099c
set up preset slots from init file.
PD synth has metronome, recieves ticks but doesn't do anything with them.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 17 Oct 2014 14:50:50 +0100 |
parents | |
children | af71bf84660f |
rev | line source |
---|---|
rt300@6 | 1 // |
rt300@6 | 2 // PresetView.h |
rt300@6 | 3 // riftathon |
rt300@6 | 4 // |
rt300@6 | 5 // Created by Robert Tubb on 17/10/2014. |
rt300@6 | 6 // |
rt300@6 | 7 // |
rt300@6 | 8 |
rt300@6 | 9 #ifndef __riftathon__PresetView__ |
rt300@6 | 10 #define __riftathon__PresetView__ |
rt300@6 | 11 |
rt300@6 | 12 #include <iostream> |
rt300@6 | 13 |
rt300@6 | 14 #include "presetManager.h" |
rt300@6 | 15 #include "UIElement.h" |
rt300@6 | 16 |
rt300@6 | 17 class PresetIconView : public UIElement { |
rt300@6 | 18 string imageFileName; |
rt300@6 | 19 |
rt300@6 | 20 ofImage image; |
rt300@6 | 21 string name; |
rt300@6 | 22 |
rt300@6 | 23 |
rt300@6 | 24 |
rt300@6 | 25 void draw(); |
rt300@6 | 26 |
rt300@6 | 27 |
rt300@6 | 28 }; |
rt300@6 | 29 |
rt300@6 | 30 #endif /* defined(__riftathon__PresetView__) */ |