Difference between revisions of "Category:platform"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
*[[platform.gc|gc]] : Returns a dummy graphics context used in specific conditions.
 
*[[platform.gc|gc]] : Returns a dummy graphics context used in specific conditions.
*[[isColorDisplay]] : Returns true if the display of the host platform is color-capable (Nspire CX and emulator). Returns false if the display is gray scale (Nspire non-CX).       
+
*[[isColorDisplay]] : Returns true if the display of the host platform is color-capable (Nspire CX and emulator). Returns false if the display is grayscale (Nspire non-CX).       
*[[isDeviceModeRendering]] : Returns true if the script is running on the hand-held device or in the emulator of the desktop software. Returns false if the script is running in the normal view of the desktop software.
+
*[[isDeviceModeRendering]] : Returns true if the script is running on the hand-held device or in the emulator (with the calculator view), and false if the script is running in the normal view of the emulator.
 
*[[:Category:platform.window|window]] : Returns the window object currently owned by the script application.
 
*[[:Category:platform.window|window]] : Returns the window object currently owned by the script application.

Revision as of 23:25, 24 May 2011

Quick Overview

  • gc : Returns a dummy graphics context used in specific conditions.
  • isColorDisplay : Returns true if the display of the host platform is color-capable (Nspire CX and emulator). Returns false if the display is grayscale (Nspire non-CX).
  • isDeviceModeRendering : Returns true if the script is running on the hand-held device or in the emulator (with the calculator view), and false if the script is running in the normal view of the emulator.
  • window : Returns the window object currently owned by the script application.

Subcategories

This category has only the following subcategory.