Mercurial > hg > tweakathon2ios
diff ExplorePresetManager.h @ 14:f83635861187
rewrote sequence controller.
ticks show relevant UI modes.
images show for preset textures (but greenish?)
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 21 Oct 2014 16:39:39 +0100 |
parents | af71bf84660f |
children | 2da0350a4aa2 |
line wrap: on
line diff
--- a/ExplorePresetManager.h Mon Oct 20 19:36:39 2014 +0100 +++ b/ExplorePresetManager.h Tue Oct 21 16:39:39 2014 +0100 @@ -16,7 +16,7 @@ #include <iostream> #include "presetManager.h" - +#define MAX_PRESETS 8 class ExplorePresetManager : public PresetManager { @@ -25,8 +25,8 @@ // check for already saved stuff startLoadAll(); - if (thePresets.size() != 16){ - // if numpresets != 16 + if (thePresets.size() != MAX_PRESETS){ + initPresets(); } @@ -35,7 +35,7 @@ presetSlotFilename = ofFilePath::getAbsolutePath(ofToDataPath("presetSlots.json")); - // set up 16 preset slots with names and images + // set up preset slots with names and images Json::Value root; Json::Reader reader;