<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libnjb: njb_eax_struct Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>njb_eax_struct Struct Reference</h1><!-- doxytag: class="njb_eax_struct" --><code>#include <<a class="el" href="libnjb_8h_source.html">libnjb.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#c5e49d1efecf648a4e066d6a27e6b470">number</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#bdb3bc8dbe965974e31dfe8a60de6125">name</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#52136d50f154229d9df24ea389478687">exclusive</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#a8c7d20648860165ae69bd6c4ab3a450">group</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="libnjb_8h.html#31a8a9da84fa42ffdc7eed0cd2978192">njb_eax_control_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#920778f9df1f740be70efca4340197f2">type</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#4133ff6ae8d2d821fdda1a40e9e6c9b6">current_value</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#1500b0227c7537a7644bb5a638257998">min_value</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#e605e5c3487bef32a97186fae24e6b8e">max_value</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#827b00e65663f69ac950247913fba496">option_names</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structnjb__eax__struct.html">njb_eax_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__eax__struct.html#533be0dfe083727c31caf49e2ef3d33e">next</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This is the EAX API type. <dl compact><dt><b>Examples: </b></dt><dd> <p> <a class="el" href="dumpeax_8c-example.html#_a2">dumpeax.c</a>.</dl><hr><h2>Field Documentation</h2> <a class="anchor" name="4133ff6ae8d2d821fdda1a40e9e6c9b6"></a><!-- doxytag: member="njb_eax_struct::current_value" ref="4133ff6ae8d2d821fdda1a40e9e6c9b6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__eax__struct.html#4133ff6ae8d2d821fdda1a40e9e6c9b6">njb_eax_struct::current_value</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The current value of this effect. Notice that this value may be negative! <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a15">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="52136d50f154229d9df24ea389478687"></a><!-- doxytag: member="njb_eax_struct::exclusive" ref="52136d50f154229d9df24ea389478687" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int8_t <a class="el" href="structnjb__eax__struct.html#52136d50f154229d9df24ea389478687">njb_eax_struct::exclusive</a> </td> </tr> </table> </div> <div class="memdoc"> <p> 0x00 = not exclusive, 0x01 = exclusive The "exclusive" attribute signifies if this effect can be used in parallell with other EAX effects, GUI:s shall make sure all other effects are reset to default values when one effect is chosen. <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a13">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="a8c7d20648860165ae69bd6c4ab3a450"></a><!-- doxytag: member="njb_eax_struct::group" ref="a8c7d20648860165ae69bd6c4ab3a450" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int8_t <a class="el" href="structnjb__eax__struct.html#a8c7d20648860165ae69bd6c4ab3a450">njb_eax_struct::group</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The visual group for this effect - effects appearing after each other are grouped if their group numbers are identical <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a12">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="e605e5c3487bef32a97186fae24e6b8e"></a><!-- doxytag: member="njb_eax_struct::max_value" ref="e605e5c3487bef32a97186fae24e6b8e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__eax__struct.html#e605e5c3487bef32a97186fae24e6b8e">njb_eax_struct::max_value</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The maximum value for this effect. <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a16">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00319">destroy_eax_type()</a>, <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="1500b0227c7537a7644bb5a638257998"></a><!-- doxytag: member="njb_eax_struct::min_value" ref="1500b0227c7537a7644bb5a638257998" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__eax__struct.html#1500b0227c7537a7644bb5a638257998">njb_eax_struct::min_value</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The minumum value for this effect. Notice that this value may be negative! <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a17">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00319">destroy_eax_type()</a>, <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="bdb3bc8dbe965974e31dfe8a60de6125"></a><!-- doxytag: member="njb_eax_struct::name" ref="bdb3bc8dbe965974e31dfe8a60de6125" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structnjb__eax__struct.html#bdb3bc8dbe965974e31dfe8a60de6125">njb_eax_struct::name</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The name of this effect <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a11">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00319">destroy_eax_type()</a>, <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="533be0dfe083727c31caf49e2ef3d33e"></a><!-- doxytag: member="njb_eax_struct::next" ref="533be0dfe083727c31caf49e2ef3d33e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structnjb__eax__struct.html">njb_eax_t</a>* <a class="el" href="structnjb__eax__struct.html#533be0dfe083727c31caf49e2ef3d33e">njb_eax_struct::next</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Only to be used inside of libnjb <p>Referenced by <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="c5e49d1efecf648a4e066d6a27e6b470"></a><!-- doxytag: member="njb_eax_struct::number" ref="c5e49d1efecf648a4e066d6a27e6b470" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int16_t <a class="el" href="structnjb__eax__struct.html#c5e49d1efecf648a4e066d6a27e6b470">njb_eax_struct::number</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The number of this effect <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a10">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="827b00e65663f69ac950247913fba496"></a><!-- doxytag: member="njb_eax_struct::option_names" ref="827b00e65663f69ac950247913fba496" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char** <a class="el" href="structnjb__eax__struct.html#827b00e65663f69ac950247913fba496">njb_eax_struct::option_names</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Array with names for the selections, if this is a fixed option control. It may not be dereferenced for slider controls. <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a18">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00319">destroy_eax_type()</a>, <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <a class="anchor" name="920778f9df1f740be70efca4340197f2"></a><!-- doxytag: member="njb_eax_struct::type" ref="920778f9df1f740be70efca4340197f2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="libnjb_8h.html#31a8a9da84fa42ffdc7eed0cd2978192">njb_eax_control_t</a> <a class="el" href="structnjb__eax__struct.html#920778f9df1f740be70efca4340197f2">njb_eax_struct::type</a> </td> </tr> </table> </div> <div class="memdoc"> <p> NJB_EAX_NO_CONTROL, NJB_EAX_SLIDER_CONTROL, NJB_EAX_FIXED_OPTION_CONTROL<p> this replaces selectable, scalable with a single variable <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumpeax_8c-example.html#a14">dumpeax.c</a>.</dl> <p>Referenced by <a class="el" href="eax_8c_source.html#l00319">destroy_eax_type()</a>, <a class="el" href="eax_8c_source.html#l00066">eax_unpack()</a>, and <a class="el" href="eax_8c_source.html#l00286">new_eax_type()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>/builddir/build/BUILD/libnjb-2.2.6/src/<a class="el" href="libnjb_8h_source.html">libnjb.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 17:17:26 2009 for libnjb by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>