Sha256: 1af74d8e1410ee89d1e9e5bec83a25bb420e929d92350987ab1d7a7583f7372d
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>button_down (GGLib::MenuBase)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File state.rb, line 54</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">button_down</span>(<span class="ruby-identifier">id</span>) <span class="ruby-comment cmt">#if id == Gosu::Button::KbEscape</span> <span class="ruby-comment cmt"># close</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Gosu</span><span class="ruby-operator">::</span><span class="ruby-constant">Button</span><span class="ruby-operator">::</span><span class="ruby-constant">MsLeft</span> <span class="ruby-identifier">mouse</span>(<span class="ruby-identifier">$window</span>.<span class="ruby-identifier">mouse_x</span>,<span class="ruby-identifier">$window</span>.<span class="ruby-identifier">mouse_y</span>) <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gglib-1.3.0 | doc/classes/GGLib/MenuBase.src/M000147.html |