doc/MG/Button.html in motion-game-1.1.5 vs doc/MG/Button.html in motion-game-1.1.6
- old
+ new
@@ -1,80 +1,78 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: MG::Button
- — Documentation by YARD 0.8.7.6
+ — Documentation by YARD 0.9.5
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
- hasFrames = window.top.frames.main ? true : false;
+ pathId = "MG::Button";
relpath = '../';
- framesUrl = "../frames.html#!MG/Button.html";
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
- <div id="header">
- <div id="menu">
+ <div class="nav_wrap">
+ <iframe id="nav" src="../class_list.html"></iframe>
+ <div id="resizer"></div>
+ </div>
+
+ <div id="main" tabindex="-1">
+ <div id="header">
+ <div id="menu">
<a href="../_index.html">Index (B)</a> »
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
»
<span class="title">Button</span>
-
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
- <div id="search">
+ <div id="search">
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
- Class List
+
+ <svg width="24" height="24">
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
+ </svg>
</a>
- <a class="full_list_link" id="method_list_link"
- href="../method_list.html">
- Method List
- </a>
-
- <a class="full_list_link" id="file_list_link"
- href="../file_list.html">
- File List
- </a>
-
</div>
- <div class="clear"></div>
- </div>
+ <div class="clear"></div>
+ </div>
- <iframe id="search_frame"></iframe>
+ <iframe id="search_frame" src="../class_list.html"></iframe>
- <div id="content"><h1>Class: MG::Button
+ <div id="content"><h1>Class: MG::Button
</h1>
-
-<dl class="box">
+<div class="box_info">
- <dt class="r1">Inherits:</dt>
- <dd class="r1">
+ <dl>
+ <dt>Inherits:</dt>
+ <dd>
<span class="inheritName"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
<ul class="fullTree">
<li>Object</li>
@@ -85,26 +83,30 @@
<li class="next">MG::Button</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
- </dd>
-
+ </dd>
+ </dl>
+
-
-
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">motion-game</dd>
+
-</dl>
-<div class="clear"></div>
+
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>motion-game</dd>
+ </dl>
+
+</div>
+
<h2>Overview</h2><div class="docstring">
<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>
@@ -121,17 +123,17 @@
</div>
- <h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
+ <h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#font-instance_method" title="#font (instance method)">- (String) <strong>font</strong> </a>
+ <a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> ⇒ String </a>
</span>
@@ -154,11 +156,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#font_size-instance_method" title="#font_size (instance method)">- (Integer) <strong>font_size</strong> </a>
+ <a href="#font_size-instance_method" title="#font_size (instance method)">#<strong>font_size</strong> ⇒ Integer </a>
</span>
@@ -181,11 +183,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#text-instance_method" title="#text (instance method)">- (String) <strong>text</strong> </a>
+ <a href="#text-instance_method" title="#text (instance method)">#<strong>text</strong> ⇒ String </a>
</span>
@@ -208,11 +210,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#text_color-instance_method" title="#text_color (instance method)">- (Color) <strong>text_color</strong> </a>
+ <a href="#text_color-instance_method" title="#text_color (instance method)">#<strong>text_color</strong> ⇒ Color </a>
</span>
@@ -235,11 +237,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#zoom_scale-instance_method" title="#zoom_scale (instance method)">- (Float) <strong>zoom_scale</strong> </a>
+ <a href="#zoom_scale-instance_method" title="#zoom_scale (instance method)">#<strong>zoom_scale</strong> ⇒ Float </a>
</span>
@@ -277,19 +279,19 @@
<h2>
Constructors
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ <small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Button) <strong>initialize</strong>(title = '') </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(title = '') ⇒ Button </a>
</span>
@@ -332,18 +334,18 @@
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span></p>
+ <p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span>, <span class='object_link'><a href="Node.html#run_action-instance_method" title="MG::Node#run_action (method)">#run_action</a></span>, <span class='object_link'><a href="Node.html#stop_action-instance_method" title="MG::Node#stop_action (method)">#stop_action</a></span>, <span class='object_link'><a href="Node.html#stop_all_actions-instance_method" title="MG::Node#stop_all_actions (method)">#stop_all_actions</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- - (<tt><span class='object_link'><a href="" title="MG::Button (class)">Button</a></span></tt>) <strong>initialize</strong>(title = '')
+ #<strong>initialize</strong>(title = '') ⇒ <tt><span class='object_link'><a href="" title="MG::Button (class)">Button</a></span></tt>
@@ -384,14 +386,14 @@
<tr>
<td>
<pre class="lines">
-823</pre>
+1202</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 823</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1202</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'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -405,11 +407,11 @@
<span id="font=-instance_method"></span>
<div class="method_details first">
<h3 class="signature first" id="font-instance_method">
- - (<tt>String</tt>) <strong>font</strong>
+ #<strong>font</strong> ⇒ <tt>String</tt>
@@ -446,16 +448,16 @@
<tr>
<td>
<pre class="lines">
-835
-836
-837</pre>
+1214
+1215
+1216</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 835</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1214</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>
@@ -466,11 +468,11 @@
<span id="font_size=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="font_size-instance_method">
- - (<tt>Integer</tt>) <strong>font_size</strong>
+ #<strong>font_size</strong> ⇒ <tt>Integer</tt>
@@ -507,16 +509,16 @@
<tr>
<td>
<pre class="lines">
-838
-839
-840</pre>
+1217
+1218
+1219</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 838</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1217</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>
@@ -527,11 +529,11 @@
<span id="text=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="text-instance_method">
- - (<tt>String</tt>) <strong>text</strong>
+ #<strong>text</strong> ⇒ <tt>String</tt>
@@ -568,16 +570,16 @@
<tr>
<td>
<pre class="lines">
-829
-830
-831</pre>
+1208
+1209
+1210</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 829</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1208</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>
@@ -588,11 +590,11 @@
<span id="text_color=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="text_color-instance_method">
- - (<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>) <strong>text_color</strong>
+ #<strong>text_color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
@@ -629,16 +631,16 @@
<tr>
<td>
<pre class="lines">
-832
-833
-834</pre>
+1211
+1212
+1213</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 832</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1211</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>
@@ -649,11 +651,11 @@
<span id="zoom_scale=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="zoom_scale-instance_method">
- - (<tt>Float</tt>) <strong>zoom_scale</strong>
+ #<strong>zoom_scale</strong> ⇒ <tt>Float</tt>
@@ -690,16 +692,16 @@
<tr>
<td>
<pre class="lines">
-842
-843
-844</pre>
+1221
+1222
+1223</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'motion-game', line 842</span>
+ <pre class="code"><span class="info file"># File 'motion-game', line 1221</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>
@@ -710,13 +712,14 @@
</div>
</div>
- <div id="footer">
- Generated on Wed Aug 31 17:59:08 2016 by
+ <div id="footer">
+ Generated on Sun Nov 27 15:52:19 2016 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.7.6 (ruby-2.3.1).
+ 0.9.5 (ruby-2.3.3).
</div>
+ </div>
</body>
</html>
\ No newline at end of file