comparison layer/NoteLayer.h @ 1362:d79e21855aef

Add mechanism for saving/loading colour maps by name/id rather than by numerical index, for future compatibility when adding to or changing the supported colour maps. Add two new colour maps (and one old one). Write out backward-compatible numerical indices for use when reloading in older versions. Also add a mechanism to invert the colour map, though I don't think it turns out useful enough to include in the UI.
author Chris Cannam
date Thu, 18 Oct 2018 13:21:56 +0100
parents a34a2a25907c
children a18e78b9c78b
comparison
equal deleted inserted replaced
1361:2e3b3fadba27 1362:d79e21855aef
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _NOTE_LAYER_H_ 16 #ifndef SV_NOTE_LAYER_H
17 #define _NOTE_LAYER_H_ 17 #define SV_NOTE_LAYER_H
18 18
19 #include "SingleColourLayer.h" 19 #include "SingleColourLayer.h"
20 #include "VerticalScaleLayer.h" 20 #include "VerticalScaleLayer.h"
21 21
22 #include "data/model/NoteModel.h" 22 #include "data/model/NoteModel.h"