Changeset 3260 for libcaca/trunk/caca-php/examples/colors.php
- Timestamp:
- Nov 4, 2008, 1:39:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/colors.php
r3229 r3260 46 46 caca_set_color_ansi($cv, CACA_LIGHTGRAY, CACA_BLACK); 47 47 caca_put_str($cv, 3, 20, "This is bold This is blink This is italics This is underline"); 48 caca_set_attr($cv, CACA_BOLD , CACA_DEFAULT);48 caca_set_attr($cv, CACA_BOLD); 49 49 caca_put_str($cv, 3 + 8, 20, "bold"); 50 caca_set_attr($cv, CACA_BLINK , CACA_DEFAULT);50 caca_set_attr($cv, CACA_BLINK); 51 51 caca_put_str($cv, 3 + 24, 20, "blink"); 52 caca_set_attr($cv, CACA_ITALICS , CACA_DEFAULT);52 caca_set_attr($cv, CACA_ITALICS); 53 53 caca_put_str($cv, 3 + 41, 20, "italics"); 54 caca_set_attr($cv, CACA_UNDERLINE , CACA_DEFAULT);54 caca_set_attr($cv, CACA_UNDERLINE); 55 55 caca_put_str($cv, 3 + 60, 20, "underline"); 56 56
Note: See TracChangeset
for help on using the changeset viewer.