motion-game 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/build/android/armeabi/libchipmunk.a +0 -0
- data/build/android/armeabi/libcrypto.a +0 -0
- data/build/android/armeabi/libcurl.a +0 -0
- data/build/android/armeabi/libfreetype.a +0 -0
- data/build/android/armeabi/libjpeg.a +0 -0
- data/build/android/armeabi/libmotion-cocos.a +0 -0
- data/build/android/armeabi/libpng.a +0 -0
- data/build/android/armeabi/libssl.a +0 -0
- data/build/android/armeabi/libtiff.a +0 -0
- data/build/android/armeabi/libwebp.a +0 -0
- data/build/android/armeabi/libwebsockets.a +0 -0
- data/build/android/motion-cocos.jar +0 -0
- data/build/android/x86/libchipmunk.a +0 -0
- data/build/android/x86/libcrypto.a +0 -0
- data/build/android/x86/libcurl.a +0 -0
- data/build/android/x86/libfreetype.a +0 -0
- data/build/android/x86/libjpeg.a +0 -0
- data/build/android/x86/libmotion-cocos.a +0 -0
- data/build/android/x86/libpng.a +0 -0
- data/build/android/x86/libssl.a +0 -0
- data/build/android/x86/libtiff.a +0 -0
- data/build/android/x86/libwebp.a +0 -0
- data/build/android/x86/libwebsockets.a +0 -0
- data/build/ios/libchipmunk.a +0 -0
- data/build/ios/libcurl.a +0 -0
- data/build/ios/libfreetype.a +0 -0
- data/build/ios/libjpeg.a +0 -0
- data/build/ios/libmotion-cocos.a +0 -0
- data/build/ios/libpng.a +0 -0
- data/build/ios/libtiff.a +0 -0
- data/build/ios/libwebp.a +0 -0
- data/build/ios/libwebsockets.a +0 -0
- data/doc/MG.html +129 -0
- data/doc/MG/Application.html +332 -0
- data/doc/MG/Audio.html +1049 -0
- data/doc/MG/Button.html +722 -0
- data/doc/MG/Color.html +528 -0
- data/doc/MG/Director.html +1140 -0
- data/doc/MG/Draw.html +437 -0
- data/doc/MG/Events.html +127 -0
- data/doc/MG/Events/Acceleration.html +502 -0
- data/doc/MG/Events/Touch.html +232 -0
- data/doc/MG/Layout.html +513 -0
- data/doc/MG/List.html +1050 -0
- data/doc/MG/Node.html +1752 -0
- data/doc/MG/Parallax.html +294 -0
- data/doc/MG/Particle.html +1221 -0
- data/doc/MG/Point.html +540 -0
- data/doc/MG/Scene.html +1250 -0
- data/doc/MG/Scroll.html +530 -0
- data/doc/MG/Size.html +737 -0
- data/doc/MG/Slider.html +335 -0
- data/doc/MG/Sprite.html +2066 -0
- data/doc/MG/Text.html +918 -0
- data/doc/MG/Web.html +828 -0
- data/doc/MG/Widget.html +460 -0
- data/doc/_index.html +362 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +114 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +114 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +933 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/motion-game.rb +1 -0
- data/lib/motion-game/android.rb +23 -0
- data/lib/motion-game/android/main_activity.rb +2 -0
- data/lib/motion-game/ios.rb +14 -0
- data/lib/motion-game/ios/app_delegate.rb +20 -0
- data/lib/motion-game/ios/root_view_controller.rb +14 -0
- data/lib/motion-game/project.rb +1 -0
- data/lib/motion-game/shortcuts.rb +177 -0
- data/template/motion-game/files/Gemfile +5 -0
- data/template/motion-game/files/Rakefile +12 -0
- data/template/motion-game/files/app/application.rb +5 -0
- data/template/motion-game/files/app/main_scene.rb +7 -0
- data/template/motion-game/files/config/android.rb.erb +6 -0
- data/template/motion-game/files/config/ios.rb.erb +6 -0
- metadata +130 -0
data/doc/MG/Scroll.html
ADDED
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: MG::Scroll
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '../';
|
|
20
|
+
framesUrl = "../frames.html#!MG/Scroll.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="../_index.html">Index (S)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Scroll</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="../class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="../method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="../file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: MG::Scroll
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
|
|
82
|
+
|
|
83
|
+
<li class="next"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></li>
|
|
84
|
+
|
|
85
|
+
<li class="next"><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></li>
|
|
86
|
+
|
|
87
|
+
<li class="next">MG::Scroll</li>
|
|
88
|
+
|
|
89
|
+
</ul>
|
|
90
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
91
|
+
|
|
92
|
+
</dd>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
<dt class="r2 last">Defined in:</dt>
|
|
103
|
+
<dd class="r2 last">motion-game</dd>
|
|
104
|
+
|
|
105
|
+
</dl>
|
|
106
|
+
<div class="clear"></div>
|
|
107
|
+
|
|
108
|
+
<div id="subclasses">
|
|
109
|
+
<h2>Direct Known Subclasses</h2>
|
|
110
|
+
<p class="children"><span class='object_link'><a href="List.html" title="MG::List (class)">List</a></span></p>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<h2>Properties <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
117
|
+
<ul class="summary">
|
|
118
|
+
|
|
119
|
+
<li class="public ">
|
|
120
|
+
<span class="summary_signature">
|
|
121
|
+
|
|
122
|
+
<a href="#direction-instance_method" title="#direction (instance method)">- (:none, ...) <strong>direction</strong> </a>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</span>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<span class="summary_desc"><div class='inline'>
|
|
140
|
+
<p>The direction of the scroll view.</p>
|
|
141
|
+
</div></span>
|
|
142
|
+
|
|
143
|
+
</li>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<li class="public ">
|
|
147
|
+
<span class="summary_signature">
|
|
148
|
+
|
|
149
|
+
<a href="#inner_container-instance_method" title="#inner_container (instance method)">- (Layout) <strong>inner_container</strong> </a>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
</span>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<span class="note title readonly">readonly</span>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
<span class="summary_desc"><div class='inline'>
|
|
169
|
+
<p>The inner container of the scroll view.</p>
|
|
170
|
+
</div></span>
|
|
171
|
+
|
|
172
|
+
</li>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
<li class="public ">
|
|
176
|
+
<span class="summary_signature">
|
|
177
|
+
|
|
178
|
+
<a href="#inner_size-instance_method" title="#inner_size (instance method)">- (Size) <strong>inner_size</strong> </a>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
</span>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<span class="summary_desc"><div class='inline'>
|
|
196
|
+
<p>The inner container size of the scroll view, which must be larger or equal
|
|
197
|
+
than the size of the scroll view itself.</p>
|
|
198
|
+
</div></span>
|
|
199
|
+
|
|
200
|
+
</li>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
</ul>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></h3>
|
|
210
|
+
<p class="inherited"><span class='object_link'><a href="Layout.html#background_color-instance_method" title="MG::Layout#background_color (method)">#background_color</a></span>, <span class='object_link'><a href="Layout.html#clipping%3F-instance_method" title="MG::Layout#clipping? (method)">#clipping?</a></span>, <span class='object_link'><a href="Layout.html#type-instance_method" title="MG::Layout#type (method)">#type</a></span></p>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
|
215
|
+
<p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span></p>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
|
220
|
+
<p class="inherited"><span class='object_link'><a href="Node.html#alpha-instance_method" title="MG::Node#alpha (method)">#alpha</a></span>, <span class='object_link'><a href="Node.html#anchor_point-instance_method" title="MG::Node#anchor_point (method)">#anchor_point</a></span>, <span class='object_link'><a href="Node.html#color-instance_method" title="MG::Node#color (method)">#color</a></span>, <span class='object_link'><a href="Node.html#name-instance_method" title="MG::Node#name (method)">#name</a></span>, <span class='object_link'><a href="Node.html#position-instance_method" title="MG::Node#position (method)">#position</a></span>, <span class='object_link'><a href="Node.html#rotation-instance_method" title="MG::Node#rotation (method)">#rotation</a></span>, <span class='object_link'><a href="Node.html#scale-instance_method" title="MG::Node#scale (method)">#scale</a></span>, <span class='object_link'><a href="Node.html#size-instance_method" title="MG::Node#size (method)">#size</a></span>, <span class='object_link'><a href="Node.html#visible%3F-instance_method" title="MG::Node#visible? (method)">#visible?</a></span>, <span class='object_link'><a href="Node.html#z_index-instance_method" title="MG::Node#z_index (method)">#z_index</a></span></p>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<h2>
|
|
225
|
+
Constructors
|
|
226
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
227
|
+
</h2>
|
|
228
|
+
|
|
229
|
+
<ul class="summary">
|
|
230
|
+
|
|
231
|
+
<li class="public ">
|
|
232
|
+
<span class="summary_signature">
|
|
233
|
+
|
|
234
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Scroll) <strong>initialize</strong> </a>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
</span>
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<span class="note title constructor">constructor</span>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<span class="summary_desc"><div class='inline'>
|
|
251
|
+
<p>Creates a new Scroll widget.</p>
|
|
252
|
+
</div></span>
|
|
253
|
+
|
|
254
|
+
</li>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
</ul>
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
|
276
|
+
<p class="inherited"><span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">#on_touch</a></span></p>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
|
287
|
+
<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>
|
|
288
|
+
<div id="constructor_details" class="method_details_list">
|
|
289
|
+
<h2>Constructor Details</h2>
|
|
290
|
+
|
|
291
|
+
<div class="method_details first">
|
|
292
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
293
|
+
|
|
294
|
+
- (<tt><span class='object_link'><a href="" title="MG::Scroll (class)">Scroll</a></span></tt>) <strong>initialize</strong>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
</h3><div class="docstring">
|
|
301
|
+
<div class="discussion">
|
|
302
|
+
|
|
303
|
+
<p>Creates a new Scroll widget.</p>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
<div class="tags">
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
</div><table class="source_code">
|
|
312
|
+
<tr>
|
|
313
|
+
<td>
|
|
314
|
+
<pre class="lines">
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
810</pre>
|
|
318
|
+
</td>
|
|
319
|
+
<td>
|
|
320
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 810</span>
|
|
321
|
+
|
|
322
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
|
323
|
+
</td>
|
|
324
|
+
</tr>
|
|
325
|
+
</table>
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<div id="instance_attr_details" class="attr_details">
|
|
331
|
+
<h2>Instance Attribute Details</h2>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
<span id="direction=-instance_method"></span>
|
|
335
|
+
<div class="method_details first">
|
|
336
|
+
<h3 class="signature first" id="direction-instance_method">
|
|
337
|
+
|
|
338
|
+
- (<tt>:none</tt>, ...) <strong>direction</strong>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
</h3><div class="docstring">
|
|
345
|
+
<div class="discussion">
|
|
346
|
+
|
|
347
|
+
<p>Returns the direction of the scroll view.</p>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
<div class="tags">
|
|
353
|
+
|
|
354
|
+
<p class="tag_title">Returns:</p>
|
|
355
|
+
<ul class="return">
|
|
356
|
+
|
|
357
|
+
<li>
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
<span class='type'>(<tt>:none</tt>, <tt>:vertical</tt>, <tt>:horizontal</tt>, <tt>:both</tt>)</span>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
—
|
|
365
|
+
<div class='inline'>
|
|
366
|
+
<p>the direction of the scroll view.</p>
|
|
367
|
+
</div>
|
|
368
|
+
|
|
369
|
+
</li>
|
|
370
|
+
|
|
371
|
+
</ul>
|
|
372
|
+
|
|
373
|
+
</div><table class="source_code">
|
|
374
|
+
<tr>
|
|
375
|
+
<td>
|
|
376
|
+
<pre class="lines">
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
817
|
|
380
|
+
818
|
|
381
|
+
819</pre>
|
|
382
|
+
</td>
|
|
383
|
+
<td>
|
|
384
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 817</span>
|
|
385
|
+
|
|
386
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_direction'>direction</span>
|
|
387
|
+
<span class='ivar'>@direction</span>
|
|
388
|
+
<span class='kw'>end</span></pre>
|
|
389
|
+
</td>
|
|
390
|
+
</tr>
|
|
391
|
+
</table>
|
|
392
|
+
</div>
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<span id=""></span>
|
|
396
|
+
<div class="method_details ">
|
|
397
|
+
<h3 class="signature " id="inner_container-instance_method">
|
|
398
|
+
|
|
399
|
+
- (<tt><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></tt>) <strong>inner_container</strong> <span class="extras">(readonly)</span>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
</h3><div class="docstring">
|
|
406
|
+
<div class="discussion">
|
|
407
|
+
|
|
408
|
+
<p>Returns the inner container of the scroll view.</p>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
</div>
|
|
412
|
+
</div>
|
|
413
|
+
<div class="tags">
|
|
414
|
+
|
|
415
|
+
<p class="tag_title">Returns:</p>
|
|
416
|
+
<ul class="return">
|
|
417
|
+
|
|
418
|
+
<li>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
<span class='type'>(<tt><span class='object_link'><a href="Layout.html" title="MG::Layout (class)">Layout</a></span></tt>)</span>
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
—
|
|
426
|
+
<div class='inline'>
|
|
427
|
+
<p>the inner container of the scroll view.</p>
|
|
428
|
+
</div>
|
|
429
|
+
|
|
430
|
+
</li>
|
|
431
|
+
|
|
432
|
+
</ul>
|
|
433
|
+
|
|
434
|
+
</div><table class="source_code">
|
|
435
|
+
<tr>
|
|
436
|
+
<td>
|
|
437
|
+
<pre class="lines">
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
824
|
|
441
|
+
825
|
|
442
|
+
826</pre>
|
|
443
|
+
</td>
|
|
444
|
+
<td>
|
|
445
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 824</span>
|
|
446
|
+
|
|
447
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inner_container'>inner_container</span>
|
|
448
|
+
<span class='ivar'>@inner_container</span>
|
|
449
|
+
<span class='kw'>end</span></pre>
|
|
450
|
+
</td>
|
|
451
|
+
</tr>
|
|
452
|
+
</table>
|
|
453
|
+
</div>
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
<span id="inner_size=-instance_method"></span>
|
|
457
|
+
<div class="method_details ">
|
|
458
|
+
<h3 class="signature " id="inner_size-instance_method">
|
|
459
|
+
|
|
460
|
+
- (<tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>) <strong>inner_size</strong>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
</h3><div class="docstring">
|
|
467
|
+
<div class="discussion">
|
|
468
|
+
|
|
469
|
+
<p>Returns the inner container size of the scroll view, which must be larger
|
|
470
|
+
or equal than the size of the scroll view itself.</p>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
<div class="tags">
|
|
476
|
+
|
|
477
|
+
<p class="tag_title">Returns:</p>
|
|
478
|
+
<ul class="return">
|
|
479
|
+
|
|
480
|
+
<li>
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
<span class='type'>(<tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>)</span>
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
—
|
|
488
|
+
<div class='inline'>
|
|
489
|
+
<p>the inner container size of the scroll view, which must be larger or equal
|
|
490
|
+
than the size of the scroll view itself.</p>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
</li>
|
|
494
|
+
|
|
495
|
+
</ul>
|
|
496
|
+
|
|
497
|
+
</div><table class="source_code">
|
|
498
|
+
<tr>
|
|
499
|
+
<td>
|
|
500
|
+
<pre class="lines">
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
821
|
|
504
|
+
822
|
|
505
|
+
823</pre>
|
|
506
|
+
</td>
|
|
507
|
+
<td>
|
|
508
|
+
<pre class="code"><span class="info file"># File 'motion-game', line 821</span>
|
|
509
|
+
|
|
510
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inner_size'>inner_size</span>
|
|
511
|
+
<span class='ivar'>@inner_size</span>
|
|
512
|
+
<span class='kw'>end</span></pre>
|
|
513
|
+
</td>
|
|
514
|
+
</tr>
|
|
515
|
+
</table>
|
|
516
|
+
</div>
|
|
517
|
+
|
|
518
|
+
</div>
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</div>
|
|
522
|
+
|
|
523
|
+
<div id="footer">
|
|
524
|
+
Generated on Thu Sep 3 15:12:08 2015 by
|
|
525
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
526
|
+
0.8.7.6 (ruby-2.0.0).
|
|
527
|
+
</div>
|
|
528
|
+
|
|
529
|
+
</body>
|
|
530
|
+
</html>
|