Difference between revisions of "Changes in OS 3.9"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "In version 3.9 of the Nspire platform, Lua Scripting changes can be found on the API side and in the general behaviour of the script.<br /> ''This page will be updated as changes...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
== Behaviour-related ==
 
== Behaviour-related ==
The window and the Nspire-specific APIs are now available for use when the user code is initialized.  
+
The window and the Nspire-specific APIs are now available for use when the user code is loaded.
  
 
== API-related ==
 
== API-related ==
Line 11: Line 11:
 
=== Changes ===
 
=== Changes ===
 
* [[platform.apilevel|apilevel]] '2.4' is now available
 
* [[platform.apilevel|apilevel]] '2.4' is now available
 +
* [[on.paint]] is passed more arguments with apilevel '2.4' : the coordinates and dimensions of the window. You can use on.paint(gc, x, y, w, h).

Latest revision as of 20:33, 30 May 2014

In version 3.9 of the Nspire platform, Lua Scripting changes can be found on the API side and in the general behaviour of the script.
This page will be updated as changes are found

Behaviour-related

The window and the Nspire-specific APIs are now available for use when the user code is loaded.

API-related

Additions

Changes

  • apilevel '2.4' is now available
  • on.paint is passed more arguments with apilevel '2.4' : the coordinates and dimensions of the window. You can use on.paint(gc, x, y, w, h).