Split CreatePaletteControllers in ctrl + widget for colors list

This commit is contained in:
jdescottes
2014-09-18 07:59:56 +02:00
parent 508fb79c32
commit 9afe69cb87
7 changed files with 192 additions and 149 deletions

View File

@@ -16,6 +16,10 @@
return this.colors;
};
ns.Palette.prototype.setColors = function (colors) {
this.colors = colors;
};
ns.Palette.prototype.get = function (index) {
return this.colors[index];
};