Changes

Jump to navigation Jump to search

platform.isColorDisplay

12 bytes removed, 23:18, 3 September 2011
no edit summary
Line 1: Line 1: −
platform.'''isDeviceModeRendering''' is a function that is part of [[:Category:platform|platform]].
+
platform.'''isColorDisplay''' is a function that is part of [[:Category:platform|platform]].
       
Returns a boolean :  
 
Returns a boolean :  
* ''true'' if the script is running on the hand-held device or in the emulator of the desktop software.
+
* ''true'' if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer Software)
* ''false'' if the script is running in the normal view of the desktop software.
+
* ''false'' false if the display is gray scale (Nspire non-CAS, Nspire CAS)
 
+
     
    
{{Since|3.0}}
 
{{Since|3.0}}
    
== Syntax  ==
 
== Syntax  ==
platform.'''isDeviceModeRendering'''()  
+
platform.'''isColorDisplay'''()  
    
== Example  ==
 
== Example  ==
<syntaxhighlight>device = platform.isDeviceModeRendering()</syntaxhighlight>
+
<syntaxhighlight>hasColor = platform.isColorDisplay()</syntaxhighlight>
    
== See also  ==
 
== See also  ==

Navigation menu