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

📄 classfg__keymap.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: FG_KeyMap class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- 制作者 Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">首页</a> | <a class="qindex" href="modules.html">模块</a> | <a class="qindex" href="hierarchy.html">类继承关系</a> | <a class="qindex" href="classes.html">按字典顺序排序的列表</a> | <a class="qindex" href="annotated.html">组合类型列表</a> | <a class="qindex" href="files.html">文件列表</a> | <a class="qindex" href="functions.html">组合类型成员</a> | <a class="qindex" href="globals.html">文件成员</a></div><h1>FG_KeyMap类参考<br><small>[<a class="el" href="group__Framework.html">框架层</a>]</small></h1><code>#include &lt;<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>&gt;</code><p>FG_KeyMap合作图:<p><center><img src="classFG__KeyMap__coll__graph.png" border="0" usemap="#FG__KeyMap__coll__map" alt="Collaboration graph"></center><map name="FG__KeyMap__coll__map"><area href="classFG__SList.html" shape="rect" coords="7,17,124,193" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classFG__KeyMap-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>键盘映射表管理器 <p>保存和管理所有的<a class="el" href="structFG__KeyMapItem.html">FG_KeyMapItem</a> <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00077">77</a>行定义。<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__KeyMap.html#a0">~FG_KeyMap</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">键盘映射表管理器得析构函数  <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__KeyMap.html#a1">RegisterKey</a> (<a class="el" href="group__Utility.html#ga1">WORD</a> wOrgKey, <a class="el" href="group__Utility.html#ga1">WORD</a> wActKey, <a class="el" href="classFG__Widget.html">FG_Widget</a> *pTarget)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">注册快捷键  <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__KeyMap.html#a2">SendKey</a> (<a class="el" href="structFG__Message.html">FG_Message</a> *pMsg)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">处理快捷键  <a href="#a2"></a><br><br></td></tr><tr><td colspan=2><br><h2>私有类型</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classFG__SList.html">FG_SList</a>&lt; <a class="el" href="structFG__KeyMapItem.html">FG_KeyMapItem</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__KeyMap.html#y0">FG_KEYMAPLIST</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">保存键盘映射表项的单向链表容器类(<a class="el" href="classFG__SList.html">FG_SList</a>)  <a href="#y0"></a><br><br></td></tr><tr><td colspan=2><br><h2>私有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFG__SList.html">FG_KEYMAPLIST</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__KeyMap.html#r0">m_KeyMapList</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">保存键盘映射表项的单向链表容器对象  <a href="#r0"></a><br><br></td></tr></table><hr><h2>成员类型定义文档</h2><a class="anchor" name="y0" doxytag="FG_KeyMap::FG_KEYMAPLIST" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> typedef <a class="el" href="classFG__SList.html">FG_SList</a>&lt;<a class="el" href="structFG__KeyMapItem.html">FG_KeyMapItem</a>&gt; <a class="el" href="classFG__SList.html">FG_KeyMap::FG_KEYMAPLIST</a><code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>保存键盘映射表项的单向链表容器类(<a class="el" href="classFG__SList.html">FG_SList</a>) <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00113">113</a>行定义。    </td>  </tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_KeyMap::~FG_KeyMap" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> FG_KeyMap::~<a class="el" href="classFG__KeyMap.html">FG_KeyMap</a> </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>键盘映射表管理器得析构函数 <p><p>在文件<a class="el" href="FG__KeyMap_8cpp-source.html">FG_KeyMap.cpp</a>第<a class="el" href="FG__KeyMap_8cpp-source.html#l00050">50</a>行定义。<p>参考 <a class="el" href="FG__List_8h-source.html#l00545">FG_SList&lt; ITEM &gt;::First()</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00116">m_KeyMapList</a>及<a class="el" href="FG__List_8h-source.html#l00607">FG_SList&lt; ITEM &gt;::RemoveAll()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__KeyMap_a0_cgraph.png" border="0" usemap="#classFG__KeyMap_a0_cgraph_map" alt=""></center><map name="classFG__KeyMap_a0_cgraph_map"><area href="classFG__SList.html#a2" shape="rect" coords="254,6,350,33" alt=""><area href="classFG__SList.html#a6" shape="rect" coords="237,57,368,84" alt=""></map><hr><h2>成员函数文档</h2><a class="anchor" name="a1" doxytag="FG_KeyMap::RegisterKey" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool FG_KeyMap::RegisterKey </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wOrgKey</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wActKey</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="classFG__Widget.html">FG_Widget</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pTarget</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>注册快捷键 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>wOrgKey</em>&nbsp;</td><td>原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a> </td></tr>    <tr><td valign=top><em>wActKey</em>&nbsp;</td><td>实际的<a class="el" href="group__Virtual__Key.html">虚拟键码</a> </td></tr>    <tr><td valign=top><em>pTarget</em>&nbsp;</td><td>目标控件 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>bool 注册操作是否成功 true 成功 false 失败 </dd></dl><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00095">95</a>行定义。<p>参考 <a class="el" href="FG__List_8h-source.html#l00565">FG_SList&lt; ITEM &gt;::Add()</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00116">m_KeyMapList</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00126">FG_Window::RegisterKey()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__KeyMap_a1_cgraph.png" border="0" usemap="#classFG__KeyMap_a1_cgraph_map" alt=""></center><map name="classFG__KeyMap_a1_cgraph_map"><area href="classFG__SList.html#a4" shape="rect" coords="226,7,320,33" alt=""></map><a class="anchor" name="a2" doxytag="FG_KeyMap::SendKey" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool FG_KeyMap::SendKey </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="structFG__Message.html">FG_Message</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pMsg</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>处理快捷键 <p>在单项链表容器中查找此快捷键,找到后进行转换,然后发送给目标控件,否则返回false <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pMsg</em>&nbsp;</td><td>指向键盘消息的指针 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>bool 该键盘消息是否被处理 true 该键盘消息被处理 false 该键盘消息未被处理 </dd></dl><p>在文件<a class="el" href="FG__KeyMap_8cpp-source.html">FG_KeyMap.cpp</a>第<a class="el" href="FG__KeyMap_8cpp-source.html#l00059">59</a>行定义。<p>参考 <a class="el" href="FG__List_8h-source.html#l00866">FG_ListFind_If()</a>、<a class="el" href="FG__List_8h-source.html#l00545">FG_SList&lt; ITEM &gt;::First()</a>、<a class="el" href="FG__Message_8h-source.html#l00200">FG_Message::lData</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00116">m_KeyMapList</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00192">FG_Window::OnKey()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__KeyMap_a2_cgraph.png" border="0" usemap="#classFG__KeyMap_a2_cgraph_map" alt=""></center><map name="classFG__KeyMap_a2_cgraph_map"><area href="group__Utility.html#ga10" shape="rect" coords="212,6,305,33" alt=""><area href="classFG__SList.html#a2" shape="rect" coords="211,57,307,84" alt=""><area href="classFG__ListCheck.html#a0" shape="rect" coords="356,6,487,33" alt=""></map><hr><h2>成员数据文档</h2><a class="anchor" name="r0" doxytag="FG_KeyMap::m_KeyMapList" ></a><p><table class="mdTable" width="100%" 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="classFG__SList.html">FG_KEYMAPLIST</a> <a class="el" href="classFG__KeyMap.html#r0">FG_KeyMap::m_KeyMapList</a><code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>保存键盘映射表项的单向链表容器对象 <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00116">116</a>行定义。<p>参考自 <a class="el" href="FG__KeyMap_8h-source.html#l00095">RegisterKey()</a>、<a class="el" href="FG__KeyMap_8cpp-source.html#l00059">SendKey()</a>及<a class="el" href="FG__KeyMap_8cpp-source.html#l00050">~FG_KeyMap()</a>.    </td>  </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a><li><a class="el" href="FG__KeyMap_8cpp-source.html">FG_KeyMap.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:37 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

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