Engauge Digitizer  2
ColorPalette.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef COLOR_PALETTE_H
8 #define COLOR_PALETTE_H
9 
10 #include <QString>
11 
12 enum ColorPalette {
13  COLOR_PALETTE_BLACK,
14  COLOR_PALETTE_BLUE,
15  COLOR_PALETTE_CYAN,
16  COLOR_PALETTE_GOLD,
17  COLOR_PALETTE_GREEN,
18  COLOR_PALETTE_MAGENTA,
19  COLOR_PALETTE_RED,
20  COLOR_PALETTE_YELLOW,
21  COLOR_PALETTE_TRANSPARENT,
22  NUM_PALETTE_COLORS
23 };
24 
25 extern QString colorPaletteToString (ColorPalette colorPalette);
26 
27 #endif // COLOR_PALETTE_H