- Timestamp:
- Nov 4, 2008, 1:41:56 AM (14 years ago)
- Location:
- libcaca/trunk/caca-php/examples/www
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/www/colors.php
r3232 r3261 53 53 caca_set_color_ansi($cv, CACA_LIGHTGRAY, CACA_BLACK); 54 54 caca_put_str($cv, 3, 20, "This is bold This is blink This is italics This is underline"); 55 caca_set_attr($cv, CACA_BOLD , CACA_DEFAULT);55 caca_set_attr($cv, CACA_BOLD); 56 56 caca_put_str($cv, 3 + 8, 20, "bold"); 57 caca_set_attr($cv, CACA_BLINK , CACA_DEFAULT);57 caca_set_attr($cv, CACA_BLINK); 58 58 caca_put_str($cv, 3 + 24, 20, "blink"); 59 caca_set_attr($cv, CACA_ITALICS , CACA_DEFAULT);59 caca_set_attr($cv, CACA_ITALICS); 60 60 caca_put_str($cv, 3 + 41, 20, "italics"); 61 caca_set_attr($cv, CACA_UNDERLINE , CACA_DEFAULT);61 caca_set_attr($cv, CACA_UNDERLINE); 62 62 caca_put_str($cv, 3 + 60, 20, "underline"); 63 63 -
libcaca/trunk/caca-php/examples/www/export.php
r3254 r3261 158 158 caca_put_str($cv, WIDTH / 2 - 5, HEIGHT / 2 + 4, "(\") \\o/ <&>"); 159 159 160 caca_set_attr($cv, CACA_BOLD , CACA_DEFAULT);160 caca_set_attr($cv, CACA_BOLD); 161 161 caca_put_str($cv, WIDTH / 2 - 16, HEIGHT / 2 + 3, "Bold"); 162 caca_set_attr($cv, CACA_BLINK , CACA_DEFAULT);162 caca_set_attr($cv, CACA_BLINK); 163 163 caca_put_str($cv, WIDTH / 2 - 9, HEIGHT / 2 + 3, "Blink"); 164 caca_set_attr($cv, CACA_ITALICS , CACA_DEFAULT);164 caca_set_attr($cv, CACA_ITALICS); 165 165 caca_put_str($cv, WIDTH / 2 - 1, HEIGHT / 2 + 3, "Italics"); 166 caca_set_attr($cv, CACA_UNDERLINE , CACA_DEFAULT);166 caca_set_attr($cv, CACA_UNDERLINE); 167 167 caca_put_str($cv, WIDTH / 2 + 8, HEIGHT / 2 + 3, "Underline"); 168 caca_set_attr($cv, 0 , CACA_DEFAULT);168 caca_set_attr($cv, 0); 169 169 170 170 caca_set_color_ansi($cv, CACA_WHITE, CACA_LIGHTBLUE);
Note: See TracChangeset
for help on using the changeset viewer.