⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classwgui_1_1ckeyboardmessage.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>wGui::CKeyboardMessage class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; </center><hr><h1>wGui::CKeyboardMessage Class Reference</h1>Any messages generated from keyboard input. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="wg__message_8h-source.html">wg_message.h</a>&gt;</code><p><p>Inheritance diagram for wGui::CKeyboardMessage:<p><center><img src="classwGui_1_1CKeyboardMessage.png" usemap="#wGui::CKeyboardMessage_map" border="0" alt=""></center><map name="wGui::CKeyboardMessage_map"><area href="classwGui_1_1CMessage.html" alt="wGui::CMessage" shape="rect" coords="0,0,161,24"></map><h2>Public Methods</h2><ul><li><a class="el" href="classwGui_1_1CKeyboardMessage.html#a0">CKeyboardMessage</a> (const <a class="el" href="classwGui_1_1CMessage.html#s16">EMessageType</a> MessageType, const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *pDestination, const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *pSource, unsigned char <a class="el" href="classwGui_1_1CKeyboardMessage.html#m0">ScanCode</a>, SDLMod <a class="el" href="classwGui_1_1CKeyboardMessage.html#m1">Modifiers</a>, SDLKey <a class="el" href="classwGui_1_1CKeyboardMessage.html#m2">Key</a>, Uint16 <a class="el" href="classwGui_1_1CKeyboardMessage.html#m3">Unicode</a>)</ul><h2>Data Fields</h2><ul><li><a name="m0" doxytag="wGui::CKeyboardMessage::ScanCode"></a>unsigned char <a class="el" href="classwGui_1_1CKeyboardMessage.html#m0">ScanCode</a><dl class="el"><dd><font size=-1><em><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ScanCode</em>&nbsp;</td><td>The scan code of the key pressed</td></tr></table></dl><br><br></em></font></dl><li><a name="m1" doxytag="wGui::CKeyboardMessage::Modifiers"></a>SDLMod <a class="el" href="classwGui_1_1CKeyboardMessage.html#m1">Modifiers</a><dl class="el"><dd><font size=-1><em><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>Modifiers</em>&nbsp;</td><td>Any modifier keys that are being pressed (alt, ctrl, shift, etc)</td></tr></table></dl><br><br></em></font></dl><li><a name="m2" doxytag="wGui::CKeyboardMessage::Key"></a>SDLKey <a class="el" href="classwGui_1_1CKeyboardMessage.html#m2">Key</a><dl class="el"><dd><font size=-1><em><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>Key</em>&nbsp;</td><td>The SDLKey that defines the key pressed</td></tr></table></dl><br><br></em></font></dl><li><a name="m3" doxytag="wGui::CKeyboardMessage::Unicode"></a>Uint16 <a class="el" href="classwGui_1_1CKeyboardMessage.html#m3">Unicode</a><dl class="el"><dd><font size=-1><em>The unicode character the keypress corresponds to.<br><br></em></font></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Any messages generated from keyboard input.<p><p>Definition at line <a class="el" href="wg__message_8h-source.html#l00103">103</a> of file <a class="el" href="wg__message_8h-source.html">wg_message.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="wGui::CKeyboardMessage::CKeyboardMessage"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> wGui::CKeyboardMessage::CKeyboardMessage </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CMessage.html#s16">EMessageType</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>MessageType</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pDestination</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classwGui_1_1CMessageClient.html">CMessageClient</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pSource</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned char&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ScanCode</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>SDLMod&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Modifiers</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>SDLKey&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Key</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>Uint16&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Unicode</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Construct a new Keyboard message <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>MessageType</em>&nbsp;</td><td>The type of message being created </td></tr><tr><td valign=top><em>pDestination</em>&nbsp;</td><td>A pointer to the window that the message is destined for (0 for no specific destination, or to broadcast to all) </td></tr><tr><td valign=top><em>pSource</em>&nbsp;</td><td>A pointer to the window that created the message </td></tr><tr><td valign=top><em>ScanCode</em>&nbsp;</td><td>The scan code of the key pressed </td></tr><tr><td valign=top><em>Modifiers</em>&nbsp;</td><td>Any modifier keys that are being pressed (alt, ctrl, shift, etc) </td></tr><tr><td valign=top><em>Key</em>&nbsp;</td><td>The SDLKey that defines the key pressed </td></tr><tr><td valign=top><em>Unicode</em>&nbsp;</td><td>The unicode character the keypress corresponds to </td></tr></table></dl><p>Definition at line <a class="el" href="wg__message_8cpp-source.html#l00041">41</a> of file <a class="el" href="wg__message_8cpp-source.html">wg_message.cpp</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__message_8h-source.html">wg_message.h</a><li><a class="el" href="wg__message_8cpp-source.html">wg_message.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:27 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -