Changes

Jump to navigation Jump to search

Changes in OS 3.4

No change in size, 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.
     

Navigation menu