Changeset 924 for libcaca


Ignore:
Timestamp:
May 4, 2006, 11:34:10 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Use a slightly different RGB palette for ANSI colours, so that brown really looks like brown and not like desaturated yellow.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/colour.c

    r885 r924  
    2727#include "cucul_internals.h"
    2828
     29/* RGB colours for the ANSI palette. There is no real standard, so we
     30 * use the same values as gnome-terminal. The 7th colour (brown) is a bit
     31 * special. */
    2932static const uint16_t ansitab[16] =
    3033{
    31     0xf000, 0xf008, 0xf080, 0xf088, 0xf800, 0xf808, 0xf880, 0xf888,
    32     0xf444, 0xf44f, 0xf4f4, 0xf4ff, 0xff44, 0xff4f, 0xfff4, 0xffff,
     34    0xf000, 0xf00a, 0xf0a0, 0xf0aa, 0xfa00, 0xfa0a, 0xfa50, 0xfaaa,
     35    0xf555, 0xf55f, 0xf5f5, 0xf5ff, 0xff55, 0xff5f, 0xfff5, 0xffff,
    3336};
    3437
Note: See TracChangeset for help on using the changeset viewer.