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_x11.c

    r2056 r2057  
    3535
    3636#include "cucul.h"
    37 #include "cucul_internals.h"
    3837#include "caca.h"
    3938#include "caca_internals.h"
     
    305304        {
    306305            uint32_t const *attrs = cvattrs + x + y * width;
    307             uint16_t bg = _cucul_attr_to_rgb12bg(*attrs);
     306            uint16_t bg = cucul_attr_to_rgb12_bg(*attrs);
    308307
    309308            len = 1;
    310309            while(x + len < width
    311                    && _cucul_attr_to_rgb12bg(attrs[len]) == bg)
     310                   && cucul_attr_to_rgb12_bg(attrs[len]) == bg)
    312311                len++;
    313312
     
    333332        {
    334333            XSetForeground(dp->drv.p->dpy, dp->drv.p->gc,
    335                            dp->drv.p->colors[_cucul_attr_to_rgb12fg(*attrs)]);
     334                           dp->drv.p->colors[cucul_attr_to_rgb12_fg(*attrs)]);
    336335
    337336            x11_put_glyph(dp, x * dp->drv.p->font_width,
Note: See TracChangeset for help on using the changeset viewer.