Difference between revisions of "Category:platform"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "== Quick Overview == *gc *isColorDisplay *isDeviceModeRendering *window")
 
Line 1: Line 1:
 
== Quick Overview ==
 
== Quick Overview ==
  
*[[platform.gc|gc]]
+
*[[platform.gc|gc]] : Returns a dummy graphics context used in specific conditions.
*[[isColorDisplay]]
+
*[[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).     
*[[isDeviceModeRendering]]
+
*[[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.
*[[:Category:platform.window|window]]
+
*[[:Category:platform.window|window]] : Returns the window object currently owned by the script application.

Revision as of 23:24, 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 gray scale (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.
  • window : Returns the window object currently owned by the script application.

Subcategories

This category has only the following subcategory.