From 52f78717dae3cb02eb1539841dd2a6bd351f74c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 23:00:42 +0300 Subject: add support for GIMP palettes for dye colors. Palette file must be named palette.gpl and contain colors with correct names. To use it in dye string can be used character @. Example: in all dye string it not tested. --- src/resources/dye.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/resources/dye.h') diff --git a/src/resources/dye.h b/src/resources/dye.h index 442a514d7..efcf95420 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -23,11 +23,11 @@ #ifndef DYE_H #define DYE_H +#include "resources/dyecolor.h" + #include #include -#include - #include "localconsts.h" const int dyePalateSize = 9; @@ -83,10 +83,7 @@ class DyePalette final static int hexDecode(const signed char c) A_WARN_UNUSED; private: - struct Color - { unsigned char value[4]; }; - - std::vector mColors; + std::vector mColors; }; /** -- cgit v1.2.3-60-g2f50