comparison presetManager.h @ 44:a1e75b94c505

Snap to eval points. Double tap to go to preset (doesn't quite work yet). Coloured locks. Changed Question 2. Fixed some leaks.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Mon, 22 Apr 2013 18:32:34 +0100
parents 0dfe9e0c01aa
children c2fffc8ea84d
comparison
equal deleted inserted replaced
43:b91a1859829a 44:a1e75b94c505
102 bool presetAlertShowing; 102 bool presetAlertShowing;
103 103
104 // names values 104 // names values
105 // check if already there 105 // check if already there
106 // find and return all(?) presets within a certain coordinate range 106 // find and return all(?) presets within a certain coordinate range
107 vector<Preset *> thePresets; 107 vector<Preset> thePresets;
108 108
109 int addPreset(string name); 109 int addPreset(string name);
110 int loadPreset(const TwoVector coord, const string name, long long stime); 110 int loadPreset(const TwoVector coord, const string name, long long stime);
111 111
112 TwoVector recallPreset(int presetID); // by name ? id? 112 TwoVector recallPreset(int presetID); // by name ? id?