doc/MG/Button.html in motion-game-1.1 vs doc/MG/Button.html in motion-game-1.1.1

- old
+ new

@@ -107,13 +107,13 @@ <div class="discussion"> <p>A button widget. The <span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">Widget#on_touch</a></span> method can be used to set a callback when the button is activated. Example:</p> -<pre class="ruby"><span class="ruby-identifier">button</span> = <span class="ruby-constant">Button</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&quot;Touch me!&quot;</span>) -<span class="ruby-identifier">button</span>.<span class="ruby-identifier">on_touch</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span><span class="ruby-operator">|</span> <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;touched!&quot;</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> :<span class="ruby-keyword">end</span> } -</pre> +<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button'>button</span> <span class='op'>=</span> <span class='const'>Button</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Touch me!</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> +<span class='id identifier rubyid_button'>button</span><span class='period'>.</span><span class='id identifier rubyid_on_touch'>on_touch</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_type'>type</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>touched!</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:end</span> <span class='rbrace'>}</span> +</code></pre> </div> </div> <div class="tags"> @@ -384,14 +384,14 @@ <tr> <td> <pre class="lines"> -744</pre> +770</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 744</span> + <pre class="code"><span class="info file"># File 'motion-game', line 770</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_title'>title</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre> </td> </tr> </table> @@ -446,16 +446,16 @@ <tr> <td> <pre class="lines"> -756 -757 -758</pre> +782 +783 +784</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 756</span> + <pre class="code"><span class="info file"># File 'motion-game', line 782</span> <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span> <span class='ivar'>@font</span> <span class='kw'>end</span></pre> </td> @@ -507,16 +507,16 @@ <tr> <td> <pre class="lines"> -759 -760 -761</pre> +785 +786 +787</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 759</span> + <pre class="code"><span class="info file"># File 'motion-game', line 785</span> <span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span> <span class='ivar'>@font_size</span> <span class='kw'>end</span></pre> </td> @@ -568,16 +568,16 @@ <tr> <td> <pre class="lines"> -750 -751 -752</pre> +776 +777 +778</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 750</span> + <pre class="code"><span class="info file"># File 'motion-game', line 776</span> <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span> <span class='ivar'>@text</span> <span class='kw'>end</span></pre> </td> @@ -629,16 +629,16 @@ <tr> <td> <pre class="lines"> -753 -754 -755</pre> +779 +780 +781</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 753</span> + <pre class="code"><span class="info file"># File 'motion-game', line 779</span> <span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span> <span class='ivar'>@text_color</span> <span class='kw'>end</span></pre> </td> @@ -690,16 +690,16 @@ <tr> <td> <pre class="lines"> -763 -764 -765</pre> +789 +790 +791</pre> </td> <td> - <pre class="code"><span class="info file"># File 'motion-game', line 763</span> + <pre class="code"><span class="info file"># File 'motion-game', line 789</span> <span class='kw'>def</span> <span class='id identifier rubyid_zoom_scale'>zoom_scale</span> <span class='ivar'>@zoom_scale</span> <span class='kw'>end</span></pre> </td> @@ -711,12 +711,12 @@ </div> <div id="footer"> - Generated on Mon Sep 7 14:28:55 2015 by + Generated on Sun Feb 28 09:23:31 2016 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.7.6 (ruby-2.0.0). + 0.8.7.6 (ruby-2.2.3). </div> </body> </html> \ No newline at end of file