rubysdl 1.3.1 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/MANIFEST +22 -2
  2. data/NEWS.en +80 -0
  3. data/NEWS.ja +83 -0
  4. data/README.en +2 -1
  5. data/README.ja +2 -2
  6. data/doc-en/Makefile +18 -0
  7. data/doc-en/cdrom.rsd +417 -0
  8. data/doc-en/collision.rsd +174 -0
  9. data/doc-en/event.rsd +1476 -0
  10. data/doc-en/font.rsd +811 -0
  11. data/doc-en/general.rsd +43 -0
  12. data/doc-en/init.rsd +168 -0
  13. data/doc-en/joystick.rsd +401 -0
  14. data/doc-en/mixer.rsd +869 -0
  15. data/doc-en/mpeg.rsd +585 -0
  16. data/doc-en/opengl.rsd +155 -0
  17. data/doc-en/sdlskk.rsd +472 -0
  18. data/doc-en/time.rsd +46 -0
  19. data/doc-en/video.rsd +2806 -0
  20. data/doc-en/wm.rsd +112 -0
  21. data/doc/Makefile +1 -1
  22. data/doc/cdrom.rsd +3 -3
  23. data/doc/event.rsd +178 -179
  24. data/doc/general.rsd +10 -0
  25. data/doc/init.rsd +2 -2
  26. data/doc/joystick.rsd +29 -5
  27. data/doc/mixer.rsd +20 -0
  28. data/doc/rsd.rb +42 -9
  29. data/doc/sdlskk.rsd +7 -7
  30. data/doc/video.rsd +461 -168
  31. data/doc/wm.rsd +2 -2
  32. data/extconf.rb +1 -8
  33. data/lib/rubysdl_aliases.rb +52 -190
  34. data/lib/rubysdl_compatible_ver1.rb +243 -0
  35. data/lib/sdl.rb +58 -92
  36. data/rubysdl.h +59 -68
  37. data/rubysdl_cdrom.c +125 -102
  38. data/{rubysdl_doc.en.rd → rubysdl_doc_old.en.rd} +3 -2
  39. data/rubysdl_event.c +318 -255
  40. data/rubysdl_event_key.c +299 -287
  41. data/rubysdl_image.c +37 -13
  42. data/rubysdl_joystick.c +180 -67
  43. data/rubysdl_kanji.c +61 -75
  44. data/rubysdl_main.c +65 -138
  45. data/rubysdl_mixer.c +339 -214
  46. data/rubysdl_mouse.c +50 -43
  47. data/rubysdl_opengl.c +31 -28
  48. data/rubysdl_pixel.c +17 -28
  49. data/rubysdl_ref.en.html +5658 -0
  50. data/rubysdl_ref.en.rd +6337 -0
  51. data/rubysdl_ref.html +2253 -1964
  52. data/rubysdl_ref.rd +823 -469
  53. data/rubysdl_rwops.c +9 -6
  54. data/rubysdl_sdlskk.c +137 -165
  55. data/rubysdl_sge_video.c +355 -469
  56. data/rubysdl_smpeg.c +189 -190
  57. data/rubysdl_time.c +1 -1
  58. data/rubysdl_ttf.c +147 -215
  59. data/rubysdl_video.c +486 -405
  60. data/rubysdl_wm.c +30 -30
  61. data/sample/aadraw.rb +9 -9
  62. data/sample/alpha.rb +12 -13
  63. data/sample/alphadraw.rb +10 -10
  64. data/sample/bfont.rb +4 -4
  65. data/sample/cdrom.rb +11 -4
  66. data/sample/collision.rb +20 -20
  67. data/sample/cursor.rb +5 -5
  68. data/sample/ellipses.rb +20 -16
  69. data/sample/event2.rb +11 -9
  70. data/sample/font.rb +4 -4
  71. data/sample/fpstimer.rb +3 -3
  72. data/sample/icon.bmp.gz +0 -0
  73. data/sample/icon.png +0 -0
  74. data/sample/joy2.rb +14 -14
  75. data/sample/kanji.rb +7 -7
  76. data/sample/load_from_io.rb +44 -0
  77. data/sample/movesp.rb +13 -12
  78. data/sample/playmod.rb +2 -3
  79. data/sample/plaympeg.rb +8 -8
  80. data/sample/playwave.rb +5 -6
  81. data/sample/sdlskk.rb +11 -11
  82. data/sample/sgetest.rb +14 -12
  83. data/sample/stetris.rb +12 -13
  84. data/sample/testgl.rb +13 -14
  85. data/sample/testsprite.rb +12 -11
  86. data/sample/transformblit.rb +23 -22
  87. metadata +62 -35
  88. data/rubysdl_event2.c +0 -417
data/doc-en/wm.rsd ADDED
@@ -0,0 +1,112 @@
1
+ = Window Management
2
+ * ((<Window Management Overview>))
3
+ * ((<Methods for Window Management>))
4
+ TOC
5
+
6
+ == Window Management Overview
7
+ SDL provides a small set of window management functions
8
+ which allow applications to change their title and toggle
9
+ from windowed mode to fullscreen (if available)
10
+
11
+ == Methods for Window Management
12
+ %%%
13
+ NAME caption
14
+ MOD WM
15
+ TYPE .
16
+ PURPOSE Gets the window title and icon name.
17
+ RVAL [String, String]
18
+
19
+ PROTO
20
+ caption
21
+
22
+ DESC
23
+ Returns the window title and icon name as an array with two element.
24
+
25
+ SEEALSO
26
+ WM.set_caption
27
+
28
+ %%
29
+ NAME set_caption
30
+ MOD WM
31
+ TYPE .
32
+ PURPOSE Sets the window tile and icon name.
33
+
34
+ PROTO
35
+ set_caption(title, icon)
36
+ setCaption(title, icon)
37
+
38
+ DESC
39
+ Sets the title-bar and icon name of the display window.
40
+
41
+ SEEALSO
42
+ WM.caption
43
+ WM.icon=
44
+
45
+ %%
46
+ NAME icon=
47
+ MOD WM
48
+ TYPE .
49
+ PURPOSE Sets the icon for the display window.
50
+
51
+ PROTO
52
+ icon=(icon_image)
53
+
54
+ DESC
55
+ Sets the icon for the display window. Win32 icons must be 32x32.
56
+
57
+ This function must be called before the first call to
58
+ @[Screen.open].
59
+ $[icon_image] should be an instance of @[Surface]
60
+
61
+ EXAMPLE
62
+ SDL::WM.icon = SDL::Surface.load_bmp("icon.bmp")
63
+
64
+ SEEALSO
65
+ set_video_mode
66
+ WM.caption
67
+
68
+ %%
69
+ NAME iconify
70
+ MOD WM
71
+ TYPE .
72
+ PURPOSE Iconify/Minimise the window
73
+
74
+ PROTO
75
+ iconify
76
+
77
+ DESC
78
+ If the application is running in a window managed environment
79
+ SDL attempts to iconify/minimise
80
+ it. If this method is successful,
81
+ the application will receive a @[Event::APPACTIVE]
82
+ loss event.
83
+
84
+ EXCEPTION *
85
+
86
+ %%
87
+ NAME grab_input
88
+ MOD WM
89
+ TYPE .
90
+ PURPOSE Grabs mouse and keyboard input.
91
+ RVAL Integer
92
+
93
+ PROTO
94
+ grab_input(mode)
95
+ grabInput(mode)
96
+
97
+ DESC
98
+ Grabbing means that the mouse is confined to the application window,
99
+ and nearly all keyboard input is passed directly to the application,
100
+ and not interpreted by a window manager, if any.
101
+
102
+ You can use following three constants as $[mode].
103
+ * SDL::WM::GRAB_QUERY
104
+ * SDL::WM::GRAB_OFF
105
+ * SDL::WM::GRAB_ON
106
+
107
+ When $[mode] is SDL::WM::GRAB_QUERY,
108
+ the grab mode is not changed, but the current grab mode is returned.
109
+
110
+ RET
111
+ Returns the current/new mode.
112
+
data/doc/Makefile CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  RSD = ruby rsd.rb
3
- RDFILES = general.rd init.rd video.rd wm.rd event.rd joystick.rd cdrom.rd mixer.rd time.rd font.rd collision.rd sdlskk.rd mpeg.rd
3
+ RDFILES = general.rd init.rd video.rd opengl.rd wm.rd event.rd joystick.rd cdrom.rd mixer.rd time.rd font.rd collision.rd sdlskk.rd mpeg.rd
4
4
  RD2 = rd2
