Sam Hocevar
b519d05bce
* 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".
преди 17 години
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
преди 17 години
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
преди 18 години
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
преди 18 години
Sam Hocevar
cff37b56c5
* Fix a bug in cucul_put_attr. This function was simply not working.
преди 18 години
Sam Hocevar
51936f585c
* Got rid of HAVE_ERRNO_H ifdefs by defining seterrno()/geterrno() functions.
* More debugging information in the import/export and font functions.
преди 18 години
Sam Hocevar
3243101ff0
* Rename cucul_put*() into cucul_put_*(). Updated all code to reflect that.
преди 18 години
Sam Hocevar
8c43b304c9
* Replace _cucul_attr_to_ansi8() with a now documented cucul_attr_to_ansi()
function.
преди 18 години
Sam Hocevar
25d0366fe6
* Get rid of _cucul_attr_to_ansi4[fb]g() and replace all calls with
the now official cucul_attr_to_ansi_[fb]g().
преди 18 години
Sam Hocevar
c5a94eee07
* Export cucul_attr_to_ansi_fg() and cucul_attr_to_ansi_bg().
преди 18 години
Sam Hocevar
819dab40e7
* Implemented cucul_putattr(), cucul_putchar()'s attribute equivalent.
преди 18 години
Sam Hocevar
17f272c4c4
* Deprecate buffer management. We're back to standard void* memory areas.
преди 18 години
Sam Hocevar
74babecc70
* Clarify cucul_get_attr() behaviour in the cucul_set_attr() documentation.
преди 18 години
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
преди 18 години
Sam Hocevar
019938c9ae
* Changed cucul_set_attr() so that only setting the style does not change
the colour.
преди 18 години
Sam Hocevar
c3bcb0052e
* Add back cucul_set_color() and cucul_set_truecolor() but mark them as
deprecated using GCC attributes.
преди 18 години
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
преди 18 години
Sam Hocevar
aa93ad25f6
* Remove cucul_set_color() from the exported API and replaced all calls
with cucul_set_attr_ansi(). Old application will still compile (but issue
a warning) and run, though.
преди 18 години
Sam Hocevar
86301dd48c
* Use the LSB of alpha and blue components to encode additional flags such
as bold or underline. No higher level support for these yet, but at
least everything is consistent.
* Created cucul_set_attr_ansi() and cucul_set_attr_argb() which are bound
to replace cucul_set_color() and cucul_set_truecolor().
преди 18 години
Sam Hocevar
26c3ea1aa4
* Removed "This function..." constructs from documentation. Fixed a few
documentation errors or imprecisions.
преди 18 години
Sam Hocevar
81760312af
* Implemented cucul_get_color().
преди 18 години
Sam Hocevar
956ee0b309
* Use a slightly different RGB palette for ANSI colours, so that brown
really looks like brown and not like desaturated yellow.
преди 18 години
Sam Hocevar
42b967ec0e
* Set the transparent colour's RGB values to the default colour's ones.
преди 18 години
Sam Hocevar
235504d81a
* More error checking in libcucul.
преди 18 години
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
преди 18 години
Sam Hocevar
2353ad9215
* Minor documentation improvements.
преди 18 години
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
преди 18 години
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
преди 18 години
Sam Hocevar
351fad7e15
* Fixed a bug in _cucul_argb32_to_rgb24fg/bg().
преди 18 години
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
преди 18 години
Sam Hocevar
9f0a475645
* Moved cucul_set_color() from canvas.c to colour.c.
* Added cucul_set_truecolor() for non-ANSI colours.
* Added new argb32 -> rgb12 conversion functions.
преди 18 години
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
преди 18 години
Sam Hocevar
1911e368f4
* Fixed compilation warning.
преди 18 години
Sam Hocevar
b355e0581d
* Fixed colour conversion routines so that they work with ARGB too.
преди 18 години
Sam Hocevar
9369b9a48f
* Created internal function _cucul_argb32_to_argb4() that splits an argb
fg/bg value into its separate argb 4-bit fields.
преди 18 години
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
преди 18 години
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
преди 18 години