| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 32 | kaklik | /***************************************************************************** |
| 2 | * Module for Microchip Graphics Library |
||
| 3 | * Standard color defines |
||
| 4 | ***************************************************************************** |
||
| 5 | * FileName: PaletteColorDefines.h |
||
| 6 | * Dependencies: p24Fxxxx.h or plib.h |
||
| 7 | * Processor: PIC24F |
||
| 8 | * Compiler: MPLAB C30 |
||
| 9 | * Linker: MPLAB LINK30 |
||
| 10 | * Company: Microchip Technology Incorporated |
||
| 11 | * |
||
| 12 | * Software License Agreement |
||
| 13 | * |
||
| 14 | * Copyright © 2008 Microchip Technology Inc. All rights reserved. |
||
| 15 | * Microchip licenses to you the right to use, modify, copy and distribute |
||
| 16 | * Software only when embedded on a Microchip microcontroller or digital |
||
| 17 | * signal controller, which is integrated into your product or third party |
||
| 18 | * product (pursuant to the sublicense terms in the accompanying license |
||
| 19 | * agreement). |
||
| 20 | * |
||
| 21 | * You should refer to the license agreement accompanying this Software |
||
| 22 | * for additional information regarding your rights and obligations. |
||
| 23 | * |
||
| 24 | * SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY |
||
| 25 | * KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY |
||
| 26 | * OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR |
||
| 27 | * PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR |
||
| 28 | * OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, |
||
| 29 | * BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT |
||
| 30 | * DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, |
||
| 31 | * INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, |
||
| 32 | * COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY |
||
| 33 | * CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), |
||
| 34 | * OR OTHER SIMILAR COSTS. |
||
| 35 | * |
||
| 36 | * Author Date Comment |
||
| 37 | *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
| 38 | * Pradeep Budagutta 20 Aug 2009 Initial Version |
||
| 39 | *****************************************************************************/ |
||
| 40 | #ifndef _PALETTECOLORDEFINES_H |
||
| 41 | #define _PALETTECOLORDEFINES_H |
||
| 42 | |||
| 43 | #include "GraphicsConfig.h" |
||
| 44 | |||
| 45 | /********************************************************************* |
||
| 46 | * Overview: Some basic colors definitions. |
||
| 47 | *********************************************************************/ |
||
| 48 | #ifdef USE_PALETTE |
||
| 49 | |||
| 50 | #define BLACK 0 |
||
| 51 | #define BRIGHTBLUE 1 |
||
| 52 | #define BRIGHTGREEN 2 |
||
| 53 | #define BRIGHTCYAN 3 |
||
| 54 | #define BRIGHTRED 4 |
||
| 55 | #define BRIGHTMAGENTA 5 |
||
| 56 | #define BRIGHTYELLOW 6 |
||
| 57 | #define BLUE 7 |
||
| 58 | #define GREEN 8 |
||
| 59 | #define CYAN 9 |
||
| 60 | #define RED 10 |
||
| 61 | #define MAGENTA 11 |
||
| 62 | #define BROWN 12 |
||
| 63 | #define LIGHTGRAY 13 |
||
| 64 | #define DARKGRAY 14 |
||
| 65 | #define LIGHTBLUE 15 |
||
| 66 | #define LIGHTGREEN 16 |
||
| 67 | #define LIGHTCYAN 17 |
||
| 68 | #define LIGHTRED 18 |
||
| 69 | #define LIGHTMAGENTA 19 |
||
| 70 | #define YELLOW 20 |
||
| 71 | #define WHITE 21 |
||
| 72 | |||
| 73 | #define GRAY0 22 |
||
| 74 | #define GRAY1 23 |
||
| 75 | #define GRAY2 24 |
||
| 76 | #define GRAY3 25 |
||
| 77 | #define GRAY4 26 |
||
| 78 | #define GRAY5 27 |
||
| 79 | #define GRAY6 28 |
||
| 80 | |||
| 81 | #define GRAY20 29 |
||
| 82 | #define GRAY40 30 |
||
| 83 | #define GRAY80 31 |
||
| 84 | #define GRAY90 32 |
||
| 85 | #define GRAY95 33 |
||
| 86 | #define RED4 34 |
||
| 87 | #define FIREBRICK1 35 |
||
| 88 | #define DARKGREEN 36 |
||
| 89 | #define PALEGREEN 37 |
||
| 90 | #define LIGHTYELLOW 38 |
||
| 91 | #define GOLD 39 |
||
| 92 | #define DARKORANGE 40 |
||
| 93 | |||
| 94 | // Brown color scheme |
||
| 95 | #define SADDLEBROWN 41 |
||
| 96 | #define SIENNA 42 |
||
| 97 | #define PERU 43 |
||
| 98 | #define BURLYWOOD 44 |
||
| 99 | #define WHEAT 45 |
||
| 100 | #define TAN 46 |
||
| 101 | #define GRAY80 31 |
||
| 102 | #define GRAY90 32 |
||
| 103 | #define GRAY95 33 |
||
| 104 | |||
| 105 | /* default settings for TRULY display */ |
||
| 106 | |||
| 107 | // Emboss dark color default value. |
||
| 108 | #define EMBOSSDKCOLORDEFAULT 61 |
||
| 109 | |||
| 110 | // Emboss light color default value. |
||
| 111 | #define EMBOSSLTCOLORDEFAULT 62 |
||
| 112 | |||
| 113 | // Text color 0 default value. |
||
| 114 | #define TEXTCOLOR0DEFAULT 63 |
||
| 115 | |||
| 116 | // Text color 1 default value. |
||
| 117 | #define TEXTCOLOR1DEFAULT WHITE |
||
| 118 | |||
| 119 | // Text color disabled default value. |
||
| 120 | #define TEXTCOLORDISABLEDDEFAULT WHEAT |
||
| 121 | |||
| 122 | // Color 0 default value. |
||
| 123 | #define COLOR0DEFAULT 64 |
||
| 124 | |||
| 125 | // Color 1 default value. |
||
| 126 | #define COLOR1DEFAULT 65 |
||
| 127 | |||
| 128 | // Disabled color default value. |
||
| 129 | #define COLORDISABLEDDEFAULT 66 |
||
| 130 | |||
| 131 | // Common background color default value. |
||
| 132 | #define COMMONBACKGROUNDCOLORDEFAULT 67 |
||
| 133 | |||
| 134 | // Chart color definitions |
||
| 135 | #define CH_CLR0 68 |
||
| 136 | #define CH_CLR1 69 |
||
| 137 | #define CH_CLR2 70 |
||
| 138 | #define CH_CLR3 71 |
||
| 139 | #define CH_CLR4 72 |
||
| 140 | #define CH_CLR5 73 |
||
| 141 | #define CH_CLR6 74 |
||
| 142 | #define CH_CLR7 75 |
||
| 143 | #define CH_CLR8 76 |
||
| 144 | #define CH_CLR9 77 |
||
| 145 | #define CH_CLR10 78 |
||
| 146 | #define CH_CLR11 79 |
||
| 147 | #define CH_CLR12 80 |
||
| 148 | #define CH_CLR13 81 |
||
| 149 | #define CH_CLR14 82 |
||
| 150 | #define CH_CLR15 83 |
||
| 151 | |||
| 152 | #endif // USE_PALETTE |
||
| 153 | |||
| 154 | #endif // _PALETTECOLORDEFINES_H |
Powered by WebSVN v2.8.3