Changes

Jump to navigation Jump to search

Changes in OS 3.4

1 byte removed, 00:18, 16 July 2013
m
no edit summary
Line 8: Line 8:     
* a new "library" (table), [[touch]] :
 
* a new "library" (table), [[touch]] :
It is visible on all platforms but may ignore calls to its functions if the platform running the script does not support touch. The touch library others a low level interface enabling script authors to develop scripts running on all platforms equally. But it also places the effort on the script writer to design and test the script for all different platforms if platform compatibility is desired.
+
It is visible on all platforms but may ignore calls to its functions if the platform running the script does not support touch. The touch library offers a low level interface enabling script authors to develop scripts running on all platforms equally. But it also places the effort on the script writer to design and test the script for all different platforms if platform compatibility is desired.
    
The [[touch]] table contains :
 
The [[touch]] table contains :
Line 22: Line 22:  
* new functions in the [[platform]] object :  
 
* new functions in the [[platform]] object :  
 
: [[platform.isTabletModeRendering]] -- self explanatory : returns true if the script is running on a tablet device, false otherwise.
 
: [[platform.isTabletModeRendering]] -- self explanatory : returns true if the script is running on a tablet device, false otherwise.
: [[platform.winsow:getScrollHeight]]() and [[platform.winsow:setScrollHeight]]() which respectively return and set the height of the available window size when the tablet's on-screen keyboard is shown.
+
: [[platform.window:getScrollHeight]]() and [[platform.window:setScrollHeight]]() which respectively return and set the height of the available window size when the tablet's on-screen keyboard is shown.
      −
* a new event handler :  
+
* new event handlers :  
 
: [[on.keyboardUp]]() which fires when the tablet's on-screen keyboard gets shown.
 
: [[on.keyboardUp]]() which fires when the tablet's on-screen keyboard gets shown.
 
: [[on.keyboardDown]]() which fires when the tablet's on-screen keyboard gets hidden.
 
: [[on.keyboardDown]]() which fires when the tablet's on-screen keyboard gets hidden.

Navigation menu