Ignore:
Timestamp:
Nov 25, 2007, 3:12:20 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Export cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg() and cucul_attr_to_argb64() (previously _cucul_attr_to_rgb12bg, _cucul_attr_to_rgb12fg and _cucul_attr_to_argb4) in the official libcucul API.
  • Cleanup complete: libcaca no longer depends on "cucul_internals.h".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_gl.c

    r2056 r2057  
    3838
    3939#include "cucul.h"
    40 #include "cucul_internals.h"
    4140#include "caca.h"
    4241#include "caca_internals.h"
     
    228227        for(x = 0; x < dp->drv.p->width; x += dp->drv.p->font_width)
    229228        {
    230             uint16_t bg = _cucul_attr_to_rgb12bg(*attrs++);
     229            uint16_t bg = cucul_attr_to_rgb12_bg(*attrs++);
    231230
    232231            glColor4b(((bg & 0xf00) >> 8) * 8,
     
    280279                                        - (uint32_t)dp->drv.p->blocks[i]]);
    281280
    282                 fg = _cucul_attr_to_rgb12fg(*attrs);
     281                fg = cucul_attr_to_rgb12_fg(*attrs);
    283282                glColor3b(((fg & 0xf00) >> 8) * 8,
    284283                          ((fg & 0x0f0) >> 4) * 8,
Note: See TracChangeset for help on using the changeset viewer.