root/platform/ixus132_elph115/platform_palette.c

/* [<][>][^][v][top][bottom][index][help] */
   1 // CHDK palette colors for the ixus132_elph115
   2 // Define color values as needed in this file.
   3 
   4 #include "palette.h"
   5 #include "platform_palette.h"
   6 
   7 // Playback mode colors
   8 unsigned char ply_colors[] =
   9 {
  10         COLOR_TRANSPARENT,          // Placeholder for script colors
  11         COLOR_BLACK,                // Placeholder for script colors
  12         0x01,                       // White
  13         (CHDK_COLOR_BASE+0),        // Red
  14         (CHDK_COLOR_BASE+1),        // Dark Red
  15         (CHDK_COLOR_BASE+2),        // Light Red
  16         (CHDK_COLOR_BASE+3),        // Green
  17         (CHDK_COLOR_BASE+4),        // Dark Green
  18         (CHDK_COLOR_BASE+5),        // Light Green
  19         (CHDK_COLOR_BASE+6),        // Blue
  20         (CHDK_COLOR_BASE+7),        // Dark Blue
  21         (CHDK_COLOR_BASE+8),        // Light Blue / Cyan
  22         0x16,                       // Grey
  23         0x1a,                       // Dark Grey
  24         0x0E,                       // Light Grey
  25         (CHDK_COLOR_BASE+10),       // Yellow
  26         (CHDK_COLOR_BASE+11),       // Dark Yellow
  27         (CHDK_COLOR_BASE+12),       // Light Yellow
  28         0x1a,                       // Dummy for Transparent Dark Grey
  29         (CHDK_COLOR_BASE+9),        // Magenta
  30 };
  31 
  32 // Record mode colors
  33 unsigned char rec_colors[] =
  34 {
  35         COLOR_TRANSPARENT,          // Placeholder for script colors
  36         COLOR_BLACK,                // Placeholder for script colors
  37         0x01,                       // White
  38         (CHDK_COLOR_BASE+0),        // Red
  39         (CHDK_COLOR_BASE+1),        // Dark Red
  40         (CHDK_COLOR_BASE+2),        // Light Red
  41         (CHDK_COLOR_BASE+3),        // Green
  42         (CHDK_COLOR_BASE+4),        // Dark Green
  43         (CHDK_COLOR_BASE+5),        // Light Green
  44         (CHDK_COLOR_BASE+6),        // Blue
  45         (CHDK_COLOR_BASE+7),        // Dark Blue
  46         (CHDK_COLOR_BASE+8),        // Light Blue / Cyan
  47         0x16,                       // Grey
  48         0x1a,                       // Dark Grey
  49         0x0E,                       // Light Grey
  50         (CHDK_COLOR_BASE+10),       // Yellow
  51         (CHDK_COLOR_BASE+11),       // Dark Yellow
  52         (CHDK_COLOR_BASE+12),       // Light Yellow
  53         0x1a,                       // Dummy for Transparent Dark Grey
  54         (CHDK_COLOR_BASE+9),        // Magenta
  55 };
  56 

/* [<][>][^][v][top][bottom][index][help] */