goo.colorpicker.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <head>
  5. <title>Module goo.colorpicker</title>
  6. <link rel="stylesheet" href="../luadoc.css" type="text/css" />
  7. <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
  8. </head>
  9. <body>
  10. <div id="container">
  11. <div id="product">
  12. <div id="product_logo"></div>
  13. <div id="product_name"><big><b></b></big></div>
  14. <div id="product_description"></div>
  15. </div> <!-- id="product" -->
  16. <div id="main">
  17. <div id="navigation">
  18. <h1>Goo</h1>
  19. <ul>
  20. <li><a href="../index.html">Index</a></li>
  21. </ul>
  22. <!-- Module list -->
  23. <h1>Modules</h1>
  24. <ul>
  25. <li>
  26. <a href="../modules/anim.html">anim</a>
  27. </li>
  28. <li>
  29. <a href="../modules/goo.html">goo</a>
  30. </li>
  31. <li>
  32. <a href="../modules/goo.button.html">goo.button</a>
  33. </li>
  34. <li>
  35. <a href="../modules/goo.checkbox.html">goo.checkbox</a>
  36. </li>
  37. <li><strong>goo.colorpicker</strong></li>
  38. <li>
  39. <a href="../modules/goo.null.html">goo.null</a>
  40. </li>
  41. <li>
  42. <a href="../modules/goo.object.html">goo.object</a>
  43. </li>
  44. <li>
  45. <a href="../modules/goo.panel.html">goo.panel</a>
  46. </li>
  47. <li>
  48. <a href="../modules/goo.progressbar.html">goo.progressbar</a>
  49. </li>
  50. <li>
  51. <a href="../modules/goo.text.html">goo.text</a>
  52. </li>
  53. <li>
  54. <a href="../modules/goo.textinput.html">goo.textinput</a>
  55. </li>
  56. </ul>
  57. <!-- File list -->
  58. </div><!-- id="navigation" -->
  59. <div id="content">
  60. <h1>Module <code>goo.colorpicker</code></h1>
  61. <p>Draws a color picker box where the user can select a color.</p>
  62. <h2>Functions</h2>
  63. <table class="function_list">
  64. <tr>
  65. <td class="name" nowrap><a href="#goo.colorpicker:clearSelection">goo.colorpicker:clearSelection</a>&nbsp;()</td>
  66. <td class="summary">Clears the selected color.</td>
  67. </tr>
  68. <tr>
  69. <td class="name" nowrap><a href="#goo.colorpicker:getColor">goo.colorpicker:getColor</a>&nbsp;()</td>
  70. <td class="summary">Gets the currently selected color.</td>
  71. </tr>
  72. </table>
  73. <br/>
  74. <br/>
  75. <h2><a name="functions"></a>Functions</h2>
  76. <dl class="function">
  77. <dt><a name="goo.colorpicker:clearSelection"></a><span>goo.colorpicker:</span><strong>clearSelection</strong>&nbsp;( )</dt>
  78. <dd>
  79. <p class="func_description">Clears the selected color.</p>
  80. </dd>
  81. <dt><a name="goo.colorpicker:getColor"></a><span>goo.colorpicker:</span><strong>getColor</strong>&nbsp;( )</dt>
  82. <dd>
  83. <p class="func_description">Gets the currently selected color.</p>
  84. <h3>Return values:</h3>
  85. <ol>
  86. <li>number: the Red value (0-255).
  87. <li>number: the Green value (0-255).
  88. <li>number: the Blue value (0-255).
  89. </ol>
  90. </dd>
  91. </dl>
  92. </div> <!-- id="content" -->
  93. </div> <!-- id="main" -->
  94. <div id="about">
  95. <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
  96. </div> <!-- id="about" -->
  97. </div> <!-- id="container" -->
  98. </body>
  99. </html>