| 1 |
|
| 2 |
<refentry id="FLhvsBox"> |
| 3 |
<indexterm id="IndexFLhvsBox"><primary>FLhvsBox</primary></indexterm> |
| 4 |
<refentryinfo><title>FLTK:Other</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>FLhvsBox</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>FLhvsBox</refname> |
| 11 |
<refpurpose> |
| 12 |
Displays a box with a grid useful for visualizing two-dimensional Hyper Vectorial Synthesis. |
| 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>FLhvsBox</emphasis> displays a box with a grid useful for visualizing two-dimensional Hyper Vectorial Synthesis. |
| 23 |
</para> |
| 24 |
</refsect1> |
| 25 |
|
| 26 |
<refsect1> |
| 27 |
<title>Syntax</title> |
| 28 |
<synopsis>ihandle <command>FLhvsBox</command> inumlinesX, inumlinesY, iwidth, iheight, ix, iy</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 |
<para> |
| 37 |
<emphasis>inumlinesX, inumlinesY</emphasis> - number of vertical and horizontal lines delimiting the HVS squared areas |
| 38 |
</para> |
| 39 |
<para> |
| 40 |
<emphasis>iwidth, iheight</emphasis> - width and height of the HVS box |
| 41 |
</para> |
| 42 |
<para> |
| 43 |
<emphasis>ix, iy</emphasis> - the position of the HVS box |
| 44 |
</para> |
| 45 |
</refsect1> |
| 46 |
|
| 47 |
<refsect1> |
| 48 |
<title>Performance</title> |
| 49 |
<para> |
| 50 |
<emphasis>FLhvsBox</emphasis> is a widget able to visualize current position of the HVS cursor in an HVS box (i.e. a squared area containing a grid). The number of horizontal and vertical lines of the grid can be defined with the <emphasis>inumlinesX, inumlinesY</emphasis> arguments. This opcode has to be declared inside an <link linkend="FLpanel"><citetitle>FLpanel</citetitle></link> - <link linkend="FLpanelEnd"><citetitle>FLpanelEnd</citetitle></link> block. See the entry for <link linkend="hvs2"><citetitle>hvs2</citetitle></link> for an example of usage of <emphasis>FLhvsBox</emphasis>. |
| 51 |
</para> |
| 52 |
<para> |
| 53 |
<link linkend="FLhvsBoxSetValue"><citetitle>FLhvsBoxSetValue</citetitle></link> is used to set the cursor position of an <emphasis>FLhvsBox</emphasis> widget. |
| 54 |
</para> |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
</refsect1> |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
<refsect1> |
| 75 |
<title>See Also</title> |
| 76 |
<para> |
| 77 |
<link linkend="hvs2"><citetitle>hvs2</citetitle></link>, |
| 78 |
<link linkend="FLhvsBoxSetValue"><citetitle>FLhvsBoxSetValue</citetitle></link> |
| 79 |
</para> |
| 80 |
</refsect1> |
| 81 |
|
| 82 |
<refsect1> |
| 83 |
<title>Credits</title> |
| 84 |
<para>Author: &namegabriel;</para> |
| 85 |
<para>New in version 5.06</para> |
| 86 |
</refsect1> |
| 87 |
</refentry> |