Files
dl/document/html/dl__ui__manager_8h.html
T
2026-09-16 14:07:40 +08:00

168 lines
13 KiB
HTML
Vendored

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dl: D:/dl/dl/ui/dl_ui_manager.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">dl
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.13.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','搜索',false);
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_17297ffb27ce571941f5fb5008f01a1f.html">dl</a></li><li class="navelem"><a class="el" href="dir_4abfab93245d32d76245ca9307c069b4.html">ui</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes"></a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#var-members">变量</a> </div>
<div class="headertitle"><div class="title">dl_ui_manager.h 文件参考</div></div>
</div><!--header-->
<div class="contents">
<p>ui系统 管理器
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="dl__component__use_8h_source.html">misc/dl_component_use.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__type__def_8h_source.html">base/dl_type_def.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__locator_8h_source.html">misc/dl_locator.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__tree_8h_source.html">base/dl_tree.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__background_8h_source.html">dl_ui_background.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__factory_8h_source.html">render/dl_factory.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__json_8h_source.html">io/dl_json.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__panel_8h_source.html">ui/dl_ui_panel.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__sprite_8h_source.html">ui/dl_ui_sprite.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__text_8h_source.html">ui/dl_ui_text.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__button__sprite_8h_source.html">ui/dl_ui_button_sprite.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__button__sprite9_8h_source.html">ui/dl_ui_button_sprite9.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__button__text__color_8h_source.html">ui/dl_ui_button_text_color.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__button__scale_8h_source.html">ui/dl_ui_button_scale.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__button__sprite__color_8h_source.html">ui/dl_ui_button_sprite_color.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__list__box_8h_source.html">ui/dl_ui_list_box.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__edit__box_8h_source.html">ui/dl_ui_edit_box.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__tree_8h_source.html">ui/dl_ui_tree.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__menu_8h_source.html">ui/dl_ui_menu.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__progress__bar_8h_source.html">ui/dl_ui_progress_bar.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__window_8h_source.html">ui/dl_ui_window.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="dl__ui__extend_8h_source.html">ui/dl_ui_extend.h</a>&quot;</code><br />
</div>
<p><a href="dl__ui__manager_8h_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdl_1_1_u_i_1_1_manager.html">dl::UI::Manager</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">UI系统管理器 <a href="classdl_1_1_u_i_1_1_manager.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl.html">dl</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl_1_1_u_i.html">dl::UI</a></td></tr>
<tr class="memdesc:namespacedl_1_1_u_i"><td class="mdescLeft">&#160;</td><td class="mdescRight">UI系统 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ac1ac13e4fe4993d09e1971e8cc753016" id="r_ac1ac13e4fe4993d09e1971e8cc753016"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016">dl::UI::SizeType</a> { <br />
&#160;&#160;<a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016a9b9c17e13f0e3dc9860a26e08b59b2a7">dl::UI::SMALL</a>
, <a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016a1e23852820b9154316c7c06e2b7ba051">dl::UI::NORMAL</a>
, <a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016a71726adf0ff60cd03eaf3c515883eeb8">dl::UI::LARGE</a>
, <a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016ac1fabfea54ec6011e694f211f3ffebf3">dl::UI::LONG</a>
, <br />
&#160;&#160;<a class="el" href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016a15b86f6dcce64d246ed38b5371043af6">dl::UI::MAX_NUM</a>
<br />
}</td></tr>
<tr class="memdesc:ac1ac13e4fe4993d09e1971e8cc753016"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认按钮大小 <a href="namespacedl_1_1_u_i.html#ac1ac13e4fe4993d09e1971e8cc753016">更多...</a><br /></td></tr>
<tr class="separator:ac1ac13e4fe4993d09e1971e8cc753016"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50efb2cf5988310c324159523ebae918" id="r_a50efb2cf5988310c324159523ebae918"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918">dl::UI::ButtonStyle</a> { <br />
&#160;&#160;<a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918a9b9c17e13f0e3dc9860a26e08b59b2a7">dl::UI::SMALL</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918a1e23852820b9154316c7c06e2b7ba051">dl::UI::NORMAL</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918a71726adf0ff60cd03eaf3c515883eeb8">dl::UI::LARGE</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918ac1fabfea54ec6011e694f211f3ffebf3">dl::UI::LONG</a>
, <br />
&#160;&#160;<a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918a7286293c9125ac7d7bace94c190bc16d">dl::UI::CLOSE</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918a4239f063a3d4fb9d38a0182be6e39e76">dl::UI::SWITCH</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918ae657cce1913c857166b0475f18668ef5">dl::UI::BOX</a>
<br />
}</td></tr>
<tr class="memdesc:a50efb2cf5988310c324159523ebae918"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认按钮样式 <a href="namespacedl_1_1_u_i.html#a50efb2cf5988310c324159523ebae918">更多...</a><br /></td></tr>
<tr class="separator:a50efb2cf5988310c324159523ebae918"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aba6de1d574e760d727b2a79e88e7ce" id="r_a0aba6de1d574e760d727b2a79e88e7ce"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl_1_1_u_i.html#a0aba6de1d574e760d727b2a79e88e7ce">dl::UI::WindowShowMode</a> { <a class="el" href="namespacedl_1_1_u_i.html#a0aba6de1d574e760d727b2a79e88e7ceac34fbad9a5e2a1d0c8f7cf8d226808b9">dl::UI::SHOW</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a0aba6de1d574e760d727b2a79e88e7cea1e50e487f8672658546e3609404b53df">dl::UI::HIDE</a>
, <a class="el" href="namespacedl_1_1_u_i.html#a0aba6de1d574e760d727b2a79e88e7cea1252c45651289c0b553a30d27bb5ae9b">dl::UI::TOGGLE</a>
}</td></tr>
<tr class="memdesc:a0aba6de1d574e760d727b2a79e88e7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口显示操作 <a href="namespacedl_1_1_u_i.html#a0aba6de1d574e760d727b2a79e88e7ce">更多...</a><br /></td></tr>
<tr class="separator:a0aba6de1d574e760d727b2a79e88e7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ae53cbacca2ac189491f77c2b24a4e11d" id="r_ae53cbacca2ac189491f77c2b24a4e11d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdl_1_1_u_i_1_1_manager.html">UI::Manager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedl.html#ae53cbacca2ac189491f77c2b24a4e11d">dl::g_ui</a></td></tr>
<tr class="separator:ae53cbacca2ac189491f77c2b24a4e11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>ui系统 管理器 </p>
<dl class="section version"><dt>版本</dt><dd>1.0 </dd></dl>
<dl class="section author"><dt>作者</dt><dd>lveyou </dd></dl>
<dl class="section date"><dt>日期</dt><dd>23-08-31</dd></dl>
<dl class="section note"><dt>注解</dt><dd>设计原则 1、任何控件,用户可以单独使用 2、状态变化为瞬间,动画效果为渐变 3、Manager拥有Panel树、Panel拥有Element列表 </dd>
<dd>
Z_DEFAULT_UI 作为UI的Panel、元素的默认order 单个控件均为左上角为锚点 </dd>
<dd>
ui也使用浮点数为坐标 </dd></dl>
<p class="definition">在文件 <a class="el" href="dl__ui__manager_8h_source.html">dl_ui_manager.h</a> 中定义.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
</small></address>
</div><!-- doc-content -->
</body>
</html>