/* * Copyright 2010 Curt Binder * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef __RA_COLORS_H__ #define __RA_COLORS_H__ #if defined RA_TOUCH || defined RA_TOUCHDISPLAY || defined RA_EVOLUTION // Reef Touch Colors #define COLOR_BLACK RGB565(0x00, 0x00, 0x00) #define COLOR_WHITE RGB565(0xFF, 0xFF, 0xFF) #define COLOR_RED RGB565(0xFF, 0x00, 0x00) #define COLOR_GREEN RGB565(0x00, 0xFF, 0x00) #define COLOR_BLUE RGB565(0x00, 0x00, 0xFF) #define COLOR_YELLOW RGB565(0xFF, 0xFF, 0x00) #define COLOR_MAGENTA RGB565(0xFF, 0x00, 0xFF) #define COLOR_CYAN RGB565(0x00, 0xFF, 0xFF) #define COLOR_GRAY RGB565(0x80, 0x80, 0x40) #define COLOR_SILVER RGB565(0xA0, 0xA0, 0x80) #define COLOR_GOLD RGB565(0xA0, 0xA0, 0x40) #define COLOR_ORANGE RGB565(0xFF, 0x80, 0x00) #define TOPBAR_BC COLOR_WHITE #define TOPBAR_FC COLOR_BLACK #define BOTTOMBAR_BC COLOR_WHITE #define BOTTOMBAR_FC COLOR_BLACK #define BKCOLOR COLOR_BLACK #define WARNING_TEXT COLOR_GOLD #define DIVISION RGB565(0x40, 0x40, 0x40) #define RELAYBOXLABELBAR RGB565(0xDC, 0xAC, 0xDE) #define PWMLABELBAR RGB565(0xF7, 0xBC, 0x54) #define RFLABELBAR RGB565(0xF6, 0x03, 0xFF) #define AILABELBAR RGB565(0xFF, 0x8A, 0x00) #define RELAYGREEN RGB565(0x00, 0xAA, 0x00) #define DefaultBGColor BKCOLOR #else // RA_TOUCH // Global Colors #define COLOR_BLACK 0x00 #define COLOR_NAVY 0x02 #define COLOR_BLUE 0x03 #define COLOR_DARKGREEN 0x0C #define COLOR_GREEN 0x10 #define COLOR_TEAL 0x12 #define COLOR_LIGHT_BLUE 0x13 #define COLOR_DEEPSKYBLUE 0x17 #define COLOR_DARKTURQUOISE 0x1A #define COLOR_LIME 0x1C #define COLOR_SPRINGGREEN 0x1D #define COLOR_MEDIUMSPRINGGREEN 0x1E #define COLOR_CYAN 0x1F #define COLOR_MIDNIGHTBLUE 0x25 #define COLOR_DARKSLATEGREY 0x29 #define COLOR_FORESTGREEN 0x30 #define COLOR_SEAGREEN 0x31 #define COLOR_DODGERBLUE 0x33 #define COLOR_LIGHTSEAGREEN 0x36 #define COLOR_LIMEGREEN 0x39 #define COLOR_INDIGO 0x42 #define COLOR_DARKSLATEBLUE 0x4A #define COLOR_DARKOLIVEGREEN 0x4D #define COLOR_ROYALBLUE 0x4F #define COLOR_STEELBLUE 0x52 #define COLOR_MEDIUMSEAGREEN 0x55 #define COLOR_TURQUOISE 0x5A #define COLOR_SLATEBLUE 0x6A #define COLOR_DIMGREY 0x6D #define COLOR_MEDIUMSLATEBLUE 0x6F #define COLOR_OLIVEDRAB 0x70 #define COLOR_SLATEGREY 0x72 #define COLOR_CORNFLOWERBLUE 0x73 #define COLOR_MEDIUMAQUAMARINE 0x7A #define COLOR_LAWNGREEN 0x7C #define COLOR_AQUAMARINE 0x7E #define COLOR_MAROON 0x80 #define COLOR_PURPLE 0x82 #define COLOR_DARKORCHID 0x86 #define COLOR_BLUEVIOLET 0x87 #define COLOR_SADDLEBROWN 0x88 #define COLOR_SIENNA 0x89 #define COLOR_MEDIUMPURPLE 0x8F #define COLOR_OLIVE 0x90 #define COLOR_GRAY 0x92 #define COLOR_DARKSEAGREEN 0x96 #define COLOR_YELLOWGREEN 0x99 #define COLOR_SKYBLUE 0x9B #define COLOR_LIGHTGREEN 0x9E #define COLOR_BROWN 0xA4 #define COLOR_MEDIUMVIOLETRED 0xA6 #define COLOR_MEDIUMORCHID 0xAA #define COLOR_DARKGOLDENROD 0xB0 #define COLOR_ROSYBROWN 0xB2 #define COLOR_DARKKHAKI 0xB5 #define COLOR_SILVER 0xB6 #define COLOR_LIGHTSTEELBLUE 0xB7 #define COLOR_POWDERBLUE 0xBB #define COLOR_GREENYELLOW 0xBD #define COLOR_PALETURQUOISE 0xBF #define COLOR_CRIMSON 0xC5 #define COLOR_CHOCOLATE 0xCC #define COLOR_INDIANRED 0xCD #define COLOR_PALEVIOLETRED 0xCE #define COLOR_ORCHID 0xCF #define COLOR_DARKSALMON 0xD1 #define COLOR_PLUM 0xD3 #define COLOR_GOLDENROD 0xD4 #define COLOR_TAN 0xD6 #define COLOR_THISTLE 0xD7 #define COLOR_LIGHTGRAY 0xDA #define COLOR_LAVENDER 0xDB #define COLOR_LIGHTCYAN 0xDF #define COLOR_RED 0xE0 #define COLOR_MAGENTA 0xE3 #define COLOR_DEEPPINK 0xE6 #define COLOR_ORANGERED 0xE8 #define COLOR_TOMATO 0xED #define COLOR_HOTPINK 0xEE #define COLOR_DARKORANGE 0xF0 #define COLOR_SALMON 0xF1 #define COLOR_LIGHTCORAL 0xF2 #define COLOR_VIOLET 0xF3 #define COLOR_ORANGE 0xF4 #define COLOR_SANDYBROWN 0xF5 #define COLOR_PINK 0xF6 #define COLOR_GOLD 0xF8 #define COLOR_KHAKI 0xFA #define COLOR_ANTIQUEWHITE 0xFB #define COLOR_YELLOW 0xFC #define COLOR_LIGHTGOLDENRODYELLOW 0xFE #define COLOR_WHITE 0xFF #endif // RA_TOUCH #endif // __RA_COLORS_H__