Ignore:
Timestamp:
Apr 6, 2006, 3:41:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Store colour information on 32 bits, for future 12-bit colour support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul_internals.h

    r711 r724  
    3838
    3939    uint32_t *chars;
    40     uint8_t *attr;
     40    uint32_t *attr;
    4141    char *empty_line, *scratch_line;
    4242
     
    6262extern uint32_t _cucul_cp437_to_utf32(uint8_t);
    6363
     64/* Colour functions */
     65uint8_t _cucul_rgba32_to_ansi8(uint32_t);
     66uint8_t _cucul_rgba32_to_ansi4fg(uint32_t);
     67uint8_t _cucul_rgba32_to_ansi4bg(uint32_t);
     68
    6469/* Export functions */
    6570extern void _cucul_get_ansi(cucul_t *, struct cucul_export *);
Note: See TracChangeset for help on using the changeset viewer.