Debian Codegraph @

opcodes/flvkeybd.xml

raw symbols SCIP
1
2 <refentry id="FLvkeybd">
3 <indexterm id="IndexFLvkeybd"><primary>FLvkeybd</primary></indexterm>
4 <refentryinfo><title>FLTK:Other</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>FLvkeybd</refentrytitle>
7 </refmeta>
8
9
10 <refnamediv>
11 <refname>FLvkeybd</refname>
12 <refpurpose>
13 An FLTK widget opcode that creates a virtual keyboard widget.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 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.
21 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
22 <para>
23 An FLTK widget opcode that creates a virtual keyboard widget. This must
24 be used in conjunction with the virtual midi keyboard driver for this to
25 operate correctly. The purpose of this opcode is for making demo versions
26 of MIDI orchestras with the virtual keyboard embedded within the main
27 window.
28 </para>
29
30 <note>
31 <title>Note</title>
32 <para>
33 The widget version of the virtual keyboard does not include the MIDI
34 sliders found in the full window version of the virtual keyboard.
35 </para>
36 </note>
37 </refsect1>
38
39 <refsect1>
40 <title>Syntax</title>
41 <synopsis><command>FLvkeybd</command> &quot;keyboard.map&quot;, iwidth, iheight, ix, iy</synopsis>
42 </refsect1>
43
44 <refsect1>
45 <title>Initialization</title>
46 <para>
47 <emphasis><quote>keyboard.map</quote></emphasis>
48 -- a double-quoted string containing the keyboard map to use. An empty
49 string (&quot;&quot;) may be used to use the default bank/channel name
50 values. See
51 <link linkend="MidiVirtual">Virtual Midi Keyboard</link>
52 for more information on keyboard mappings.
53 </para>
54
55 <para>
56 <emphasis>iwidth</emphasis> -- width of widget.
57 </para>
58
59 <para>
60 <emphasis>iheight</emphasis> -- height of widget.
61 </para>
62
63 <para>
64 <emphasis>ix</emphasis>
65 -- horizontal position of upper left corner of the keyboard, relative to
66 the upper left corner of corresponding window (expressed in pixels).
67 </para>
68
69 <para>
70 <emphasis>iy</emphasis>
71 -- vertical position of upper left corner of the keyboard, relative to the
72 upper left corner of corresponding window (expressed in pixels).
73 </para>
74
75 <note>
76 <title>Note</title>
77 <para>
78 The standard width and height for the virtual keyboard is 624x120 for
79 the dialog version that is shown when FLvkeybd is not used.
80 </para>
81 </note>
82
83 </refsect1>
84
85 <refsect1>
86 <title>See Also</title>
87 <para>
88 <link linkend="FLbutton"><citetitle>FLbutton</citetitle></link>,
89 <link linkend="FLbox"><citetitle>FLbox</citetitle></link>,
90 <link linkend="FLbutBank"><citetitle>FLbutBank</citetitle></link>,
91 <link linkend="FLprintk"><citetitle>FLprintk</citetitle></link>,
92 <link linkend="FLprintk2"><citetitle>FLprintk2</citetitle></link>,
93 <link linkend="FLvalue"><citetitle>FLvalue</citetitle></link>
94 </para>
95 </refsect1>
96
97 <refsect1>
98 <title>Credits</title>
99 <para>Author: &namesteven;</para>
100 <para>New in version 5.05</para>
101 </refsect1>
102 </refentry>