rubysdl-mswin32-1.8 2.1.0.1 → 2.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/doc/rsd.rb DELETED
@@ -1,158 +0,0 @@
1
- #!/usr/local/bin/ruby -Ke
2
-
3
- class Hash
4
- def hash_map
5
- new_hash = Hash.new
6
- each{|k,v| new_hash[k] = yield k,v}
7
- new_hash
8
- end
9
- end
10
-
11
- def convert_link(str)
12
- (?a..?z).include?(str[0]) ? "((<SDL.#{str}>))" : "((<SDL::#{str}>))"
13
- end
14
-
15
- def convert_dlink(desc, link)
16
- (?a..?z).include?(link[0]) ? "((<#{desc}|SDL.#{link}>))" :
17
- "((<#{desc}|SDL::#{link}>))"
18
- end
19
-
20
- def inline(str)
21
- str.gsub(/\$\[(.*?)\]/,'((|\1|))').
22
- gsub(/\@\[(.*?)\|(.*?)\]/){ convert_dlink($1,$2) }.
23
- gsub(/\@\[(.*?)\]/){ convert_link($1) }
24
- end
25
-
26
- def format(lines,spaces)
27
- if lines
28
- lines.split(/^/).map{|line| " "*spaces + inline(line)}.join + "\n"
29
- else
30
- ""
31
- end
32
- end
33
-
34
- MethodDesc = Struct.new(:output, :purpose, :fullname, :module, :lock, :obsolete)
35
-
36
- def rsd2rd(input)
37
- part = Hash.new{""}
38
- mode = nil
39
-
40
- input.each do |line|
41
- case line
42
- when /^(MOD|DEP|NAME|PURPOSE|TYPE|RVAL|OBSOLETE)\s+/
43
- part[$1] = $'.chomp
44
- when "LOCK\n"
45
- part["LOCK"] = ""
46
- when /^(PROTO|DESC|NOTES|RET|EXCEPTION|EXAMPLE|BUG|SEEALSO|COMMENT)\s*$/
47
- mode = $1
48
- when "EXCEPTION *\n"
49
- if $english
50
- part["EXCEPTION"] = "Raises @[Error] on failure"
51
- else
52
- part["EXCEPTION"] = "���Ԥ����Ȥ��ˤ��㳰@[Error]��ȯ�������ޤ���\n"
53
- end
54
- else
55
- part[mode] += line
56
- end
57
- end
58
-
59
- %w(NAME PURPOSE TYPE PROTO).each do |v|
60
- raise "There isn't #{v} at #{part["NAME"]}" unless part.key?(v)
61
- end
62
-
63
- if !part.has_key?("DESC") && !part.has_key?("OBSOLETE")
64
- raise "There isn't DESC and OBSOLETE at #{part["NAME"]}"
65
- end
66
-
67
- part = part.hash_map{|_, line| line.sub(/\n+\z/,"\n")}
68
-
69
- output = ""
70
- ns = if part.key?("MOD") then "SDL::#{part["MOD"]}" else "SDL" end
71
-
72
- part["PROTO"].each{|proto| output << "--- #{ns}#{part["TYPE"]}#{proto}"}
73
- output << "\n"
74
- if part.key?("OBSOLETE")
75
- if $english
76
- output << format("This method is obsolete. Please use @[#{part["OBSOLETE"]}] instead.\n", 4)
77
- else
78
- output << format("���Υ᥽�åɤ����ѤϿ侩����ޤ��������@[#{part["OBSOLETE"]}]�����Ѥ��Ƥ���������\n", 4)
79
- end
80
- end
81
-
82
- output << format(part["DESC"],4)
83
-
84
- if part.key?("LOCK")
85
- output << "\n"
86
- if $english
87
- output << format("This method needs @[Locking|Surface#lock].\nIf @[auto_lock?] is true, Ruby/SDL automatically locks/unlocks the surface.",4)
88
- else
89
- output << format("���Υ᥽�åɤ�Ȥ��ˤϥ����ե�����@[���å�|Surface#lock]����ɬ�פ�����ޤ���\n@[auto_lock?]�����ξ��ϥ����ƥब��ưŪ�˥��å�/������å����ޤ���",4)
90
- end
91
- end
92
- output << format(part["RET"],4)
93
- output << format(part["EXCEPTION"],4)
94
- if part.key?("DEP")
95
- if $english
96
- output << "\n You need #{part["DEP"]} to use this method.\n"
97
- else
98
- output << "\n ���Υ᥽�åɤ�Ȥ��ˤ� #{part["DEP"]} ��ɬ�פǤ���\n"
99
- end
100
- end
101
- if part.key?("EXAMPLE")
102
- output << "\n EXAMPLE\n"
103
- output << format(part["EXAMPLE"],6)
104
- end
105
- if part.key?("NOTES")
106
- output << " * NOTES\n\n"
107
- output << format(part["NOTES"],6)
108
- end
109
- if part.key?("BUG")
110
- output << " * BUG\n\n"
111
- output << format(part["NOTES"],6)
112
- end
113
- if part.key?("SEEALSO")
114
- output << " * See Also\n \n "
115
- output << part["SEEALSO"].
116
- split(/\n/).
117
- map{|line| line[0] == ?( ? line : convert_link(line) }.
118
- join(", ")
119
- output << "\n\n"
120
- end
121
-
122
- MethodDesc.new(output,
123
- part["PURPOSE"],
124
- "#{ns}#{part["TYPE"]}#{part["NAME"]}",
125
- part["MOD"],
126
- part.key?("LOCK"),
127
- part.has_key?("OBSOLETE"))
128
- end
129
-
130
- def toc(methods)
131
- methods.reject{|m| m.obsolete}.
132
- map{|m| " * ((<#{m.fullname}>)) -- #{inline(m.purpose)}" }.join("\n")
133
- end
134
-
135
- def locklist(methods)
136
- methods.find_all{|m| m.lock}.map{|m| "* ((<#{m.fullname}>))"}.join("\n ")
137
- end
138
-
139
- def methodlist(mod, methods)
140
- methods.find_all{|m| m.module == mod && !m.obsolete}.
141
- map{|m| "* ((<#{m.fullname}>)) -- #{inline(m.purpose)}"}.
142
- join("\n")
143
- end
144
-
145
- if ARGV.size == 1 && ARGV.shift == "-e"
146
- $english = true
147
- else
148
- $english = false
149
- end
150
-
151
- synop, descs = ARGF.read.split(/^%%%$/)
152
- methods = if descs then descs.split(/^%%$/).map{|m| rsd2rd(m)} else [] end
153
-
154
- STDOUT << format(synop, 0).gsub(/^TOC$/){ toc(methods) }.
155
- gsub(/^METHODS\((.*)\)$/){methodlist($1, methods)}
156
-
157
- methods.each{|m| STDOUT << m.output.gsub("LOCKLIST"){ locklist(methods) }}
158
-
data/doc/sdlskk.rd DELETED
@@ -1,404 +0,0 @@
1
- = SDLSKK
2
- * ((<SDLSKK�ˤ�����ܸ����ϤˤĤ���>))
3
- * ((<SDL::SKK::Context>))
4
- * ((<SDL::SKK::Dictionary>))
5
- * ((<SDL::SKK::Keybind>))
6
- * ((<SDL::SKK::RomKanaRuleTable>))
7
- * ((<SDLSKK��Ϣ�᥽�å�>))
8
- * ((<SDL::SKK.encoding=>)) -- SDLSKK�����Υ��󥳡��ǥ��󥰤���ꤷ�ޤ���
9
- * ((<SDL::SKK.encoding>)) -- SDLSKK���������󥳡��ǥ��󥰤����ޤ���
10
- * ((<SDL::SKK::RomKanaRuleTable.new>)) -- ����ե��٥åȤ��餫�ʤؤ��Ѵ��ơ��֥���ɤ߹��ߤޤ���
11
- * ((<SDL::SKK::Dictionary.new>)) -- ���μ�����������ޤ���
12
- * ((<SDL::SKK::Dictionary#load>)) -- ����ե�������ɤ߹��ߤޤ���
13
- * ((<SDL::SKK::Dictionary#save>)) -- �桼�������ե�����˽��Ϥ��ޤ���
14
- * ((<SDL::SKK::Keybind.new>)) -- ���Υ����Х���ɤ���ޤ���
15
- * ((<SDL::SKK::Keybind#set_key>)) -- �����Х���ɤ����ꤷ�ޤ���
16
- * ((<SDL::SKK::Keybind#set_default_key>)) -- Emacs�˻���ɸ��Ū�ʥ����Х���ɤ����ꤷ�ޤ���
17
- * ((<SDL::SKK::Keybind#unset_key>)) -- ���ꤷ�������Υ����Х���ɤ�̵���ˤ��ޤ���
18
- * ((<SDL::SKK::Context.new>)) -- ���ϥ���ƥ����Ȥ��������롣
19
- * ((<SDL::SKK::Context#input>)) -- �����ܡ��ɤ�������Ϥ�����դ��ޤ���
20
- * ((<SDL::SKK::Context#str>)) -- ���������ʸ��������ޤ���
21
- * ((<SDL::SKK::Context#render_str>)) -- ����ʸ����������󥰤��ޤ���
22
- * ((<SDL::SKK::Context#render_minibuffer_str>)) -- �ߥ˥Хåե���ʸ����������󥰤��ޤ���
23
- * ((<SDL::SKK::Context#clear>)) -- ���Ͼ��֤򥯥ꥢ���ޤ���
24
- * ((<SDL::SKK::Context#clear_text>)) -- ���ϥƥ����Ȥ򥯥ꥢ���ޤ���
25
- * ((<SDL::SKK::Context#get_basic_mode>)) -- ���֤���������ξ��֤Ǥʤ����ɤ��������롣
26
-
27
- == SDLSKK�ˤ�����ܸ����ϤˤĤ���
28
- Ruby/SDL �ˤ� ((<SDLSKK|URL:http://www.kmc.gr.jp/~ohai/sdlskk.html>))
29
- �����Ѥ��� ((<SKK|URL:http://openlab.jp/skk/index-j.html>))
30
- �˻������ܸ����ϥ����ƥब����ޤ���
31
-
32
- ��������ܸ����Ϥ��Ǥ�������Ǥʤ���
33
- ���å�&�ڡ����Ȥ�ޤ��ñ�ʹ��Խ���ǽ����äƤ��ޤ���
34
-
35
- sample/sdlskk.rb �⻲�ͤˤ��Ƥ���������
36
-
37
- == SDL::SKK
38
- SDLSKK��Ϣ�Υ⥸�塼��ؿ�����ӥ��饹����ĥ⥸�塼��Ǥ���
39
-
40
- * ((<SDL::SKK.encoding=>)) -- SDLSKK�����Υ��󥳡��ǥ��󥰤���ꤷ�ޤ���
41
- * ((<SDL::SKK.encoding>)) -- SDLSKK���������󥳡��ǥ��󥰤����ޤ���
42
-
43
- == SDL::SKK::Context
44
- ���Ϥξ��֤ʤɤ�ɽ�魯���饹�ǡ�SDL::SKK���濴Ū�ʥ��饹�Ǥ���
45
-
46
- * ((<SDL::SKK::Context.new>)) -- ���ϥ���ƥ����Ȥ��������롣
47
- * ((<SDL::SKK::Context#input>)) -- �����ܡ��ɤ�������Ϥ�����դ��ޤ���
48
- * ((<SDL::SKK::Context#str>)) -- ���������ʸ��������ޤ���
49
- * ((<SDL::SKK::Context#render_str>)) -- ����ʸ����������󥰤��ޤ���
50
- * ((<SDL::SKK::Context#render_minibuffer_str>)) -- �ߥ˥Хåե���ʸ����������󥰤��ޤ���
51
- * ((<SDL::SKK::Context#clear>)) -- ���Ͼ��֤򥯥ꥢ���ޤ���
52
- * ((<SDL::SKK::Context#clear_text>)) -- ���ϥƥ����Ȥ򥯥ꥢ���ޤ���
53
- * ((<SDL::SKK::Context#get_basic_mode>)) -- ���֤���������ξ��֤Ǥʤ����ɤ��������롣
54
-
55
- == SDL::SKK::Dictionary
56
- �����ɽ�魯���饹�Ǥ����ե����뤫�� SKK �����μ�����ɤ߹��ळ��
57
- ���Ǥ��ޤ���
58
-
59
- * ((<SDL::SKK::Dictionary.new>)) -- ���μ�����������ޤ���
60
- * ((<SDL::SKK::Dictionary#load>)) -- ����ե�������ɤ߹��ߤޤ���
61
- * ((<SDL::SKK::Dictionary#save>)) -- �桼�������ե�����˽��Ϥ��ޤ���
62
-
63
- == SDL::SKK::Keybind
64
- ���ϤΥ����Х���ɤ�ɽ�魯���饹�Ǥ���
65
-
66
- * ((<SDL::SKK::Keybind.new>)) -- ���Υ����Х���ɤ���ޤ���
67
- * ((<SDL::SKK::Keybind#set_key>)) -- �����Х���ɤ����ꤷ�ޤ���
68
- * ((<SDL::SKK::Keybind#set_default_key>)) -- Emacs�˻���ɸ��Ū�ʥ����Х���ɤ����ꤷ�ޤ���
69
- * ((<SDL::SKK::Keybind#unset_key>)) -- ���ꤷ�������Υ����Х���ɤ�̵���ˤ��ޤ���
70
-
71
- == SDL::SKK::RomKanaRuleTable
72
- �����޻� -> ��̾ ���Ѵ��ơ��֥��ɽ�魯���饹�Ǥ���
73
- �����Ѵ��ơ��֥�ϡ�SDLSKK�ȼ��η����Υƥ����ȥե�����ǡ�
74
- ������ɤ߹���ǥ��󥹥��󥹤��������ޤ���
75
-
76
- �Ѵ��ơ��֥�ե������ SDLSKK ����°���Ƥ��ޤ���
77
-
78
- * ((<SDL::SKK::RomKanaRuleTable.new>)) -- ����ե��٥åȤ��餫�ʤؤ��Ѵ��ơ��֥���ɤ߹��ߤޤ���
79
-
80
- == SDLSKK��Ϣ�᥽�å�
81
-
82
- --- SDL::SKK.encoding=(encoding)
83
-
84
- SDLSKK�����Υ��󥳡��ǥ��󥰤� ((|encoding|)) �˻��ꤷ�ޤ���
85
- * SDL::SKK::EUCJP
86
- * SDL::SKK::UTF8
87
- * SDL::SKK::SJIS
88
- �Τ����줫����ꤷ�Ƥ���������SDL::SKK::EUCJP ���ǥե���ȤǤ���
89
- �ޤ��������SDLSKK��Ϣ��¾�Υ᥽�åɤ�Ƥ����˸Ƥ�Ǥ���������
90
-
91
- ����ϡ�((<SDL::SKK::Dictionary#load>))��((<SDL::SKK::RomKanaRuleTable.new>))��
92
- �ɤ߹���ե����뤪��� ((<SDL::SKK::Context#str>)) ��������ʸ����
93
- ((<SDL::SKK::Dictionary#save>)) �ǽ񤭽Ф��ե������
94
- ���󥳡��ɤ���ꤷ�ޤ���
95
-
96
-
97
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
98
- * NOTES
99
-
100
- ���Υ⥸�塼��ؿ��Ϻǽ��1������Ƥ�Ǥ���������
101
- ����ǥ��󥳡��ǥ��󥰤��ѹ������������ư��ޤ���
102
-
103
- * See Also
104
-
105
- ((<SDL::SKK.encoding>)), ((<SDL::SKK::Dictionary#load>)), ((<SDL::SKK::Dictionary#save>)), ((<SDL::SKK::RomKanaRuleTable.new>))
106
-
107
- --- SDL::SKK.encoding
108
-
109
- SDLSKK���������󥳡��ǥ��󥰤��֤��ޤ����ܤ����� ((<SDL::SKK.encoding=>)) ��
110
- ���Ƥ���������
111
-
112
-
113
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
114
- * See Also
115
-
116
- ((<SDL::SKK.encoding=>))
117
-
118
- --- SDL::SKK::RomKanaRuleTable.new(filename)
119
-
120
- ((|filename|))�ǻ��ꤷ���ե�����򥢥�ե��٥åȤ��餫�ʤؤ��Ѵ��ơ��֥�
121
- �Ȥ����ɤ߹��ߤޤ���
122
- �ե�����η����ϰʲ����̤�Ǥ���
123
- * ��;;�� �ǻϤޤ�Ԥϥ�����
124
- * ���Ԥ�̵�뤵���
125
- * ����ʳ��ιԤ�1��1����ȥ꡼�ǡ��ʲ��Τ褦�ʷ���
126
- ���ϥ���ե��٥å�<TAB>�����Ѵ���˻Ĥ륢��ե��٥å�<TAB>�Ҳ�̾<TAB>ʿ��̾
127
-
128
-
129
-
130
-
131
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
132
- * NOTES
133
-
134
- ���Υե�����Υ��󥳡��ǥ��󥰤� ((<SDL::SKK.encoding=>)) �Ǥ��餫������ꤷ�Ƥ�����
135
- ����������
136
-
137
- * See Also
138
-
139
- ((<SDL::SKK::Context.new>))
140
-
141
- --- SDL::SKK::Dictionary.new
142
-
143
- ���μ���Ȥ��� ((<SDL::SKK::Dictionary>)) �Υ��󥹥��󥹤��������ޤ���
144
- Ŭ���ʼ���򤳤���ɤ߹���Ǥ���������
145
-
146
-
147
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
148
- * See Also
149
-
150
- ((<SDL::SKK::Dictionary#load>))
151
-
152
- --- SDL::SKK::Dictionary#load(filename, user)
153
-
154
- ((|filename|)) �ǻ��ꤷ��������ɤ߹��ߤޤ�������η����� SKK �Τ�Τ�
155
- Ʊ��Ǥ�(������annotation��ޤ��Τ��ԲĤǤ�)��
156
- ((|user|)) �򿿤ˤ����
157
- ���μ���ϥ桼������Ǥ���Ȱ���졢�����˴ޤޤ��
158
- ����ȥ꡼���٤Ƥ˥桼�����ϥޡ������դ��ޤ���
159
-
160
- �桼�����ϥޡ������դ�������ȥ꡼�Τߤ� ((<SDL::SKK::Dictionary#save>)) ��
161
- �桼������˽��Ϥ���ޤ���
162
-
163
- ���Ԥ����Ȥ��ˤ��㳰((<SDL::Error>))��ȯ�������ޤ���
164
-
165
-
166
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
167
- * NOTES
168
-
169
- ���Υե�����Υ��󥳡��ǥ��󥰤� ((<SDL::SKK.encoding=>)) �Ǥ��餫������ꤷ�Ƥ�����
170
- ����������
171
-
172
- * See Also
173
-
174
- ((<SDL::SKK::Dictionary.new>)), ((<SDL::SKK::Dictionary#save>)), ((<SDL::SKK::Context.new>))
175
-
176
- --- SDL::SKK::Dictionary#save(filename)
177
-
178
- ((|filename|)) �ǻ��ꤷ���ե�����˥桼���������Ϥ��ޤ���
179
- �桼�������Ѥ����Ѵ��ȡ�
180
- ((<SDL::SKK::Dictionary#load>)) �ǡ֥桼������פȤ����ɤ߹��ޤ줿
181
- ��Ȥ򤢤碌����Τ򡢥桼������Ȥ��ư����ޤ���
182
-
183
-
184
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
185
- * See Also
186
-
187
- ((<SDL::SKK::Dictionary.new>)), ((<SDL::SKK::Dictionary#load>))
188
-
189
- --- SDL::SKK::Keybind.new
190
-
191
- ���Υ����Х���ɤ��б����� ((<SDL::SKK::Keybind>)) �Υ��󥹥��󥹤��֤��ޤ���
192
- ����� ((<SDL::SKK::Keybind#set_key>)) �� ((<SDL::SKK::Keybind#set_default_key>))
193
- �ʤɤ�Ȥäƥ����Х���ɤ��ɲä��ƻȤ��ޤ���
194
-
195
-
196
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
197
- * See Also
198
-
199
- ((<SDL::SKK::Keybind#set_key>)), ((<SDL::SKK::Keybind#set_default_key>)), ((<SDL::SKK::Context.new>))
200
-
201
- --- SDL::SKK::Keybind#set_key(key_str, cmd_str)
202
-
203
- ((|key_str|)) �����ꤷ���������򼨤�ʸ�����((|cmd_str|)) �����ꤷ����
204
- ư��򼨤�ʸ�����Ϳ���������Х���ɤ����ꤷ�ޤ���
205
-
206
- ((|key_str|)) �Ȥ��Ƥϰʲ��Τ褦��ʸ�����Ϳ���뤳�Ȥ��Ǥ��ޤ���
207
- * ����ե��٥åȡ�"%" �ʤɤ�ascii�ε���
208
- * "SPC" "TAB" "DEL" "RET" "UP" "DOWN" "RIGHT" "LEFT" "INSERT" "HOME" "END"
209
- "PAGEUP" "PAGEDOWN" "F1" "F2" "F3" "F4" "F5" "F6" "F7" "F8" "F9" "F10"
210
- "F11" "F12" "F13" "F14" "F15" "HELP"
211
- * "C-a" "M-C-a" �ʤɤȤ��ä������������դ���ʸ����
212
- _
213
- �ޤ���((|cmd_str|)) �ˤϰʲ���ʸ�����Ϳ���뤳�Ȥ��Ǥ��ޤ���
214
- * "backward-char",
215
- * "forward-char",
216
- * "backward-delete-char",
217
- * "delete-char",
218
- * "kakutei",
219
- * "kettei",
220
- * "space",
221
- * "keyboard-quit",
222
- * "set-mark-command",
223
- * "kill-region",
224
- * "yank",
225
- * "copy",
226
- * "graph-char",
227
- * "upper-char",
228
- * "lower-char",
229
- * "abbrev-input",
230
- * "latin-mode",
231
- * "previous-candidate",
232
- * "jisx0208-mode",
233
- * "toggle-kana",
234
- * "beginning-of-line"
235
- * "end-of-line"
236
- * "do-nothing"
237
-
238
- ��������"a" �� "/" �Ȥ��ä���������ʸ��1ʸ���Υ����ˤϥǥե����
239
- �ʳ��Υ����Х���ɤϤ��ʤ��褦�ˤ��Ƥ���������
240
-
241
- ɸ��Υ����Х���ɤ򾯤��ѹ��������Ȥ������ϡ��ޤ�
242
- ((<SDL::SKK::Keybind#set_default_key>)) ��Ƥ�ǡ��ǥե���ȤΥ����Х���ɤ�
243
- ���ꤷ�Ƥ��餳�Υ᥽�åɤ�Ƥ�Ǥ�������
244
-
245
-
246
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
247
- * See Also
248
-
249
- ((<SDL::SKK::Keybind#set_default_key>)), ((<SDL::SKK::Keybind#unset_key>))
250
-
251
- --- SDL::SKK::Keybind#set_default_key
252
-
253
- Emacs�˻���ɸ��Ū�ʥ����Х���ɤ����ꤷ�ޤ���
254
-
255
-
256
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
257
- * See Also
258
-
259
- ((<SDL::SKK::Keybind#set_key>))
260
-
261
- --- SDL::SKK::Keybind#unset_key(key_str)
262
-
263
- ((|key_str|)) �ǻ��ꤷ�������Υ����Х���ɤ�̵���ˤ��ޤ���
264
- ((|key_str|)) �ˤ� ((<SDL::SKK::Keybind#set_key>)) ��Ʊ���ͤ�Ȥ��ޤ���
265
-
266
-
267
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
268
- --- SDL::SKK::Context.new(dict, romkama_table, bind, use_minibuffer)
269
-
270
- ���ϥ���ƥ����Ȥ���������((<SDL::SKK::Context>)) �Υ��󥹥��󥹤��֤��ޤ���
271
- ((|dict|)) �����Ѥ��뼭��Ȥ��� ((<SDL::SKK::Dictionary>)) �Υ��󥹥��󥹤�
272
- ((|romkama_table|)) �ϥ����޻������Ѵ���§�Ȥ��� ((<SDL::SKK::RomKanaRuleTable>))
273
- �Υ��󥹥��󥹤�((|bind|)) �ˤϥ����Х���ɤȤ��� ((<SDL::SKK::Keybind>)) �Υ��󥹥���
274
- ��Ϳ���롣
275
- use_minibuffer �˿��ͤ�Ϳ����ȥߥ˥Хåե������Ѥ���褦�ˤʤ�ޤ���
276
- ���Ǥ����Ѥ��ޤ���
277
-
278
-
279
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
280
-
281
- EXAMPLE
282
- # ��������������ե����뤫�鼭��ǡ������ɤ߹���
283
- dict = SDL::SKK::Dictionary.new
284
- dict.load( 'jisyo', false )
285
- # �����޻���̾�Ѵ��ơ��֥���ɤ߹���
286
- table = SDL::SKK::RomKanaRuleTable.new( 'rule_table' )
287
- # �����Х���ɤ����ꤹ��
288
- bind = SDL::SKK::Keybind.new
289
- bind.set_default_key
290
-
291
- # ����ƥ����Ȥ�����
292
- context = SDL::SKK::Context.new( dict, table, bind, use_minibuffer )
293
-
294
- * See Also
295
-
296
- ((<SDL::SKK::Context#input>)), ((<SDL::SKK::Context#str>))
297
-
298
- --- SDL::SKK::Context#input(event)
299
-
300
- ���٥�ȷ�ͳ�ǥ����ܡ��ɤ�������Ϥ�����դ���
301
- ����ƥ����Ȥξ��֤��ѹ����ޤ���
302
- ((|event|)) �ˤ� ((<SDL::Event>)) �Υ��󥹥��󥹤�Ϳ���ޤ���
303
- ((<SDL::Event::KeyDown>)) �ʳ��Υ��٥�Ȥ�̵�뤷�ޤ���
304
-
305
-
306
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
307
-
308
- EXAMPLE
309
- while event = SDL::Event.poll do
310
- case event
311
- when SDL::Event::Quit
312
- exit
313
- when SDL::Event::KeyDown
314
- if event.sym == SDL::Key::ESCAPE then
315
- exit
316
- end
317
- if event.sym == SDL::Key::F1
318
- dict.save("test_user_dict")
319
- end
320
- context.input( event )
321
- end
322
- end
323
-
324
- --- SDL::SKK::Context#str
325
-
326
- ���������ʸ������֤��ޤ���
327
-
328
-
329
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
330
- * See Also
331
-
332
- ((<SDL::SKK::Context#render_str>)), ((<SDL::SKK::Context#clear>)), ((<SDL::SKK::Context#clear_text>))
333
-
334
- --- SDL::SKK::Context#render_str(font, r, g, b)
335
-
336
- ((|self|)) �����äƤ������������ʸ����������󥰤���
337
- ((<SDL::Surface>)) �Υ��󥹥��󥹤��֤��ޤ���
338
- ((|font|)) �ϥ�����󥰤����Ѥ���ե���Ȥ� ((<SDL::TTF>)) �Υ��󥹥��󥹤�Ϳ����
339
- ���ο��� (((|r|)), ((|g|)), ((|b|))) �ǻ��ꤷ�ޤ���
340
-
341
-
342
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
343
- * See Also
344
-
345
- ((<SDL::SKK::Context#render_minibuffer_str>))
346
-
347
- --- SDL::SKK::Context#render_minibuffer_str(font, r, g, b)
348
-
349
- ((|self|)) �����äƤ�����������Υߥ˥Хåե��ξ��֤������󥰤���
350
- ((<SDL::Surface>)) �Υ��󥹥��󥹤��֤��ޤ���
351
- ((|font|)) �ϥ�����󥰤����Ѥ���ե���Ȥ� ((<SDL::TTF>)) �Υ��󥹥��󥹤�Ϳ����
352
- ���ο��� (((|r|)), ((|g|)), ((|b|))) �ǻ��ꤷ�ޤ���
353
-
354
-
355
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
356
- --- SDL::SKK::Context#clear
357
-
358
- ����ʸ��������Ͼ��֤򥯥ꥢ���ƽ�����֤��ᤷ�ޤ���
359
-
360
-
361
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
362
- * See Also
363
-
364
- ((<SDL::SKK::Context#clear_text>))
365
-
366
- --- SDL::SKK::Context#clear_text
367
-
368
- ((|self|)) �����ϥ⡼�ɤ����������ϥ⡼�ɡ�����ե��٥å����ϥ⡼�ɡ�
369
- JISX0208����ե��٥å����ϥ⡼�ɤΤ����줫�Ǥ���Ф��Υ⡼�ɤ�
370
- �ݻ������ޤ����ϥƥ����Ȥ���ˤ��ޤ���
371
-
372
- ʣ���Ԥ����Ϥ�¸���������硢((<SDL::SKK::Context>)) ��Ƥ֤�
373
- �⡼�ɤ��������ϥ⡼�ɤ���äƤ��ޤ��Τ��Լ����Ǥ����硢
374
- ���δؿ���Ƥ֤Ȥ褤��
375
-
376
- �ޤ������åȥХåե������Ƥ���¸����ޤ���
377
-
378
-
379
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
380
- * See Also
381
-
382
- ((<SDL::SKK::Context#get_basic_mode>))
383
-
384
- --- SDL::SKK::Context#get_basic_mode
385
-
386
- ((|self|)) �����ϥ⡼�ɤ����������ϥ⡼�ɡ�����ե��٥å����ϥ⡼�ɡ�
387
- JISX0208����ե��٥å����ϥ⡼�ɤΤ����줫�Ǥ���п��򡢤���
388
- �ʳ��Ǥϵ����֤���������Ͽ�⡼�ɤΤȤ��ʤɤ⵶���֤��ޤ���
389
-
390
- ���줬���ΤȤ��˥꥿���󥭡��򲡤��������Ͻ�λ�Ȥߤʤ���
391
- �ʤɤȤ��ä����������Ѥ��ޤ���
392
-
393
-
394
- ���Υ᥽�åɤ�Ȥ��ˤ� SDLSKK ��ɬ�פǤ���
395
- * NOTES
396
-
397
- ���ϥ⡼�ɤ�̾���䤽�����ƤˤĤ��Ƥ�
398
- ((<SKK|URL:http://openlab.jp/skk/index-j.html>))
399
- �Υޥ˥奢��ʤɤ򻲹ͤˤ��Ƥ���������
400
-
401
- * See Also
402
-
403
- ((<SDL::SKK::Context#clear_text>))
404
-