You've already forked lazarus-ccr
fixed source paths, added nvbasepath unit documentation
added relative paths to crop_images.bat git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -22,32 +22,66 @@
|
||||
<td><p><tt><span class="code"> <span class="kw">function</span> <a href="../nvwidgets/uicontext.html">UIContext</a><span class="sym">.</span>doButton<span class="sym">(</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>r<span class="sym">: </span><a href="../nvwidgets/rect.html">Rect</a><span class="sym">;</span><span class="cmt"> //optionally provides a location and size for the button</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>r<span class="sym">: </span><a href="../nvwidgets/rect.html">Rect</a><span class="sym">;</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>Text<span class="sym">: </span><span class="sym">;</span><span class="cmt"> //text to display on the button</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>Text<span class="sym">: </span><span class="sym">;</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> <span class="kw">var </span>state<span class="sym">: </span>Boolean<span class="sym">;</span><span class="cmt"> //whether the button is depressed</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> <span class="kw">var </span>state<span class="sym">: </span>Boolean<span class="sym">;</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> style<span class="sym">: </span>Integer <span class="sym">=</span> <span class="num">0</span></span><span class="cmt"> //optional style flag to modify the look (default = 0)</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> style<span class="sym">: </span>Integer <span class="sym">=</span> <span class="num">0</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"><span class="sym">):</span>Boolean<span class="sym">;</span><span class="cmt"> //Boolean result</span><br><br><span class="kw">function</span> <a href="../nvwidgets/uicontext.html">UIContext</a><span class="sym">.</span>doButton<span class="sym">(</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"><span class="sym">):</span>Boolean<span class="sym">;</span><br><br><span class="kw">function</span> <a href="../nvwidgets/uicontext.html">UIContext</a><span class="sym">.</span>doButton<span class="sym">(</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>r<span class="sym">: </span><a href="../nvwidgets/rect.html">Rect</a><span class="sym">;</span><span class="cmt"> //optionally provides a location and size for the button</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>r<span class="sym">: </span><a href="../nvwidgets/rect.html">Rect</a><span class="sym">;</span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>Text<span class="sym">: </span><span class="cmt"> //text to display on the button</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"> <span class="kw">const </span>Text<span class="sym">: </span></span></tt></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><tt><span class="code"><span class="sym">):</span>Integer<span class="sym">;</span><span class="cmt"> //Integer result</span></span></tt></p></td>
|
||||
<td><p><tt><span class="code"><span class="sym">):</span>Boolean<span class="sym">;</span></span></tt></p></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Arguments</h2>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">r</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">optionally provides a location and size for the button</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">Text</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">text to display on the button</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">state</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">whether the button is depressed</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">style</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">optional style flag to modify the look</p></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Arguments</h2>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">r</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">optionally provides a location and size for the button</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><p><tt><span class="code">Text</span></tt></p></td>
|
||||
<td><p> </p></td>
|
||||
<td><p class="cmt">text to display on the button</p></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<h2>Description</h2>
|
||||
<p>The button method does only take a text and state variable. This variable is modified if the button is pressed or depressed. When a state change occurs the method function returns <var>True</var>.</p>
|
||||
<img alt="" src="../images/button.png">
|
||||
|
Reference in New Issue
Block a user