Sam Hocevar
231c33acce
Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs().
Fixes #41 .
пре 15 година
Sam Hocevar
6d526ea629
Implement caca_unset_attr() and caca_toggle_attr(). Fixes #7 .
пре 15 година
Jean-Yves Lamoureux
2adebb531b
* Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly
пре 15 година
Jean-Yves Lamoureux
67679dc55d
* Added texture mapped triangle routine, float based, arbitrary texture size, to be optimized
* Made compilation under MacOSX 10.6 (Snow Leopard) possible, but breaks 10.4 (Tiger), to be fixed
пре 15 година
Sam Hocevar
bef81f8ea7
Mark dithered bitmap array as const.
пре 15 година
Sam Hocevar
fde9caa727
Include <stdio.h> in caca_conio.h to avoid errors when this header is
included after us.
пре 15 година
Sam Hocevar
48ecccd284
Make the libcaca color values an enum again.
пре 15 година
Sam Hocevar
e3faf62787
Since caca.h now exports variables, we need __declspec(dllimport), otherwise
they won't be seen by the linker when linking dynamically. Fix caca0.h
accordingly.
пре 15 година
Sam Hocevar
f145782381
Move conio functions to the main caca.h header, with their caca_conio_
prefix. The #defines remain in caca_conio.h.
пре 15 година
Sam Hocevar
1f5518f842
Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.
пре 15 година
Sam Hocevar
4648ab11aa
Implement caca_vprintf() to allow third-party variadic functions to call us.
пре 15 година
Sam Hocevar
5269cad56c
Allow to temporarily disable dirty rectangle handling. This allows for huge
speedups when the calling application knows the dirty rectangle covered by
a complex operation.
пре 15 година
Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
пре 15 година
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
пре 15 година
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
пре 15 година
Sam Hocevar
a94a7e912c
Set up the architecture for dirty rectangles.
Dirty rectangles are an upcoming optimisation that will tell the output
drivers which portion of the canvas has been really modified since the
last blit.
пре 15 година
Ben Wiley Sittler
0b3b3e6d30
switch to weak aliases so it at least compiles on Mac OS X; note that the aliases do not actually work, so there is no cucul binary compatiblity in fact
пре 16 година
Ben Wiley Sittler
e24cd204b0
add missing CUCUL_* compatiblity constants
пре 16 година
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
пре 16 година
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
пре 16 година
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
пре 16 година
Sam Hocevar
6a3f5c21f0
* Changed most of the long ints in the API into C99 types. WARNING: this
completely breaks compatibility with previous versions of libcaca on
64-bit systems.
пре 16 година
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
пре 16 година
Sam Hocevar
725f29ee8e
* Put back all the shit in struct caca_event to avoid breaking existing
applications. I'll think of a migration path later.
пре 17 година
Sam Hocevar
b7a785ff38
* Implemented caca_set_display_driver() to change driver at runtime.
пре 17 година
Sam Hocevar
e15e962928
* Implement caca_create_display_with_driver() to specify an output driver
without using environment variables..
* Implement caca_get_display_driver() to return the current display's
output driver.
* Add a simple example program to test caca_create_display_with_driver().
пре 17 година
Sam Hocevar
5b2b3e27db
* Implemented caca_get_display_driver_list(), unused yet.
пре 17 година
Sam Hocevar
9c72677ccf
* Add cucul_get_version() and caca_get_version() and updated C++ bindings
accordingly.
* The C++ test example no longer needs "config.h".
пре 17 година
Sam Hocevar
024a3713ca
* Minor documentation fix.
пре 17 година
Sam Hocevar
069f4775f0
* Tell doxygen to expand __class and __extern before parsing anything, so
we don’t end with those ugly identifiers in the documentation.
пре 17 година
Sam Hocevar
cdebb09b64
* Added MSVC project files for the C++ bindings and the C++ test.
пре 17 година
Sam Hocevar
5321386e24
* Damn, under Visual Studio it's _WIN32, not __WIN32__.
пре 17 година
Sam Hocevar
03ad8a42fd
* Allow caca_create_display()'s argument to be NULL. It will automatically
create a canvas when so.
* Add caca_get_canvas() to retrieve the cucul canvas.
пре 17 година
Sam Hocevar
9da4d7b000
* Made the caca_event_t structure opaque and created a whole bunch of
functions to access its real data. This is a big API change that will
break your software, sorry :(
пре 17 година
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
пре 17 година
Sam Hocevar
52e9f2b13a
* Add proper __declspec(dllexport) tags for Win32 compilation.
* Manually export private libcaca symbols.
пре 17 година
Pascal Terjan
a6ac1d6255
* Slightly improved documentation
пре 17 година
Sam Hocevar
9c155f042d
* Renamed doxygen sections here and there to avoid embarassing side-effects
such as "man tutorial" showing the libcaca tutorial on Debian systems.
пре 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
e1a42d9b42
* Added caca_set_cursor(). Not yet functional.
пре 18 година
Sam Hocevar
35ad2eda5a
* Added CACA_KEY_* values for Ctrl-C, Ctrl-V, etc.
пре 18 година
Sam Hocevar
17db9e489b
* Documented caca_event_t members.
пре 18 година
Sam Hocevar
23afd54c7c
* Fix enumeration layout in the manpage documentation.
пре 18 година
Sam Hocevar
bc5415d6a4
* Fixed libcaca prototypes so that all functions use the errno mechanism
and return a value.
пре 18 година
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
пре 18 година
Sam Hocevar
5d12480dd6
* Renamed caca_set_delay() and caca_get_rendertime() into
caca_set_display_time() and caca_get_display_time() for consistency.
пре 18 година
Sam Hocevar
be99912681
* Minor cosmetic fix in a comment.
пре 18 година
Sam Hocevar
d0dd70b64c
* Documentation improvements. Wrote a small migration guide and added the
skeleton of a tutorial for Jylam.
пре 18 година
Sam Hocevar
421d168382
* Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main
documentation page from caca.h to a separate file.
пре 18 година