Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Overview of the API
No change in size
,
11:42, 31 May 2011
→Events
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)
Adriweb
Bureaucrats
,
Administrators
935
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version