Skip to content

Commit

Permalink
Merge pull request #24 from Mzying2001/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Mzying2001 authored Mar 24, 2024
2 parents 8f39d3a + 818cdbb commit 3fef336
Show file tree
Hide file tree
Showing 74 changed files with 1,588 additions and 1,003 deletions.
3 changes: 1 addition & 2 deletions docs/_context_menu_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classsw_1_1_context_menu.html#ac51b991e84733be50e525147c3cc9d43"> 16</a></span> <a class="code hl_function" href="classsw_1_1_context_menu.html#ac51b991e84733be50e525147c3cc9d43">ContextMenu</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classsw_1_1_context_menu.html#a63c072213d8bfb7cbe4d6974eb44266b"> 21</a></span> <a class="code hl_function" href="classsw_1_1_context_menu.html#a63c072213d8bfb7cbe4d6974eb44266b">ContextMenu</a>(std::initializer_list&lt;MenuItem&gt; <a class="code hl_variable" href="classsw_1_1_menu_base.html#a661efe79f75f4e6ae0d5b166b7db4147">items</a>);</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classsw_1_1_context_menu.html#a63c072213d8bfb7cbe4d6974eb44266b"> 21</a></span> <a class="code hl_function" href="classsw_1_1_context_menu.html#a63c072213d8bfb7cbe4d6974eb44266b">ContextMenu</a>(std::initializer_list&lt;MenuItem&gt; items);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classsw_1_1_context_menu.html#a968f4539826715feb35237acb1ec02b3"> 28</a></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsw_1_1_context_menu.html#a968f4539826715feb35237acb1ec02b3">IsContextMenuID</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
Expand All @@ -129,7 +129,6 @@
<div class="ttc" id="aclasssw_1_1_context_menu_html_ac51b991e84733be50e525147c3cc9d43"><div class="ttname"><a href="classsw_1_1_context_menu.html#ac51b991e84733be50e525147c3cc9d43">sw::ContextMenu::ContextMenu</a></div><div class="ttdeci">ContextMenu()</div><div class="ttdoc">初始化上下文菜单</div></div>
<div class="ttc" id="aclasssw_1_1_context_menu_html_ae27616f20c9f03d7e5b81eaa6e7f3446"><div class="ttname"><a href="classsw_1_1_context_menu.html#ae27616f20c9f03d7e5b81eaa6e7f3446">sw::ContextMenu::IndexToID</a></div><div class="ttdeci">virtual int IndexToID(int index) override</div><div class="ttdoc">根据索引获取ID</div></div>
<div class="ttc" id="aclasssw_1_1_menu_base_html"><div class="ttname"><a href="classsw_1_1_menu_base.html">sw::MenuBase</a></div><div class="ttdoc">菜单类型的基类</div><div class="ttdef"><b>Definition</b> MenuBase.h:17</div></div>
<div class="ttc" id="aclasssw_1_1_menu_base_html_a661efe79f75f4e6ae0d5b166b7db4147"><div class="ttname"><a href="classsw_1_1_menu_base.html#a661efe79f75f4e6ae0d5b166b7db4147">sw::MenuBase::items</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; MenuItem &gt; &gt; items</div><div class="ttdoc">菜单项集合</div><div class="ttdef"><b>Definition</b> MenuBase.h:53</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
2 changes: 1 addition & 1 deletion docs/_dictionary_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
<div class="ttc" id="aclasssw_1_1_dictionary_html_ab46b8829980f88dd6fe703d4d2961773"><div class="ttname"><a href="classsw_1_1_dictionary.html#ab46b8829980f88dd6fe703d4d2961773">sw::Dictionary::rend</a></div><div class="ttdeci">auto rend() const</div><div class="ttdoc">反向迭代器结束</div><div class="ttdef"><b>Definition</b> Dictionary.h:76</div></div>
<div class="ttc" id="aclasssw_1_1_dictionary_html_afa7a405134901716b4affecc9f01df0f"><div class="ttname"><a href="classsw_1_1_dictionary.html#afa7a405134901716b4affecc9f01df0f">sw::Dictionary::Copy</a></div><div class="ttdeci">Dictionary Copy() const</div><div class="ttdoc">复制当前字典</div><div class="ttdef"><b>Definition</b> Dictionary.h:160</div></div>
<div class="ttc" id="aclasssw_1_1_dictionary_html_afc07e417b7ccc36dc5a7dab5018b6186"><div class="ttname"><a href="classsw_1_1_dictionary.html#afc07e417b7ccc36dc5a7dab5018b6186">sw::Dictionary::Remove</a></div><div class="ttdeci">void Remove(const TKey &amp;key) const</div><div class="ttdoc">移除指定键值对</div><div class="ttdef"><b>Definition</b> Dictionary.h:144</div></div>
<div class="ttc" id="aclasssw_1_1_utils_html_abb9a32e7b7d1fb83832c9a39a84c3452"><div class="ttname"><a href="classsw_1_1_utils.html#abb9a32e7b7d1fb83832c9a39a84c3452">sw::Utils::BuildStr</a></div><div class="ttdeci">static std::wstring BuildStr(const Args &amp;...args)</div><div class="ttdoc">拼接字符串,也可使用此函数将其他类型转为wstring</div><div class="ttdef"><b>Definition</b> Utils.h:69</div></div>
<div class="ttc" id="aclasssw_1_1_utils_html_abb9a32e7b7d1fb83832c9a39a84c3452"><div class="ttname"><a href="classsw_1_1_utils.html#abb9a32e7b7d1fb83832c9a39a84c3452">sw::Utils::BuildStr</a></div><div class="ttdeci">static std::wstring BuildStr(const Args &amp;...args)</div><div class="ttdoc">拼接字符串,也可使用此函数将其他类型转为wstring</div><div class="ttdef"><b>Definition</b> Utils.h:87</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
2 changes: 1 addition & 1 deletion docs/_list_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
<div class="ttc" id="aclasssw_1_1_list_html_ad84dc17e0d073e18e2f44871c27025de"><div class="ttname"><a href="classsw_1_1_list.html#ad84dc17e0d073e18e2f44871c27025de">sw::List::List</a></div><div class="ttdeci">List()</div><div class="ttdoc">初始化列表</div><div class="ttdef"><b>Definition</b> List.h:35</div></div>
<div class="ttc" id="aclasssw_1_1_list_html_ae0f77fc0d146ee739725da4cc337bbe4"><div class="ttname"><a href="classsw_1_1_list.html#ae0f77fc0d146ee739725da4cc337bbe4">sw::List::Remove</a></div><div class="ttdeci">bool Remove(const T &amp;value) const</div><div class="ttdoc">移除列表中第一个指定的值</div><div class="ttdef"><b>Definition</b> List.h:188</div></div>
<div class="ttc" id="aclasssw_1_1_list_html_aed38231dffce414f40d272aba6e7099c"><div class="ttname"><a href="classsw_1_1_list.html#aed38231dffce414f40d272aba6e7099c">sw::List::IsEmpty</a></div><div class="ttdeci">bool IsEmpty() const</div><div class="ttdoc">列表是否为空</div><div class="ttdef"><b>Definition</b> List.h:141</div></div>
<div class="ttc" id="aclasssw_1_1_utils_html_abb9a32e7b7d1fb83832c9a39a84c3452"><div class="ttname"><a href="classsw_1_1_utils.html#abb9a32e7b7d1fb83832c9a39a84c3452">sw::Utils::BuildStr</a></div><div class="ttdeci">static std::wstring BuildStr(const Args &amp;...args)</div><div class="ttdoc">拼接字符串,也可使用此函数将其他类型转为wstring</div><div class="ttdef"><b>Definition</b> Utils.h:69</div></div>
<div class="ttc" id="aclasssw_1_1_utils_html_abb9a32e7b7d1fb83832c9a39a84c3452"><div class="ttname"><a href="classsw_1_1_utils.html#abb9a32e7b7d1fb83832c9a39a84c3452">sw::Utils::BuildStr</a></div><div class="ttdeci">static std::wstring BuildStr(const Args &amp;...args)</div><div class="ttdoc">拼接字符串,也可使用此函数将其他类型转为wstring</div><div class="ttdef"><b>Definition</b> Utils.h:87</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
Expand Down
4 changes: 2 additions & 2 deletions docs/_menu_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classsw_1_1_menu.html#a6fb318031278424d8e571ee05b6654bc"> 16</a></span> <a class="code hl_function" href="classsw_1_1_menu.html#a6fb318031278424d8e571ee05b6654bc">Menu</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classsw_1_1_menu.html#ac24676f02acaac6350331a49ca2e6f44"> 21</a></span> <a class="code hl_function" href="classsw_1_1_menu.html#ac24676f02acaac6350331a49ca2e6f44">Menu</a>(std::initializer_list&lt;MenuItem&gt; <a class="code hl_variable" href="classsw_1_1_menu_base.html#a661efe79f75f4e6ae0d5b166b7db4147">items</a>);</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classsw_1_1_menu.html#ac24676f02acaac6350331a49ca2e6f44"> 21</a></span> <a class="code hl_function" href="classsw_1_1_menu.html#ac24676f02acaac6350331a49ca2e6f44">Menu</a>(std::initializer_list&lt;MenuItem&gt; <a class="code hl_class" href="classsw_1_1_dictionary.html">items</a>);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">protected</span>:</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classsw_1_1_menu.html#a522312cc29234ea9048d94fae7258027"> 29</a></span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classsw_1_1_menu.html#a522312cc29234ea9048d94fae7258027">IndexToID</a>(<span class="keywordtype">int</span> index) <span class="keyword">override</span>;</div>
Expand All @@ -120,8 +120,8 @@
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> };</div>
</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类,内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="aclasssw_1_1_menu_base_html"><div class="ttname"><a href="classsw_1_1_menu_base.html">sw::MenuBase</a></div><div class="ttdoc">菜单类型的基类</div><div class="ttdef"><b>Definition</b> MenuBase.h:17</div></div>
<div class="ttc" id="aclasssw_1_1_menu_base_html_a661efe79f75f4e6ae0d5b166b7db4147"><div class="ttname"><a href="classsw_1_1_menu_base.html#a661efe79f75f4e6ae0d5b166b7db4147">sw::MenuBase::items</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; MenuItem &gt; &gt; items</div><div class="ttdoc">菜单项集合</div><div class="ttdef"><b>Definition</b> MenuBase.h:53</div></div>
<div class="ttc" id="aclasssw_1_1_menu_html"><div class="ttname"><a href="classsw_1_1_menu.html">sw::Menu</a></div><div class="ttdoc">菜单</div><div class="ttdef"><b>Definition</b> Menu.h:11</div></div>
<div class="ttc" id="aclasssw_1_1_menu_html_a522312cc29234ea9048d94fae7258027"><div class="ttname"><a href="classsw_1_1_menu.html#a522312cc29234ea9048d94fae7258027">sw::Menu::IndexToID</a></div><div class="ttdeci">virtual int IndexToID(int index) override</div><div class="ttdoc">根据索引获取ID</div></div>
<div class="ttc" id="aclasssw_1_1_menu_html_a546af91c1b0778610d79ed7e56423dd1"><div class="ttname"><a href="classsw_1_1_menu.html#a546af91c1b0778610d79ed7e56423dd1">sw::Menu::IDToIndex</a></div><div class="ttdeci">virtual int IDToIndex(int id) override</div><div class="ttdoc">根据ID获取索引</div></div>
Expand Down
Loading

0 comments on commit 3fef336

Please sign in to comment.