Difference between revisions of "on.paint"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 1: Line 1:
the function '''on.paint'''(''[[:Category:gc|gc]]'') is called when the GUI is painted. ''[[:Category:gc|'gc']]'' is the Graphics Context
+
The function '''on.paint'''(''[[:Category:gc|gc]]'') is called when the script's window needs to be painted. ''[[:Category:gc|'gc']]'' is the Graphics Context, passed by default to the function.
  
  
 
[[Category:Events]]
 
[[Category:Events]]

Revision as of 20:18, 22 May 2011

The function on.paint(gc) is called when the script's window needs to be painted. 'gc' is the Graphics Context, passed by default to the function.