Category:platform

From Inspired-Lua Wiki
Revision as of 11:05, 13 September 2017 by Adriweb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Quick Overview

  • platform.gc : Returns a dummy graphics context used in specific conditions. Doesn't exist anymore in 3.2+ (see withGC below)
  • platform.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).
  • platform.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.
  • platform.isTabletModeRendering() : Returns true if the script is running on a tablet device (iPad app) and false otherwise.




Subcategories

This category has only the following subcategory.