| 1 |
|
| 2 |
<refentry id="FLhvsBoxSetValue"> |
| 3 |
<indexterm id="IndexFLhvsBoxSetValue"><primary>FLhvsBoxSetValue</primary></indexterm> |
| 4 |
<refentryinfo><title>FLTK:Other</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>FLhvsBoxSetValue</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>FLhvsBoxSetValue</refname> |
| 11 |
<refpurpose> |
| 12 |
Sets the cursor position of a previously-declared FLhvsBox widget. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para> |
| 19 |
Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac. |
| 20 |
The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para> |
| 21 |
<para> |
| 22 |
<emphasis>FLhvsBoxSetValue</emphasis> sets the cursor position of a previously-declared <link linkend="FLhvsBox"><citetitle>FLhvsBox</citetitle></link> widget. |
| 23 |
</para> |
| 24 |
</refsect1> |
| 25 |
|
| 26 |
<refsect1> |
| 27 |
<title>Syntax</title> |
| 28 |
<synopsis><command>FLhvsBox</command> kx, ky, ihandle</synopsis> |
| 29 |
</refsect1> |
| 30 |
|
| 31 |
<refsect1> |
| 32 |
<title>Initialization</title> |
| 33 |
<para> |
| 34 |
<emphasis>ihandle</emphasis> – an integer number used a univocally-defined handle for identifying a specific HVS box (see below). |
| 35 |
</para> |
| 36 |
</refsect1> |
| 37 |
|
| 38 |
<refsect1> |
| 39 |
<title>Performance</title> |
| 40 |
<para> |
| 41 |
<emphasis>kx, ky</emphasis>– the coordinates of the HVS cursor position to be set. |
| 42 |
</para> |
| 43 |
<para> |
| 44 |
<emphasis>FLhvsBoxSetValue</emphasis> sets the cursor position of a previously-declared <link linkend="FLhvsBox"><citetitle>FLhvsBox</citetitle></link> widget. The <emphasis>kx</emphasis> and <emphasis>ky</emphasis> arguments, denoting the cursor position, have to be expressed in normalized values (0 to 1 range). |
| 45 |
</para> |
| 46 |
<para> |
| 47 |
See the entry for <link linkend="hvs2"><citetitle>hvs2</citetitle></link> for an example of usage of <emphasis>FLhvsBoxSetValue</emphasis>.</para> |
| 48 |
</refsect1> |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
<refsect1> |
| 63 |
<title>See Also</title> |
| 64 |
<para> |
| 65 |
<link linkend="hvs2"><citetitle>hvs2</citetitle></link>, |
| 66 |
<link linkend="FLhvsBox"><citetitle>FLhvsBox</citetitle></link> |
| 67 |
</para> |
| 68 |
</refsect1> |
| 69 |
|
| 70 |
<refsect1> |
| 71 |
<title>Credits</title> |
| 72 |
<para>Author: &namegabriel;</para> |
| 73 |
<para>New in version 5.06</para> |
| 74 |
</refsect1> |
| 75 |
</refentry> |