Changes

Jump to navigation Jump to search

Overview of the API

No change in size, 12:42, 31 May 2011
Line 178: Line 178:  
*'''[[on.resize]]'''() is called when the window is rezised  
 
*'''[[on.resize]]'''() is called when the window is rezised  
 
*'''[[on.timer]]'''() is called when the timer has been finished. Here an example of using timer to play an animation :
 
*'''[[on.timer]]'''() is called when the timer has been finished. Here an example of using timer to play an animation :
<source lang="1ua"> x = 1
+
<source lang="lua"> x = 1
 
  animating = false
 
  animating = false
 
  function on.paint(gc)
 
  function on.paint(gc)

Navigation menu