Sam Hocevar
|
231c33acce
|
Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs().
Fixes #41.
|
15 anos atrás |
Sam Hocevar
|
827c233769
|
Deduce X11 font size from a relevant sample to avoid oversized font
cells. Fixes bug #21 (X11 Unicode support).
|
15 anos atrás |
Sam Hocevar
|
6d943c6f02
|
Call setlocale() in the X11 driver to activate the current locale. If it
is an UTF-8 locale, more glyphs are displayed.
|
15 anos atrás |
Sam Hocevar
|
84fb312769
|
Use XwcDrawString in the X11 driver if font sets are available.
|
15 anos atrás |
Sam Hocevar
|
095f62878b
|
Allow the X11 driver to display Unicode characters if they are in the
current font (addresses #21).
|
15 anos atrás |
Sam Hocevar
|
d5ecfdeb2f
|
Fix the old "value computed is unused" warning triggered by ncurses.
|
15 anos atrás |
Sam Hocevar
|
4bbf44af21
|
Don't enter glutCheckLoop() from gl_get_event() if there is already an
event available. This increases the framerate when using OpenGL.
|
15 anos atrás |
Sam Hocevar
|
9b6424b385
|
Pass Ctrl-C as a keypress to the calling application in the SLang driver.
Original patch courtesy of Romain Bignon.
|
15 anos atrás |
Pascal Terjan
|
ad76a4e717
|
* Fix Delete key with X11 driver
|
15 anos atrás |
Jean-Yves Lamoureux
|
0a8b2d04d5
|
* Remove trailing spaces (bouh!)
|
15 anos atrás |
Jean-Yves Lamoureux
|
895d027a76
|
* Don't unblock signals in init of SLang
|
15 anos atrás |
Jean-Yves Lamoureux
|
4ea7d027a7
|
* Disable SLang's own SIGINT handler
|
15 anos atrás |
Pascal Terjan
|
32a2af5501
|
* Fix non ASCII input in x11 driver
|
15 anos atrás |
Sam Hocevar
|
7ebd74e3ee
|
Fix an unlikely crash that may happen when the X server cannot open
the "fixed" font.
|
15 anos atrás |
Sam Hocevar
|
1277691809
|
Fix a typo in the VGA driver.
|
15 anos atrás |
Sam Hocevar
|
c4bf6b79a8
|
Include <stdio.h> in the null driver to get NULL.
|
15 anos atrás |
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 anos atrás |
Sam Hocevar
|
644ee4a78a
|
Coding style: remove tabs and trailing spaces.
|
15 anos atrás |
Sam Hocevar
|
4f7081153e
|
Do not add a dirty rectangle at the cursor's position. It's up to the
display driver to clean up its shit. Fixed X11 driver accordingly.
|
15 anos atrás |
Sam Hocevar
|
ed360faabe
|
Add a comment to the ncurses driver to remember fix the GCC warning.
|
15 anos atrás |
Sam Hocevar
|
6b22ab776c
|
Add a null driver that does absolutely nothing.
|
15 anos atrás |
Sam Hocevar
|
1d60711ac4
|
Mark the whole canvas as dirty when a dirty rectangle aware driver is
attached to it.
|
15 anos atrás |
Pascal Terjan
|
de5be87d0e
|
Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there
|
15 anos atrás |
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 anos atrás |
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 anos atrás |
Sam Hocevar
|
0c7fd89e3a
|
Add dirty rectangle support to the ncurses and VGA drivers.
|
15 anos atrás |
Sam Hocevar
|
222e165d21
|
Fix dirty rectangle handling in the X11 and SLang drivers.
|
15 anos atrás |
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 anos atrás |
Pascal Terjan
|
ee3018643d
|
Only redraw empty rectangles in slang driver
|
15 anos atrás |
Pascal Terjan
|
27fffbb33c
|
Fix empty dirty rectangles detection
|
15 anos atrás |
Pascal Terjan
|
44f5d172f0
|
* Only redraw dirty rectangle in x11 driver
|
15 anos atrás |
Sam Hocevar
|
7b25d39e63
|
Apparently \033 is more common than \x1b for ESC. Use the former in our
code for clarity.
|
15 anos atrás |
Ben Wiley Sittler
|
20d502297d
|
now truecolor works
|
16 anos atrás |
Ben Wiley Sittler
|
e0042e87b9
|
now arrow keys, function keys, etc. work
|
16 anos atrás |
Jean-Yves Lamoureux
|
da3549dec7
|
* Made Cocoa driver BEAUTIFUL ('fixed' default font size to constant values to make the look a bit more natural)
|
16 anos atrás |
Sam Hocevar
|
e1562a8d46
|
libcaca: move codecs and import/export functions into subdirectories.
|
16 anos atrás |