5
5
  RD2OPT = -r rd/rd2html-lib.rb --html-lang=ja --html-charset=EUC-JP
6
6
 
data/doc/cdrom.rsd CHANGED
@@ -213,15 +213,15 @@ EXAMPLE
213
213
  # CD ���Τ����
214
214
  if cdrom.in_drive?
215
215
  cdrom.play_tracks 0, 0, 0, 0
216
-
216
+ end
217
217
  # �ǽ�Υȥ�å������
218
218
  if cdrom.in_drive?
219
219
  cdrom.play_tracks 0, 0, 1, 0
220
-
220
+ end
221
221
  # 2 ���ܤΥȥ�å��κǽ餫�� 15 �ä����
222
222
  if cdrom.in_drive?
223
223
  cdrom.play_tracks 1, 0, 0, SDL::CD::FPS*15
224
-
224
+ end
225
225
  SEEALSO
226
226
  CD#play
227
227
  CD#status
data/doc/event.rsd CHANGED
@@ -1,21 +1,21 @@
1
1
  = Event
2
2
  * ((<Event system����>))
3
- * ((<SDL::Event2>))
4
- * ((<SDL::Event2::Active>))
5
- * ((<SDL::Event2::KeyDown>))
6
- * ((<SDL::Event2::KeyUp>))
7
- * ((<SDL::Event2::MouseMotion>))
8
- * ((<SDL::Event2::MouseButtonDown>))
9
- * ((<SDL::Event2::MouseButtonUp>))
10
- * ((<SDL::Event2::JoyAxis>))
11
- * ((<SDL::Event2::JoyBall>))
12
- * ((<SDL::Event2::JoyHat>))
13
- * ((<SDL::Event2::JoyButtonDown>))
14
- * ((<SDL::Event2::JoyButtonUp>))
15
- * ((<SDL::Event2::Quit>))
16
- * ((<SDL::Event2::SysWM>))
17
- * ((<SDL::Event2::VideoResize>))
18
- * ((<SDL::Event2::VideoExpose>))
3
+ * ((<SDL::Event>))
4
+ * ((<SDL::Event::Active>))
5
+ * ((<SDL::Event::KeyDown>))
6
+ * ((<SDL::Event::KeyUp>))
7
+ * ((<SDL::Event::MouseMotion>))
8
+ * ((<SDL::Event::MouseButtonDown>))
9
+ * ((<SDL::Event::MouseButtonUp>))
10
+ * ((<SDL::Event::JoyAxis>))
11
+ * ((<SDL::Event::JoyBall>))
12
+ * ((<SDL::Event::JoyHat>))
13
+ * ((<SDL::Event::JoyButtonDown>))
14
+ * ((<SDL::Event::JoyButtonUp>))
15
+ * ((<SDL::Event::Quit>))
16
+ * ((<SDL::Event::SysWM>))
17
+ * ((<SDL::Event::VideoResize>))
18
+ * ((<SDL::Event::VideoExpose>))
19
19
  * ((<SDL::Key>))
20
20
  * ((<SDL::Mouse>))
21
21
  * Event��Ϣ�᥽�å�
@@ -29,40 +29,40 @@ TOC
29
29
  ����Ū�ˤϡ�SDL �Ͻ��������ޤ��Ե����Ƥ������ƤΥ��٥�Ȥ򥤥٥�ȥ��塼��
30
30
  ��Ǽ���ޤ���
31
31
 
32
- @[Event2.poll] �� @[Event2.wait] �Τ褦�ʥ᥽�åɤ�Ȥ����Ȥǡ�
32
+ @[Event.poll] �� @[Event.wait] �Τ褦�ʥ᥽�åɤ�Ȥ����Ȥǡ�
33
33
  �Ե����Ƥ������ϥ��٥�Ȥ򸫤��ꡢ�������뤳�Ȥ��Ǥ��ޤ���
34
34
 
35
- Ruby/SDL�ˤ����륤�٥�Ƚ����θ��ϡ�@[Event2]�Υ��֥��饹���Ǥ���
36
- ���٥�ȥ��塼���Ȥ�@[Event2](�Υ��֥��饹)�Υ��󥹥��󥹤����
37
- �ߤʤ����Ȥ��Ǥ��ޤ��������Υ��֥������Ȥ�@[Event2.poll]��Ȥä�
35
+ Ruby/SDL�ˤ����륤�٥�Ƚ����θ��ϡ�@[Event]�Υ��֥��饹���Ǥ���
36
+ ���٥�ȥ��塼���Ȥ�@[Event](�Υ��֥��饹)�Υ��󥹥��󥹤����
37
+ �ߤʤ����Ȥ��Ǥ��ޤ��������Υ��֥������Ȥ�@[Event.poll]��Ȥä�
38
38
  ���塼�����ɤߤ����졢
39
39
  �����Ƥ����˳�Ǽ���줿����ν����򥢥ץꥱ������󤬤��ޤ���
40
40
 
41
- @[Event2]�Υ��֥��饹�ϰʲ����̤�Ǥ���
42
- * @[Event2::Active]
43
- * @[Event2::KeyDown]
44
- * @[Event2::KeyUp]
45
- * @[Event2::MouseMotion]
46
- * @[Event2::MouseButtonDown]
47
- * @[Event2::MouseButtonUp]
48
- * @[Event2::JoyAxis]
49
- * @[Event2::JoyBall]
50
- * @[Event2::JoyHat]
51
- * @[Event2::JoyButtonDown]
52
- * @[Event2::JoyButtonUp]
53
- * @[Event2::Quit]
54
- * @[Event2::SysWM]
55
- * @[Event2::VideoResize]
56
- * @[Event2::VideoExpose]
41
+ @[Event]�Υ��֥��饹�ϰʲ����̤�Ǥ���
42
+ * @[Event::Active]
43
+ * @[Event::KeyDown]
44
+ * @[Event::KeyUp]
45
+ * @[Event::MouseMotion]
46
+ * @[Event::MouseButtonDown]
47
+ * @[Event::MouseButtonUp]
48
+ * @[Event::JoyAxis]
49
+ * @[Event::JoyBall]
50
+ * @[Event::JoyHat]
51
+ * @[Event::JoyButtonDown]
52
+ * @[Event::JoyButtonUp]
53
+ * @[Event::Quit]
54
+ * @[Event::SysWM]
55
+ * @[Event::VideoResize]
56
+ * @[Event::VideoExpose]
57
57
 
