Mercurial > hg > tweakathon2ios
comparison ExplorePresetManager.h @ 12:af71bf84660f
icon stuff. not working/tested.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 20 Oct 2014 14:12:23 +0100 |
parents | e25d2b1b185e |
children | f83635861187 |
comparison
equal
deleted
inserted
replaced
11:91c3fba6e5b9 | 12:af71bf84660f |
---|---|
89 } | 89 } |
90 | 90 |
91 Preset* getPreset(int index){ | 91 Preset* getPreset(int index){ |
92 | 92 |
93 if (index >= thePresets.size()){ | 93 if (index >= thePresets.size()){ |
94 cout << "ERROR: index exceeds number of presets" << endl; | 94 cout << "ERROR: index " << index << " exceeds number of presets " << thePresets.size() << endl; |
95 return NULL; | 95 return NULL; |
96 }else{ | 96 }else{ |
97 return thePresets[index]; | 97 return thePresets[index]; |
98 | 98 |
99 } | 99 } |