Ignore:
Timestamp:
Oct 26, 2008, 3:14:58 PM (12 years ago)
Author:
nico
Message:
  • Centralize caca's error managment (in macro RETURN_SUCCESS)
  • Add binding for 2 new functions
  • Fix a bug in examples/example1.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/example1.php

    r3106 r3110  
    4343$ix = $iy = 1;
    4444
    45 while (caca_get_event($display, CACA_EVENT_KEY_PRESS)) {
     45while (!caca_get_event($display, CACA_EVENT_KEY_PRESS)) {
    4646        // In case of resize ...
    4747        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.