Added Color class

- Added Color class to make color representation and convertions more uniform
- Replaced standard convertions with Color.convertion
- Removed _algorithms.js, _deleteColor.js, ajax.js and the other convertion files
- Fixed bug in ColorModule, moved replaceAllOfColor to ColorModule as well as deleteColor
This commit is contained in:
unsettledgames
2021-07-11 12:40:48 +02:00
parent dbffc0b9da
commit f5807417ec
17 changed files with 367 additions and 643 deletions

View File

@ -3,15 +3,11 @@
//=include util/onChildren.js
//=include util/onClick.js
//=include util/onClickChildren.js
//=include util/hexToRgb.js
//=include util/rgbToHex.js
//=include util/rgbToHsl.js
//=include util/hslToRgb.js
//=include lib/cookies.js
//=include _pixelEditorUtility.js
//=include lib/sortable.js
//=include _algorithms.js
//=include Util.js
//=include Color.js
/**init**/
//=include _consts.js
@ -37,8 +33,6 @@
//=include _fill.js
//=include _line.js
//=include _history.js
//=include _deleteColor.js
//=include _replaceAllOfColor.js
//=include _checkerboard.js
//=include _pixelGrid.js
//=include _layer.js