📄 structskin__item__s.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: skin_item_s Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>skin_item_s Struct Reference<br><small>[<a class="el" href="group__mgext__skin__fns.htm">Skin related routines</a>]</small></h1><code>#include <<a class="el" href="skin_8h-source.htm">skin.h</a>></code><p><h2>Data Fields</h2><ul><li>int <a class="el" href="structskin__item__s.htm#o0">id</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="structskin__item__s.htm#o1">style</a><li>int <a class="el" href="structskin__item__s.htm#o2">x</a><li>int <a class="el" href="structskin__item__s.htm#o3">y</a><li><a class="el" href="struct__RECT.htm">RECT</a> <a class="el" href="structskin__item__s.htm#o4">item_rc</a><li>int <a class="el" href="structskin__item__s.htm#o5">bmp_index</a><li>char * <a class="el" href="structskin__item__s.htm#o6">tip</a><li><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="structskin__item__s.htm#o7">attached</a><li>void * <a class="el" href="structskin__item__s.htm#o8">type_data</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Skin item information structure <p><p>Definition at line <a class="el" href="skin_8h-source.htm#l00276">276</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>.<hr><h2>Field Documentation</h2><a class="anchor" name="o7" doxytag="skin_item_s::attached"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="structskin__item__s.htm#o7">attached</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The attached private data with the item by application. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00376">376</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o5" doxytag="skin_item_s::bmp_index"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="structskin__item__s.htm#o5">bmp_index</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The index of the item bitmap in the skin bitmap array. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00370">370</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o0" doxytag="skin_item_s::id"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="structskin__item__s.htm#o0">id</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The identifier of the item. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00279">279</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o4" doxytag="skin_item_s::item_rc"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="struct__RECT.htm">RECT</a> <a class="el" href="structskin__item__s.htm#o4">item_rc</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The hit-test rectangle of the item. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00367">367</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o1" doxytag="skin_item_s::style"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="group__win32__types.htm#ga4">DWORD</a> <a class="el" href="structskin__item__s.htm#o1">style</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The style of the item.<p>The style of an item is composed of five classes of information:<p><ul><li>The type of an item.</li><li>The hit-test shape type.</li><li>The common status.</li><li>The item specific status.</li><li>The item specific style.</li></ul><p>The type of an item can be one of the following values:<p><ul><li>SI_TYPE_NRMLABEL<br> The item is a normal label.</li><li>SI_TYPE_BMPLABEL<br> The item is a bitmap label.</li><li>SI_TYPE_CMDBUTTON<br> The item is a command button.</li><li>SI_TYPE_CHKBUTTON<br> The item is a check button.</li><li>SI_TYPE_NRMSLIDER<br> The item is a normal slider.</li><li>SI_TYPE_ROTSLIDER<br> The item is a rotation slider.</li></ul><p>The hit-test shape type can be one of the following values:<p><ul><li>SI_TEST_SHAPE_RECT<br> The hit-test shape is a rect.</li><li>SI_TEST_SHAPE_ELLIPSE<br> The hit-test shape is an ellipse.</li><li>SI_TEST_SHAPE_LOZENGE<br> The hit-test shape is a lozenge.</li><li>SI_TEST_SHAPE_LTRIANGLE<br> The hit-test shape is a left triangle.</li><li>SI_TEST_SHAPE_RTRIANGLE<br> The hit-test shape is a right triangle.</li><li>SI_TEST_SHAPE_UTRIANGLE<br> The hit-test shape is a up triangle.</li><li>SI_TEST_SHAPE_DTRIANGLE<br> The hit-test shape is a down triangle.</li></ul><p>The common status of an item can be OR'ed with the following values:<p><ul><li>SI_STATUS_OK<br> The basic status of an item, always be there.</li><li>SI_STATUS_VISIBLE<br> The item is visble.</li><li>SI_STATUS_DISABLED<br> The item is disabled.</li><li>SI_STATUS_HILIGHTED<br> The item is hilighted.</li></ul><p>The item specific status can be one of the following values:<p><ul><li>SI_BTNSTATUS_CLICKED<br> The three-state button is clicked.</li><li>SI_BTNSTATUS_CHECKED<br> The check button is ckecked.</li></ul><p>The item specific style can be a valued OR'ed with the following values:<p><ul><li>SI_NRMSLIDER_HORZ<br> The normal slider is horizontal.</li><li>SI_NRMSLIDER_VERT<br> The normal slider is vertical.</li><li>SI_NRMSLIDER_STATIC<br> The normal slider is static, i.e., the slider acts like a progress bar.</li><li>SI_ROTSLIDER_CW<br> The rotation slider is clockwise.</li><li>SI_ROTSLIDER_ANTICW<br> The rotation slider is anti-clockwise.</li><li>SI_ROTSLIDER_STATIC<br> The rotation slider is static, i.e., the slider acts like a progress bar. </li></ul><p>Definition at line <a class="el" href="skin_8h-source.htm#l00359">359</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o6" doxytag="skin_item_s::tip"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">char* <a class="el" href="structskin__item__s.htm#o6">tip</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The tip text. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00373">373</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o8" doxytag="skin_item_s::type_data"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void* <a class="el" href="structskin__item__s.htm#o8">type_data</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The type-specific data of the item, used to define extra information of the item. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00382">382</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o2" doxytag="skin_item_s::x"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="structskin__item__s.htm#o2">x</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>X-coordinate of the item in the skin. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00362">362</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><a class="anchor" name="o3" doxytag="skin_item_s::y"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="structskin__item__s.htm#o3">y</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Y-coordinate of the item in the skin. <p>Definition at line <a class="el" href="skin_8h-source.htm#l00364">364</a> of file <a class="el" href="skin_8h-source.htm">skin.h</a>. </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="skin_8h-source.htm">skin.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:53 2007 for MiniGUI V1.6.10 API Reference by <a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -