Ignore:
Timestamp:
Sep 17, 2006, 3:36:13 PM (16 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Updated .Net bindings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/DotNet/test.cs

    r943 r1051  
    4646        /* We have a proper canvas, let's display it using Caca */
    4747        Caca kk = new Caca(qq);
    48         kk.setDelay(2000000); // Refresh every 2 seconds
     48        kk.setDisplayTime(2000000); // Refresh every 2 seconds
    4949
    5050        kk.setDisplayTitle("libcaca .NET Bindings test suite");
    5151
    5252        Event e = new Event();
    53         int startTime = kk.getRendertime();
     53        int startTime = kk.getDisplayTime();
    5454        while(kk.getEvent(Event.type.KEY_RELEASE, e, 10) == 0)
    5555          {
    5656          kk.Refresh();
    57           Console.WriteLine("Render time : {0}", kk.getRendertime()-startTime);
     57          Console.WriteLine("Render time : {0}", kk.getDisplayTime()-startTime);
    5858          }
    5959
Note: See TracChangeset for help on using the changeset viewer.