diff options
Diffstat (limited to 'docs/Classes/SDLDisplayType.html')
-rw-r--r-- | docs/Classes/SDLDisplayType.html | 246 |
1 files changed, 246 insertions, 0 deletions
diff --git a/docs/Classes/SDLDisplayType.html b/docs/Classes/SDLDisplayType.html new file mode 100644 index 000000000..4628a13fe --- /dev/null +++ b/docs/Classes/SDLDisplayType.html @@ -0,0 +1,246 @@ +<h1>SDLDisplayType Class Reference</h1> + +<h3>Section Contents</h3> + +<ul> + <li><a href="#section-+valueOf:">+valueOf:</a></li> + <li><a href="#section-+values">+values</a></li> + <li><a href="#section-+CID">+CID</a></li> + <li><a href="#section-+TYPE2">+TYPE2</a></li> + <li><a href="#section-+TYPE5">+TYPE5</a></li> + <li><a href="#section-+NGN">+NGN</a></li> + <li><a href="#section-+GEN2_8_DMA">+GEN2_8_DMA</a></li> + <li><a href="#section-+GEN2_6_DMA">+GEN2_6_DMA</a></li> + <li><a href="#section-+MFD3">+MFD3</a></li> + <li><a href="#section-+MFD4">+MFD4</a></li> + <li><a href="#section-+MFD5">+MFD5</a></li> + <li><a href="#section-+GEN3_8_INCH">+GEN3_8_INCH</a></li> +</ul> + +<h3>Overview</h3> + +<p>Identifies the various display types used by SDL.</p> + +<p>@since SDL 1.0</p> + + +<section class="section task-group-section"> + <h3> + +valueOf: + </h3> + + <p>Convert String to SDLDisplayType</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">+</span> <span class="p">(</span><span class="n">SDLDisplayType</span> <span class="o">*</span><span class="p">)</span><span class="nf">valueOf</span><span class="p">:(</span><span class="n">NSString</span> <span class="o">*</span><span class="p">)</span><span class="nv">value</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="kd">class</span> <span class="kd">func</span> <span class="nf">valueOf</span><span class="p">(</span><span class="nv">value</span><span class="p">:</span> <span class="kt">String</span><span class="o">!</span><span class="p">)</span> <span class="o">-></span> <span class="kt">SDLDisplayType</span><span class="o">!</span></code></pre> + + + + <h4>Parameters</h4> + <dl> + <dt>value</dt> + <dd><p>The value of the string to get an object for</p> +</dd> + </dl> + <div> + <h4>Return Value</h4> + <p>SDLDisplayType</p> + + </div> + + <h3> + +values + </h3> + + <p>@abstract Store the enumeration of all possible SDLDisplayType</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">+</span> <span class="p">(</span><span class="n">NSArray</span> <span class="o">*</span><span class="p">)</span><span class="n">values</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="kd">class</span> <span class="kd">func</span> <span class="nf">values</span><span class="p">()</span> <span class="o">-></span> <span class="p">[</span><span class="kt">AnyObject</span><span class="p">]</span><span class="o">!</span></code></pre> + + + + <div> + <h4>Return Value</h4> + <p>an array that store all possible SDLDisplayType</p> + + </div> + + <h3> + +CID + </h3> + + <p>@abstract This display type provides a 2-line x 20 character <q>dot matrix</q> display.</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">+</span> <span class="p">(</span><span class="n">SDLDisplayType</span> <span class="o">*</span><span class="p">)</span><span class="n">CID</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="kd">class</span> <span class="kd">func</span> <span class="kt">CID</span><span class="p">()</span> <span class="o">-></span> <span class="kt">SDLDisplayType</span><span class="o">!</span></code></pre> + + + + <div> + <h4>Return Value</h4> + <p>SDLDisplayType with value of <em>CID</em></p> + + </div> + + <h3> + +TYPE2 + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +TYPE5 + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +NGN + </h3> + + <p>@abstract This display type provides an 8 inch touchscreen display.</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">+</span> <span class="p">(</span><span class="n">SDLDisplayType</span> <span class="o">*</span><span class="p">)</span><span class="n">NGN</span><span class="p">;</span></code></pre> + + + <h4>Swift</h4> + <pre class="highlight"><code><span class="kd">class</span> <span class="kd">func</span> <span class="kt">NGN</span><span class="p">()</span> <span class="o">-></span> <span class="kt">SDLDisplayType</span><span class="o">!</span></code></pre> + + + + <div> + <h4>Return Value</h4> + <p>SDLDisplayType with value of <em>NGN</em></p> + + </div> + + <h3> + +GEN2_8_DMA + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +GEN2_6_DMA + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +MFD3 + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +MFD4 + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +MFD5 + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + + <h3> + +GEN3_8_INCH + </h3> + + <p>Undocumented</p> + + + + <h4>Objective-C</h4> + <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLDisplayType</span> <span class="p">:</span> <span class="nc">SDLEnum</span></code></pre> + + + + + +</section> |