58
58
  ���٥�ȥ��饹�ˤϰʲ�����Ĥ����Ӥ�����ޤ���
59
59
  * ���塼���饤�٥�Ȥ��ɤ߽Ф�
60
60
  * ���塼�˥��٥�Ȥ���Ͽ����
61
61
 
62
- ���塼���饤�٥�Ȥ��ɤ߽Ф��ˤϡ� @[Event2.poll] ��Ȥ��ޤ���
63
- �����Ǥϡ� @[Event2.poll] ��Ȥä���򼨤��ޤ���
64
- while event = SDL::Event2.poll
65
- @[Event2.poll] �ϥ��٥�ȥ��塼���鼡�Υ��٥�Ȥ�
62
+ ���塼���饤�٥�Ȥ��ɤ߽Ф��ˤϡ� @[Event.poll] ��Ȥ��ޤ���
63
+ �����Ǥϡ� @[Event.poll] ��Ȥä���򼨤��ޤ���
64
+ while event = SDL::Event.poll
65
+ @[Event.poll] �ϥ��٥�ȥ��塼���鼡�Υ��٥�Ȥ�
66
66
  ���Ф��ơ����塼���������ޤ������塼�˥��٥�Ȥ��ʤ��Ȥ���
67
67
  nil ���֤�������ʳ��ξ��Ͼ�˵󤲤����٥�ȥ��饹�Υ��󥹥���
68
68
  ���֤��ޤ���
@@ -72,11 +72,11 @@ nil
72
72
  ���ˡ��ɤμ���Υ��٥�Ȥ��Τꤿ���Τ��Ȥ������Ȥȡ������ä�
73
73
  ���٥�Ȥμ�����Τ�ʤ���Ф����ޤ���
74
74
  �����Ǥϡ����ץꥱ���������Υޥ����ݥ��󥿤�ư�����Τꤿ���Ȥ��ޤ���
75
- ���Ƥ��륤�٥�Ȥ��б����륯�饹��@[Event2::MouseMotion]
75
+ ���Ƥ��륤�٥�Ȥ��б����륯�饹��@[Event::MouseMotion]
76
76
  �Ǥ��뤳�Ȥ��狼��ޤ���case��when ʸ�� when �ν�˥��饹��񤯤ȡ�
77
- ���Υ��饹�Υ��󥹥��󥹤�case��Ϳ�����Ȥ���ʬ�����뤳�Ȥ������Ѥ��ޤ�
78
- when SDL::Event2::MouseMotion
79
- �����Ǥ� event �� @[Event2::MouseMotion] �Υ��󥹥��󥹤ʤΤ�
77
+ ���Υ��饹�Υ��󥹥��󥹤�case��Ϳ�����Ȥ���ʬ�����뤳�Ȥ����Ѥ��ޤ�
78
+ when SDL::Event::MouseMotion
79
+ �����Ǥ� event �� @[Event::MouseMotion] �Υ��󥹥��󥹤ʤΤ�
80
80
  ���Υ᥽�åɤ�Ȥäƾ�������뤳�Ȥ��Ǥ��ޤ���
81
81
  puts "�ޥ����������뤬��ư���륤�٥�Ȥ�������ޤ�����"
82
82
  puts "��������ΰ��֤�(#{event.x}, #{event.y})�Ǥ���"
@@ -88,119 +88,118 @@ nil
88
88
 
89
89
  ���٥�ȥ��塼�˥��٥�Ȥ����뤳�Ȥ�Ǥ��ޤ��Τǡ�
90
90
  ���٥�ȥ��塼���������̿������Ѥ��뤳�Ȥ�Ǥ��ޤ���
91
- @[Event2.push]�ǥ��٥�ȥ��塼�˥��٥�Ȥ����뤳�Ȥ��Ǥ��ޤ���
91
+ @[Event.push]�ǥ��٥�ȥ��塼�˥��٥�Ȥ����뤳�Ȥ��Ǥ��ޤ���
92
92
  �������ϥ��٥�Ȥ���Ф����ꤹ�뤿��˻Ȥ����Ȥ��Ǥ��ޤ���
93
93
  �桼�����٥�Ȥ� Ruby/SDL �Ǥ����ѤǤ��ޤ���
94
94
 
95
- == SDL::Event2
95
+ == SDL::Event
96
96
  ���٥�Ȥ��갷������Υ��饹�Ǥ����ºݤΥ��饹�Ϥ��Υ��饹�Υ��֥��饹
97
97
  �Ȥ���ɽ����ޤ���
98
98
 
99
- Event2�Ȥ���̾���ϸߴ����Τ���Τ�ΤǤ������줬���ˤ���ʤ����ϡ�
100
- �饤�֥���ɤ߹��ߤ�ľ���
101
- module SDL
102
- remove_const :Event2
103
- Event = Event2
104
- end
105
- �Ƚ񤤤Ƥ�������������� SDL::Event �Ȥ���̾���� SDL::Event2 ��
106
- ���������Ǥ��ޤ���
99
+ == ���Ȥθߴ���
100
+ ���Ĥ�SDL::Event�Ȥ���̾�����ä����饹���ѻߤ���ޤ�����
101
+ ����SDL::Event�Ȥ���̾���Υ��饹�ϰ�����
102
+ SDL::Event2�Ȥ���̾���Ǥ�����
103
+ �����ѹ��Τ��ᡢ�� SDL::Event ��ȤäƤ����
104
+ �ߴ���������ޤ��󡣤ޤ���SDL::Event2�Ȥ���̾���ϸߴ���
105
+ �Τ���Ĥ���Ƥ��ޤ���
107
106
 
108
- == SDL::Event2::Active
107
+ == SDL::Event::Active
109
108
  ���ץꥱ�������βĻ����˴ؤ��륤�٥�ȤΥ��饹�Ǥ���
110
109
 
111
110
  �ޥ�����������Υ�����ɥ��ν����ꡢ
112
111
  �����ܡ��ɥե��������������������
113
112
  �Ǿ���/�������󲽤��줿�긵����ä��Ȥ���ȯ�����ޤ���
114
113
 
