Sha256: 2536523d5a146ac529ec499a8bd831d9b71c3332255c5438890cf321987a06df

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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 gglib/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

2 entries across 2 versions & 1 rubygems

Version Path
gglib-1.2.1 lib/doc/classes/GGLib/MenuBase.src/M000159.html
gglib-1.3.0 doc/classes/GGLib/MenuBase.src/M000159.html