Changeset 2821 for libcaca/trunk/examples/hsv.c
- Timestamp:
- 09/27/08 15:12:46 (5 years ago)
- File:
-
- 1 edited
-
libcaca/trunk/examples/hsv.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/examples/hsv.c
r2299 r2821 19 19 #endif 20 20 21 #include "cucul.h"22 21 #include "caca.h" 23 22 … … 27 26 { 28 27 caca_display_t *dp; 29 c ucul_canvas_t *cv;28 caca_canvas_t *cv; 30 29 31 c ucul_dither_t *dither;30 caca_dither_t *dither; 32 31 int x, y; 33 32 … … 47 46 } 48 47 49 dither = c ucul_create_dither(32, 256, 256, 4 * 256,48 dither = caca_create_dither(32, 256, 256, 4 * 256, 50 49 0x00ff0000, 0x0000ff00, 0x000000ff, 0x0); 51 c ucul_dither_bitmap(caca_get_canvas(dp), 0, 0, cucul_get_canvas_width(cv),52 c ucul_get_canvas_height(cv), dither, buffer);53 c ucul_free_dither(dither);50 caca_dither_bitmap(caca_get_canvas(dp), 0, 0, caca_get_canvas_width(cv), 51 caca_get_canvas_height(cv), dither, buffer); 52 caca_free_dither(dither); 54 53 55 54 caca_refresh_display(dp);
Note: See TracChangeset
for help on using the changeset viewer.