115
- ��Τ����줬�������Τ��� @[Event2::Active#state] �Ǥ狼��ޤ���
114
+ ��Τ����줬�������Τ��� @[Event::Active#state] �Ǥ狼��ޤ���
116
115
 
117
116
  * NOTES
118
117
 
119
118
  ���Υ��٥�Ȥϡ��ǽ�˥�����ɥ����������줿�Ȥ��ˤ�ȯ�����ޤ���
120
119
 
121
- METHODS(Event2::Active)
120
+ METHODS(Event::Active)
122
121
 
123
- == SDL::Event2::KeyDown
122
+ == SDL::Event::KeyDown
124
123
  �����ܡ��ɤ򲡤����Ȥ���ȯ�����륤�٥�ȤΥ��饹�Ǥ���
125
124
 
126
- METHODS(Event2::KeyDown)
125
+ METHODS(Event::KeyDown)
127
126
 
128
- == SDL::Event2::KeyUp
127
+ == SDL::Event::KeyUp
129
128
  �����ܡ��ɤ�Υ�����Ȥ���ȯ�����륤�٥�ȤΥ��饹�Ǥ���
130
129
 
131
- METHODS(Event2::KeyUp)
130
+ METHODS(Event::KeyUp)
132
131
 
133
- == SDL::Event2::MouseMotion
132
+ == SDL::Event::MouseMotion
134
133
  �ޥ�����ư�������Ȥ���ȯ�����륤�٥�ȤΥ��饹�Ǥ���
135
134
 
136
135
  ��ñ�˸����ȡ�
137
136
  ���Υ��٥�Ȥ�
138
137
  ���ץꥱ������󥦥���ɥ�����ǥ桼�������ޥ�����ư�������Ȥ���
139
138
  �ޤ��� @[Mouse.warp] ���ƤФ줿����ȯ�����ޤ���
140
- ���ߤΥܥ���ξ���(@[Event2::MouseMotion#state])�ȤȤ�ˡ�
141
- ���к�ɸ(@[Event2::MouseMotion#x] �� @[Event2::MouseMotion#y])
142
- �����к�ɸ(@[Event2::MouseMotion#xrel] �� @[Event2::MouseMotion#yrel])
139
+ ���ߤΥܥ���ξ���(@[Event::MouseMotion#state])�ȤȤ�ˡ�
140
+ ���к�ɸ(@[Event::MouseMotion#x] �� @[Event::MouseMotion#y])
141
+ �����к�ɸ(@[Event::MouseMotion#xrel] �� @[Event::MouseMotion#yrel])
143
142
  ��ξ������𤵤�ޤ���
144
143
 
145
- METHODS(Event2::MouseMotion)
144
+ METHODS(Event::MouseMotion)
146
145
 
147
- == SDL::Event2::MouseButtonDown
146
+ == SDL::Event::MouseButtonDown
148
147
  �ޥ����ܥ���򲡤����Ȥ��Υ��٥�ȤΥ��饹�Ǥ���
149
148
 
150
- METHODS(Event2::MouseButtonDown)
149
+ METHODS(Event::MouseButtonDown)
151
150
 
152
- == SDL::Event2::MouseButtonUp
151
+ == SDL::Event::MouseButtonUp
153
152
  �ޥ����ܥ����Υ�����Ȥ��Υ��٥�ȤΥ��饹�Ǥ���
154
153
 
155
- METHODS(Event2::MouseButtonUp)
154
+ METHODS(Event::MouseButtonUp)
156
155
 
157
- == SDL::Event2::JoyAxis
156
+ == SDL::Event::JoyAxis
158
157
  ���祤���ƥ��å��μ����٥�ȤΥ��饹�Ǥ���
159
158
 
160
159
  �桼�������祤���ƥ��å��μ����ư������Ȥ��Υ��٥�Ȥ�ȯ�����ޤ���
161
160
 
162
- METHODS(Event2::JoyAxis)
161
+ METHODS(Event::JoyAxis)
163
162
 
164
163
  * SEEALSO
165
164
  @[Joystick#num_axes]��@[Joystick#axis]
166
165
 
167
- == SDL::Event2::JoyBall
166
+ == SDL::Event::JoyBall
168
167
  ���祤���ƥ��å��Υȥ�å��ܡ����ư�����٥�ȤΥ��饹�Ǥ���
169
168
 
170
- METHODS(Event2::JoyBall)
169
+ METHODS(Event::JoyBall)
171
170
 
172
171
  * SEEALSO
173
172
 
174
173
  @[Joystick#num_balls]��@[Joystick#ball]
175
174
 
176
- == SDL::Event2::JoyHat
175
+ == SDL::Event::JoyHat
177
176
  ���祤���ƥ��å��Υϥåȥ����å��ΰ����Ѳ����٥�ȤΥ��饹�Ǥ���
178
177
 
179
- METHODS(Event2::JoyHat)
178
+ METHODS(Event::JoyHat)
180
179
 
181
180
  * SEEALSO
182
181
 
183
182
  @[Joystick#num_hats]��@[Joystick#hat]
184
183
 
185
- == SDL::Event2::JoyButtonDown
184
+ == SDL::Event::JoyButtonDown
186
185
  ���祤���ƥ��å��Υܥ��󤬲���������줿�Ȥ���ȯ�����륤�٥�ȤΥ��饹�Ǥ���
187
186
 
188
- METHODS(Event2::JoyButtonDown)
187
+ METHODS(Event::JoyButtonDown)
189
188
 
190
189
  * SEEALSO
191
190
 
192
191
  @[Joystick#num_buttons]��@[Joystick#button]
193
192
 
194
- == SDL::Event2::JoyButtonUp
193
+ == SDL::Event::JoyButtonUp
195
194
  ���祤���ƥ��å��Υܥ����Υ�����Ȥ���ȯ�����륤�٥�ȤΥ��饹�Ǥ���
196
195
 
197
- METHODS(Event2::JoyButtonUp)
196
+ METHODS(Event::JoyButtonUp)
198
197
 
199
198
  * SEEALSO
200
199
 
201
200
  @[Joystick#num_buttons]��@[Joystick#button]
202
201
 
203
- == SDL::Event2::Quit
202
+ == SDL::Event::Quit
204
203
  ��λ�������٥�ȤΥ��饹�Ǥ���
205
204
 
206
205
  ��λ���٥�Ȥ�̵�뤹��ȡ�
@@ -210,7 +209,7 @@ METHODS(Event2::JoyButtonUp)
210
209
  ���ץꥱ�������ϸ����ʤ��ʤ�ޤ�����
211
210
  ���̹����Ϥ���Ǥ��������٥�Ȥ���𤷤ޤ���
212
211
 
213
- == SDL::Event2::SysWM
212
+ == SDL::Event::SysWM
214
213
  �ץ�åȥե������¸�Υ�����ɥ��ޥ͡����㥤�٥�ȤΥ��饹�Ǥ���
215
214
 
216
215
  ������ɥ��ޥ͡����㤫������Ǥ��ʤ����٥�Ȥ������ä����Ϥ��ĤǤ�
@@ -218,20 +217,20 @@ METHODS(Event2::JoyButtonUp)
218
217
  �Ǥ��ޤ��󡣤���¸�ߤ��������ͭ�ѤǤʤ����٥�ȤǤ���
219
218
  Ruby �����̵�뤹��ʳ��Τ��ȤϤǤ��ޤ���
220
219
 
221
- == SDL::Event2::VideoResize
220
+ == SDL::Event::VideoResize
222
221
  ������ɥ��Υꥵ�������٥�ȤΥ��饹�Ǥ���
223
222
 
224
- SDL::RESIZABLE �� $[flag] �Ȥ��� @[set_video_mode] ��
223
+ SDL::RESIZABLE �� $[flag] �Ȥ��� @[Screen.open] ��
225
224
  �Ϥ��줿���ϡ��桼�����ϥ��ץꥱ������󥦥���ɥ���ꥵ�������뤳�Ȥ�
226
225
  ������ޤ���
227
226
  ������ɥ����ꥵ�������줿���ϡ����Υ��٥�Ȥ�ȯ������
228
- @[Event2::VideoResize#w] �� @[Event2::VideoResize#h] ����
227
+ @[Event::VideoResize#w] �� @[Event::VideoResize#h] ����
229
228
  ������ɥ��ο����������ȹ⤵�������ޤ���
230
229
 
231
230
  ���Υ��٥�Ȥ�������ȡ�������ɥ���
232
- @[set_video_mode]��Ȥäƿ�������ˡ�˥ꥵ���������Ϥ��Ǥ���
231
+ @[Screen.open]��Ȥäƿ�������ˡ�˥ꥵ���������Ϥ��Ǥ���
233
232
 
234
- == SDL::Event2::VideoExpose
233
+ == SDL::Event::VideoExpose
235
234
  ������˴ؤ��륤�٥�ȤΥ��饹�Ǥ�
236
235
 
237
236
  ���Υ��٥�Ȥ�¾�Υ��ץꥱ��������̾�ϥ�����ɥ��ޥ͡�����ˤ�ä�screen
@@ -389,10 +388,10 @@ METHODS(Mouse)
389
388
  == Methods
390
389
  %%%
391
390
  NAME poll
392
- MOD Event2
391
+ MOD Event
393
392
  TYPE .
394
393
  PURPOSE ����α�ޤäƤ��륤�٥�Ȥ���Ф��ޤ���
395
- RVAL Event2/nil
394
+ RVAL Event/nil
396
395
 
397
396
  PROTO
398
397
  poll
@@ -403,29 +402,29 @@ DESC
403
402
  ���塼���餽�Υ��٥�Ȥ������ޤ���
404
403
 
405
404
  EXAMPLE
406
- while event = SDL::Event2.poll #���塼�˻ĤäƤ��륤�٥�Ȥ��ʤ��ʤ�ޤǥ롼��
405
+ while event = SDL::Event.poll #���塼�˻ĤäƤ��륤�٥�Ȥ��ʤ��ʤ�ޤǥ롼��
407
406
  case event # Ŭ�ڤʥ��٥�ȥ����פ����
408
- when SDL::Event2::KeyDown # �����������٥�Ȥ����
407
+ when SDL::Event::KeyDown # �����������٥�Ȥ����
409
408
  puts "��! �����򲡤��ޤ�����"
410
- when SDL::Event2::MouseMotion
409
+ when SDL::Event::MouseMotion
411
410
  .
412
411
  .
413
412
  .
414
413
  else # ̤�����Υ��٥�Ȥ����
415
- puts ��ˤϤ褯ʬ����ʤ����٥�ȤǤ�!"
414
+ puts "��ˤϤ褯ʬ����ʤ����٥�ȤǤ�!"
416
415
  end
417
416
  end
418
417
 
419
418
  SEEALSO
420
- Event2
421
- Event2.wait
419
+ Event
420
+ Event.wait
422
421
 
423
422
  %%
424
423
  NAME wait
425
- MOD Event2
424
+ MOD Event
426
425
  TYPE .
427
426
  PURPOSE �������Ѳ�ǽ�ʥ��٥�Ȥ����ޤ�̵�¤��Ե����ޤ���
428
- RVAL Event2/nil
427
+ RVAL Event/nil
429
428
 
430
429
  PROTO
431
430
  wait
@@ -446,11 +445,11 @@ NOTES
446
445
  ������Ǥ���
447
446
 
448
447
  SEEALSO
449
- Event2.poll
448
+ Event.poll
450
449
 
451
450
  %%
452
451
  NAME push
453
- MOD Event2
452
+ MOD Event
454
453
  TYPE .
455
454
  PURPOSE ���٥�Ȥ򥤥٥�ȥ��塼�˥ץå��夷�ޤ���
456
455
 
@@ -467,11 +466,11 @@ SDL
467
466
  EXCEPTION *
468
467
 
469
468
  SEEALSO
470
- Event2.poll
469
+ Event.poll
471
470
 
472
471
  %%
473
472
  NAME app_state
474
- MOD Event2
473
+ MOD Event
475
474
  TYPE .
476
475
  PURPOSE ���ץꥱ�������ξ��֤����ޤ���
477
476
  RVAL UINT
@@ -482,19 +481,19 @@ appState
482
481
 
483
482
  DESC
484
483
  ���ץꥱ�������θ��ߤξ��֤��֤��ޤ�������ͤϰʲ��Υӥå��¤Ǥ���
485
- :SDL::Event2::APPMOUSEFOCUS
484
+ :SDL::Event::APPMOUSEFOCUS
486
485
  �ޥ����Υե�������������ޤ���
487
- :SDL::Event2::APPINPUTFOCUS
486
+ :SDL::Event::APPINPUTFOCUS
488
487
  �����ܡ��ɤΥե�������������ޤ���
489
- :SDL::Event2::APPACTIVE
488
+ :SDL::Event::APPACTIVE
490
489
  ���ץꥱ�������ϲĻ���֤Ǥ���
491
490
 
492
491
  SEEALSO
493
- Event2::Active
492
+ Event::Active
494
493
 
495
494
  %%
496
495
  NAME enable_unicode
497
- MOD Event2
496
+ MOD Event
498
497
  TYPE .
499
498
  PURPOSE UNICODE�Ѵ���ͭ���ˤ��ޤ���
500
499
 
@@ -508,7 +507,7 @@ DESC
508
507
  �Ѵ���ͭ���ˤ���ȡ������ܡ��ɥ��٥�ȤΤ��Ӥˤ���äȤ���
509
508
  �����С��إåɤ�ȯ�����뤿�ᡢ�ǥե���ȤǤ��Ѵ���̵���ˤʤäƤ��ޤ���
510
509
  �Ѵ���ͭ���ˤ���ȡ��ʸ�Υ��������󥤥٥�ȤǤϡ�
511
- @[Event2::KeyDown#unicode] �����б�����ʸ�������ɤ������ޤ���
510
+ @[Event::KeyDown#unicode] �����б�����ʸ�������ɤ������ޤ���
512
511
  �б�����ʸ�������ɤ����Ĥ���ʤ��Ȥ���0������ޤ���
513
512
 
514
513
  NOTES
@@ -516,12 +515,12 @@ NOTES
516
515
  ������꡼�����٥�Ȥ��Ѵ�����ޤ���
517
516
 
518
517
  SEEALSO
519
- Event2.disable_unicode
520
- Event2.enable_unicode?
518
+ Event.disable_unicode
519
+ Event.enable_unicode?
521
520
 
522
521
  %%
523
522
  NAME disable_unicode
524
- MOD Event2
523
+ MOD Event
525
524
  TYPE .
526
525
  PURPOSE UNICODE�Ѵ���̵���ˤ��ޤ���
527
526
 
@@ -530,12 +529,12 @@ disable_unicode
530
529
  disableUNICODE
531
530
 
532
531
  DESC
533
- UNICODE�Ѵ���̵���ˤ��ޤ����ܤ����� @[Event2.enable_unicode]
532
+ UNICODE�Ѵ���̵���ˤ��ޤ����ܤ����� @[Event.enable_unicode]
534
533
  �򸫤Ƥ���������
535
534
 
536
535
  %%
537
536
  NAME enable_unicode?
538
- MOD Event2
537
+ MOD Event
539
538
  TYPE .
540
539
  PURPOSE UNICODE�Ѵ���ͭ�����ɤ���Ĵ�٤ޤ���
541
540
  RVAL true/false
@@ -545,13 +544,13 @@ enable_unicode?
545
544
  enableUNICODE?
546
545
 
547
546
  DESC
548
- UNICODE�Ѵ���ͭ�����ɤ���Ĵ�٤ޤ����ܤ����� @[Event2.enable_unicode]
547
+ UNICODE�Ѵ���ͭ�����ɤ���Ĵ�٤ޤ����ܤ����� @[Event.enable_unicode]
549
548
  �򸫤Ƥ���������
550
549
 
551
550
  %%
552
551
  NAME gain
553
552
  TYPE #
554
- MOD Event2::Active
553
+ MOD Event::Active
555
554
  PURPOSE �Ļ����������ʤ� true �򡢼��ä��ʤ� false ���֤��ޤ���
556
555
  RVAL true/false
557
556
 
@@ -563,38 +562,38 @@ DESC
563
562
  ���ä����Ȥ��б����륤�٥�Ȥʤ� false ���֤��ޤ���
564
563
 
565
564
  SEEALSO
566
- Event2::Active
567
- Event2::Active#state
565
+ Event::Active
566
+ Event::Active#state
568
567
 
569
568
  %%
570
569
  NAME state
571
- MOD Event2::Active
570
+ MOD Event::Active
572
571
  TYPE #
573
572
  PURPOSE �ɤΤ褦�ʼ���βĻ����ѹ����٥�Ȥ�ȯ�������Τ����֤��ޤ���
574
- RVAL SDL::Event2::APPMOUSEFOCUS/SDL::Event2::APPINPUTFOCUS/SDL::Event2::APPACTIVE
573
+ RVAL SDL::Event::APPMOUSEFOCUS/SDL::Event::APPINPUTFOCUS/SDL::Event::APPACTIVE
575
574
 
576
575
  PROTO
577
576
  state
578
577
 
579
578
  DESC
580
579
  �ޥ����������뤬������ɥ��γ��˽Ф���(gain=false)��������ɥ����
581
- ���ä���(gain=true)�����Ȥ��ϡ�SDL::Event2::APPMOUSEFOCUS ���֤��ޤ���
580
+ ���ä���(gain=true)�����Ȥ��ϡ�SDL::Event::APPMOUSEFOCUS ���֤��ޤ���
582
581
 
583
582
  ���ץꥱ������󤬥����ܡ��ɥե���������������(gain=true)
584
- ���ä���(gain=false)�����Ȥ��ϡ�SDL::Event2::APPINPUTFOCUS ��
583
+ ���ä���(gain=false)�����Ȥ��ϡ�SDL::Event::APPINPUTFOCUS ��
585
584
  �֤��ޤ���������̾�¾�Υ��ץꥱ������󤬥����ƥ��֤�
586
585
  �ʤä��Ȥ���ȯ�����ޤ���
587
586
 
588
587
  ���ץꥱ������󤬺Ǿ���/�������󲽤��줿��(gain=false)
589
- ������ä��Ȥ�(gain=true)�ˤ� SDL::Event2::APPACTIVE ���֤��ޤ���
588
+ ������ä��Ȥ�(gain=true)�ˤ� SDL::Event::APPACTIVE ���֤��ޤ���
590
589
 
591
590
  SEEALSO
592
- Event2::Active
593
- Event2::Active#gain
591
+ Event::Active
592
+ Event::Active#gain
594
593
 
595
594
  %%
596
595
  NAME press
597
- MOD Event2::KeyDown
596
+ MOD Event::KeyDown
598
597
  TYPE #
599
598
  PURPOSE true���֤��ޤ���
600
599
  RVAL true
@@ -606,11 +605,11 @@ DESC
606
605
  ��� true ���֤��ޤ���
607
606
 
608
607
  SEEALSO
609
- Event2::KeyUp#press
608
+ Event::KeyUp#press
610
609
 
611
610
  %%
612
611
  NAME sym
613
- MOD Event2::KeyDown
612
+ MOD Event::KeyDown
614
613
  TYPE #
615
614
  PURPOSE ���Υ����򲡤������򥭡�����ܥ���֤��ޤ���
616
615
  RVAL Integer
@@ -622,11 +621,11 @@ DESC
622
621
  ���Υ����򲡤�������((<��������ܥ�>))���֤��ޤ���
623
622
 
624
623
  SEEALSO
625
- Event2::KeyDown#unicode
624
+ Event::KeyDown#unicode
626
625
 
627
626
  %%
628
627
  NAME mod
629
- MOD Event2::KeyDown
628
+ MOD Event::KeyDown
630
629
  TYPE #
631
630
  PURPOSE �����������Υ�����ǥ��ե������ξ��֤��֤��ޤ���
632
631
  RVAL UINT
@@ -643,7 +642,7 @@ Key.mod_state
643
642
 
644
643
  %%
645
644
  NAME unicode
646
- MOD Event2::KeyDown
645
+ MOD Event::KeyDown
647
646
  TYPE #
648
647
  PURPOSE �Ѵ����줿ʸ�����֤��ޤ���
649
648
  RVAL UINT
@@ -652,7 +651,7 @@ PROTO
652
651
  unicode
653
652
 
654
653
  DESC
655
- @[Event2.enable_unicode] �ˤ�ä� UNICODE �Ѵ���ͭ���ˤ��줿���ˤϡ�
654
+ @[Event.enable_unicode] �ˤ�ä� UNICODE �Ѵ���ͭ���ˤ��줿���ˤϡ�
656
655
  �����β������б����� UNICODE ʸ�����֤��ޤ���
657
656
  ʸ���ξ�� 9 �ӥåȤ� 0 �ξ��ϡ� ASCII ʸ�����б����Ƥ��ޤ���
658
657
 
@@ -660,7 +659,7 @@ DESC
660
659
 
661
660
  %%
662
661
  NAME press
663
- MOD Event2::KeyUp
662
+ MOD Event::KeyUp
664
663
  TYPE #
665
664
  PURPOSE false���֤��ޤ���
666
665
  RVAL false
@@ -672,11 +671,11 @@ DESC
672
671
  ��� false ���֤��ޤ���
673
672
 
674
673
  SEEALSO
675
- Event2::KeyDown#press
674
+ Event::KeyDown#press
676
675
 
677
676
  %%
678
677
  NAME sym
679
- MOD Event2::KeyUp
678
+ MOD Event::KeyUp
680
679
  TYPE #
681
680
  PURPOSE ���Υ�����Υ�������򥭡�����ܥ���֤��ޤ���
682
681
  RVAL Integer
@@ -689,7 +688,7 @@ DESC
689
688
 
690
689
  %%
691
690
  NAME mod
692
- MOD Event2::KeyUp
691
+ MOD Event::KeyUp
693
692
  TYPE #
694
693
  PURPOSE ������ǥ��ե������ξ��֤��֤��ޤ���
695
694
  RVAL UINT
@@ -706,7 +705,7 @@ Key.mod_state
706
705
 
707
706
  %%
708
707
  NAME state
709
- MOD Event2::MouseMotion
708
+ MOD Event::MouseMotion
710
709
  TYPE #
711
710
  PURPOSE ���ߤΥܥ���ξ��֤��֤��ޤ���
712
711
  RVAL UINT
@@ -730,7 +729,7 @@ Mouse.state
730
729
 
731
730
  %%
732
731
  NAME x
733
- MOD Event2::MouseMotion
732
+ MOD Event::MouseMotion
734
733
  TYPE #
735
734
  PURPOSE �ޥ����� X ��ɸ���֤��ޤ���
736
735
  RVAL UINT
@@ -746,7 +745,7 @@ Mouse.state
746
745
 
747
746
  %%
748
747
  NAME y
749
- MOD Event2::MouseMotion
748
+ MOD Event::MouseMotion
750
749
  TYPE #
751
750
  PURPOSE �ޥ����� Y ��ɸ���֤��ޤ���
752
751
  RVAL UINT
@@ -762,7 +761,7 @@ Mouse.state
762
761
 
763
762
  %%
764
763
  NAME xrel
765
- MOD Event2::MouseMotion
764
+ MOD Event::MouseMotion
766
765
  TYPE #
767
766
  PURPOSE �ޥ����� X ����������Ū��ư�����֤��ޤ���
768
767
  RVAL Integer
@@ -775,7 +774,7 @@ DESC
775
774
 
776
775
  %%
777
776
  NAME yrel
778
- MOD Event2::MouseMotion
777
+ MOD Event::MouseMotion
779
778
  TYPE #
780
779
  PURPOSE �ޥ����� Y ����������Ū��ư�����֤��ޤ���
781
780
  RVAL Integer
@@ -788,7 +787,7 @@ DESC
788
787
 
789
788
  %%
790
789
  NAME button
791
- MOD Event2::MouseButtonDown
790
+ MOD Event::MouseButtonDown
792
791
  TYPE #
793
792
  PURPOSE �����줿�ܥ�����ֹ���֤��ޤ���
794
793
 
@@ -804,7 +803,7 @@ DESC
804
803
 
805
804
  %%
806
805
  NAME press
807
- MOD Event2::MouseButtonDown
806
+ MOD Event::MouseButtonDown
808
807
  TYPE #
809
808
  PURPOSE �ܥ��󲡤��������٥�Ȥ��ɤ������֤��ޤ���
810
809
  RVAL true
@@ -817,11 +816,11 @@ DESC
817
816
  ��� true ���֤��ޤ���
818
817
 
819
818
  SEEALSO
820
- Event2::MouseButtonUp#press
819
+ Event::MouseButtonUp#press
821
820
 
822
821
  %%
823
822
  NAME x
824
- MOD Event2::MouseButtonDown
823
+ MOD Event::MouseButtonDown
825
824
  TYPE #
826
825
  PURPOSE �ޥ����� X ��ɸ���֤��ޤ���
827
826
  RVAL UINT
@@ -837,7 +836,7 @@ Mouse.state
837
836
 
838
837
  %%
839
838
  NAME y
840
- MOD Event2::MouseButtonDown
839
+ MOD Event::MouseButtonDown
841
840
  TYPE #
842
841
  PURPOSE �ޥ����� Y ��ɸ���֤��ޤ���
843
842
  RVAL UINT
@@ -853,7 +852,7 @@ Mouse.state
853
852
 
854
853
  %%
855
854
  NAME button
856
- MOD Event2::MouseButtonUp
855
+ MOD Event::MouseButtonUp
857
856
  TYPE #
858
857
  PURPOSE Υ���줿�ܥ�����ֹ���֤��ޤ���
859
858
 
@@ -869,7 +868,7 @@ DESC
869
868
 
870
869
  %%
871
870
  NAME press
872
- MOD Event2::MouseButtonUp
871
+ MOD Event::MouseButtonUp
873
872
  TYPE #
874
873
  PURPOSE �ܥ��󲡤��������٥�Ȥ��ɤ������֤��ޤ���
875
874
  RVAL false
@@ -882,11 +881,11 @@ DESC
882
881
  ��� false ���֤��ޤ���
883
882
 
884
883
  SEEALSO
885
- Event2::MouseButtonDown#press
884
+ Event::MouseButtonDown#press
886
885
 
887
886
  %%
888
887
  NAME x
889
- MOD Event2::MouseButtonUp
888
+ MOD Event::MouseButtonUp
890
889
  TYPE #
891
890
  PURPOSE �ޥ����� X ��ɸ���֤��ޤ���
892
891
  RVAL UINT
@@ -902,7 +901,7 @@ Mouse.state
902
901
 
903
902
  %%
904
903
  NAME y
905
- MOD Event2::MouseButtonUp
904
+ MOD Event::MouseButtonUp
906
905
  TYPE #
907
906
  PURPOSE �ޥ����� Y ��ɸ���֤��ޤ���
908
907
  RVAL UINT
@@ -918,7 +917,7 @@ Mouse.state
918
917
 
919
918
  %%
920
919
  NAME which
921
- MOD Event2::JoyAxis
920
+ MOD Event::JoyAxis
922
921
  TYPE #
923
922
  PURPOSE ���祤���ƥ��å��ǥХ������ֹ���֤��ޤ���
924
923
  RVAL Integer
@@ -935,7 +934,7 @@ Joystick#num_axes
935
934
 
936
935
  %%
937
936
  NAME axis
938
- MOD Event2::JoyAxis
937
+ MOD Event::JoyAxis
939
938
  TYPE #
940
939
  PURPOSE ���祤���ƥ��å��μ����ֹ���֤��ޤ���
941
940
  RVAL Integer
@@ -951,7 +950,7 @@ Joystick
951
950
 
952
951
  %%
953
952
  NAME value
954
- MOD Event2::JoyAxis
953
+ MOD Event::JoyAxis
955
954
  TYPE #
956
955
  PURPOSE �����ͤ��֤��ޤ���
957
956
  RVAL -32767 - 32767
@@ -968,7 +967,7 @@ Joystick#axis
968
967
 
969
968
  %%
970
969
  NAME which
971
- MOD Event2::JoyBall
970
+ MOD Event::JoyBall
972
971
  TYPE #
973
972
  PURPOSE ���祤���ƥ��å��ǥХ������ֹ���֤��ޤ���
974
973
  RVAL Integer
@@ -984,7 +983,7 @@ Joystick
984
983
 
985
984
  %%
986
985
  NAME ball
987
- MOD Event2::JoyBall
986
+ MOD Event::JoyBall
988
987
  TYPE #
989
988
  PURPOSE ���祤���ƥ��å��Υȥ�å��ܡ�����ֹ���֤��ޤ���
990
989
  RVAL Integer
@@ -1002,7 +1001,7 @@ Joystick#num_balls
1002
1001
 
1003
1002
  %%
1004
1003
  NAME xrel
1005
- MOD Event2::JoyBall
1004
+ MOD Event::JoyBall
1006
1005
  TYPE #
1007
1006
  PURPOSE X����������Ū��ư�����֤��ޤ���
1008
1007
  RVAL Integer
@@ -1019,7 +1018,7 @@ Joystick#ball
1019
1018
 
1020
1019
  %%
1021
1020
  NAME yrel
1022
- MOD Event2::JoyBall
1021
+ MOD Event::JoyBall
1023
1022
  TYPE #
1024
1023
  PURPOSE Y����������Ū��ư�����֤��ޤ���
1025
1024
  RVAL Integer
@@ -1036,7 +1035,7 @@ Joystick#ball
1036
1035
 
1037
1036
  %%
1038
1037
  NAME which
1039
- MOD Event2::JoyHat
1038
+ MOD Event::JoyHat
1040
1039
  TYPE #
1041
1040
  PURPOSE ���祤���ƥ��å��ǥХ������ֹ���֤��ޤ���
1042
1041
  RVAL Integer
@@ -1052,7 +1051,7 @@ Joystick
1052
1051
 
1053
1052
  %%
1054
1053
  NAME hat
1055
- MOD Event2::JoyHat
1054
+ MOD Event::JoyHat
1056
1055
  TYPE #
1057
1056
  PURPOSE ���祤���ƥ��å��Υϥåȥ����å����ֹ���֤��ޤ���
1058
1057
  RVAL Integer
@@ -1069,7 +1068,7 @@ Joystick#num_hats
1069
1068
 
1070
1069
  %%
1071
1070
  NAME value
1072
- MOD Event2::JoyHat
1071
+ MOD Event::JoyHat
1073
1072
  TYPE #
1074
1073
  PURPOSE �ϥåȥ����å��ΰ��֤��֤��ޤ���
1075
1074
  RVAL UINT
@@ -1093,7 +1092,7 @@ DESC
1093
1092
 
1094
1093
  %%
1095
1094
  NAME which
1096
- MOD Event2::JoyButtonDown
1095
+ MOD Event::JoyButtonDown
1097
1096
  TYPE #
1098
1097
  PURPOSE ���祤���ƥ��å��ǥХ������ֹ���֤��ޤ���
1099
1098
  RVAL Integer
@@ -1109,7 +1108,7 @@ Joystick
1109
1108
 
1110
1109
  %%
1111
1110
  NAME button
1112
- MOD Event2::JoyButtonDown
1111
+ MOD Event::JoyButtonDown
1113
1112
  TYPE #
1114
1113
  PURPOSE ���祤���ƥ��å��Υܥ�����ֹ���֤��ޤ���
1115
1114
  RVAL Integer
@@ -1126,7 +1125,7 @@ Joystick#num_buttons
1126
1125
 
1127
1126
  %%
1128
1127
  NAME press
1129
- MOD Event2::JoyButtonDown
1128
+ MOD Event::JoyButtonDown
1130
1129
  TYPE #
1131
1130
  PURPOSE �ܥ��󲡤��������٥�Ȥ��ɤ������֤��ޤ���
1132
1131
  RVAL true
@@ -1139,12 +1138,12 @@ DESC
1139
1138
  ��� true ���֤��ޤ���
1140
1139
 
1141
1140
  SEEALSO
1142
- Event2::JoyButtonUp#press
1141
+ Event::JoyButtonUp#press
1143
1142
  Joystick#button
1144
1143
 
1145
1144
  %%
1146
1145
  NAME which
1147
- MOD Event2::JoyButtonUp
1146
+ MOD Event::JoyButtonUp
1148
1147
  TYPE
1149
1148
  PURPOSE ���祤���ƥ��å��ǥХ������ֹ���֤��ޤ���
1150
1149
  RVAL Integer
@@ -1160,7 +1159,7 @@ Joystick
1160
1159
 
1161
1160
  %%
1162
1161
  NAME button
1163
- MOD Event2::JoyButtonUp
1162
+ MOD Event::JoyButtonUp
1164
1163
  TYPE #
1165
1164
  PURPOSE ���祤���ƥ��å��Υܥ�����ֹ���֤��ޤ���
1166
1165
  RVAL Integer
@@ -1177,7 +1176,7 @@ Joystick#num_buttons
1177
1176
 
1178
1177
  %%
1179
1178
  NAME press
1180
- MOD Event2::JoyButtonUp
1179
+ MOD Event::JoyButtonUp
1181
1180
  TYPE #
1182
1181
  PURPOSE �ܥ��󲡤��������٥�Ȥ��ɤ������֤��ޤ���
1183
1182
  RVAL false
@@ -1190,12 +1189,12 @@ DESC
1190
1189
  ��� false ���֤��ޤ���
1191
1190
 
1192
1191
  SEEALSO
1193
- Event2::JoyButtonDown#press
1192
+ Event::JoyButtonDown#press
1194
1193
  Joystick#button
1195
1194
 
1196
1195
  %%
1197
1196
  NAME w
1198
- MOD Event2::VideoResize
1197
+ MOD Event::VideoResize
1199
1198
  TYPE #
1200
1199
  PURPOSE ������ɥ��ο����������֤��ޤ���
1201
1200
  RVAL Integer
@@ -1209,7 +1208,7 @@ DESC
1209
1208
 
1210
1209
  %%
1211
1210
  NAME h
1212
- MOD Event2::VideoResize
1211
+ MOD Event::VideoResize
1213
1212
  TYPE #
1214
1213
  PURPOSE ������ɥ��ο������⤵���֤��ޤ���
1215
1214
  RVAL Integer
@@ -1234,13 +1233,13 @@ DESC
1234
1233
  �����ܡ��ɤξ��֤Υ��ʥåץ���åȤ�Ȥ�ޤ���
1235
1234
  @[Key.press?]��Ȥ����δؿ��Ǽ�ä����֤ξ�������ޤ���
1236
1235
 
1237
- ���ξ��֤� @[Event2.poll] �� @[Event2.wait] ��ƤФʤ��ȹ�������ޤ���
1236
+ ���ξ��֤� @[Event.poll] �� @[Event.wait] ��ƤФʤ��ȹ�������ޤ���
1238
1237
 
1239
1238
  SEEALSO
1240
1239
  Key.press?
1241
- Event2::KeyDown
1242
- Event2::KeyUp
1243
- Event2.poll
1240
+ Event::KeyDown
1241
+ Event::KeyUp
1242
+ Event.poll
1244
1243
 
1245
1244
  %%
1246
1245
  NAME press?
@@ -1259,8 +1258,8 @@ $[key]
1259
1258
 
1260
1259
  SEEALSO
1261
1260
  Key.scan
1262
- Event2::KeyDown
1263
- Event2::KeyUp
1261
+ Event::KeyDown
1262
+ Event::KeyUp
1264
1263
 
1265
1264
  %%
1266
1265
  NAME mod_state
@@ -1389,9 +1388,9 @@ if lbutton
1389
1388
  end
1390
1389
 
1391
1390
  SEEALSO
1392
- Event2::MouseMotion
1393
- Event2::MouseButtonDown
1394
- Event2::MouseButtonUp
1391
+ Event::MouseMotion
1392
+ Event::MouseButtonDown
1393
+ Event::MouseButtonUp
1395
1394
 
1396
1395
  %%
1397
1396
  NAME warp
@@ -1406,7 +1405,7 @@ DESC
1406
1405
  �ޥ�����������ΰ��֤򥻥åȤ��ޤ���(�ޥ����⡼����󥤥٥�Ȥ�ȯ�������ޤ�)
1407
1406
 
1408
1407
  SEEALSO
1409
- Event2::MouseMotion
1408
+ Event::MouseMotion
1410
1409
 
1411
1410
  %%
1412
1411
  NAME show