Changeset 3110 for libcaca/trunk/caca-php/examples/example1.php
- Timestamp:
- Oct 26, 2008, 3:14:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/example1.php
r3106 r3110 43 43 $ix = $iy = 1; 44 44 45 while ( caca_get_event($display, CACA_EVENT_KEY_PRESS)) {45 while (!caca_get_event($display, CACA_EVENT_KEY_PRESS)) { 46 46 // In case of resize ... 47 47 if ($x + caca_get_canvas_width($pig) - 1 >= caca_get_canvas_width($canvas) || $x < 0 )
Note: See TracChangeset
for help on using the changeset viewer.