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

📄 classwin1.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: Win1 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>Win1类参考<br><small>[<a class="el" href="group__Application.html">应用层(示例应用程序FishGUIDemo)</a>]</small></h1><code>#include &lt;<a class="el" href="Win1_8h-source.html">Win1.h</a>&gt;</code><p><p>继承图,类Win1<p><center><img src="classWin1.png" usemap="#Win1_map" border="0" alt=""></center><map name="Win1_map"><area href="classFG__Window.html" alt="FG_Window" shape="rect" coords="0,112,91,136"><area href="classFG__Container.html" alt="FG_Container" shape="rect" coords="0,56,91,80"><area href="classFG__Object.html" alt="FG_Object" shape="rect" coords="0,0,91,24"></map>Win1合作图:<p><center><img src="classWin1__coll__graph.png" border="0" usemap="#Win1__coll__map" alt="Collaboration graph"></center><map name="Win1__coll__map"><area href="classFG__Window.html" shape="rect" coords="116,369,241,705" alt=""><area href="structFG__MSGMAP.html" shape="rect" coords="255,209,383,305" alt=""><area href="structFG__MSGMAP__ENTRY.html" shape="rect" coords="79,17,220,145" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classWin1-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>用户定义的窗口1类. <p><p>在文件<a class="el" href="Win1_8h-source.html">Win1.h</a>第<a class="el" href="Win1_8h-source.html#l00046">46</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>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <br>&nbsp;&nbsp;<a class="el" href="classWin1.html#w5w0">ID_BITMAP</a> =  1, <a class="el" href="classWin1.html#w5w1">ID_START</a>, <a class="el" href="classWin1.html#w5w2">ID_STOP</a>, <a class="el" href="classWin1.html#w5w3">ID_OPEN</a>, <br>&nbsp;&nbsp;<a class="el" href="classWin1.html#w5w4">ID_CLOSE</a><br> }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">窗口1上的控件ID  <a href="#w5">更多...</a><br><br></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="classWin1.html#a0">Win1</a> (<a class="el" href="group__Utility.html#ga1">WORD</a> wID=0)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">窗口1的构造函数  <a href="#a0"></a><br><br></td></tr><tr><td colspan=2><br><h2>保护类型</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <a class="el" href="classWin1.html#x1x0">ID_ANIMATION_TIMER</a> =  1 }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">窗口1上的动画2控件的定时器ID  <a href="#x1">更多...</a><br><br></td></tr><tr><td colspan=2><br><h2>保护成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b0">OnStart</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“启动”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin1.html#w5w1">ID_START</a>)的处理函数  <a href="#b0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b1">OnStop</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“停止”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin1.html#w5w2">ID_STOP</a>)的处理函数  <a href="#b1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b2">OnOpen</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“打开窗口2”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin1.html#w5w3">ID_OPEN</a>)的处理函数  <a href="#b2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b3">OnClose</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“关闭”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin1.html#w5w4">ID_CLOSE</a>)的处理函数  <a href="#b3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b4">OnTimer</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">定时器消息(<a class="el" href="classWin1.html#x1x0">ID_ANIMATION_TIMER</a>)的处理函数  <a href="#b4"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#b5">GetMessageMap</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">得到本类的消息映射表指针  <a href="#b5"></a><br><br></td></tr><tr><td colspan=2><br><h2>保护属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#p0">m_iBmpNum</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">当前显示的动画帧数  <a href="#p0"></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="classWin1.html#p1">m_bStart</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">动画是否启动,true表示启动,false表示停止  <a href="#p1"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态保护属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#t0">m_MsgMap</a> = { &amp; <a class="el" href="classFG__Window.html">FG_Window</a> ::<a class="el" href="classWin1.html#t0">m_MsgMap</a>, &amp; <a class="el" href="classWin1.html">Win1</a> ::<a class="el" href="classWin1.html#v0">m_MsgEntries</a>[0] }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">本类的消息映射表  <a href="#t0"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态私有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP__ENTRY.html">FG_MSGMAP_ENTRY</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin1.html#v0">m_MsgEntries</a> []</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">消息映射表项数组.  <a href="#v0"></a><br><br></td></tr></table><hr><h2>成员枚举类型文档</h2><a class="anchor" name="w5" doxytag="Win1::@2" ></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"> anonymous enum      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>窗口1上的控件ID <p><dl compact><dt><b>枚举值: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="w5w0" doxytag="ID_BITMAP" ></a>ID_BITMAP</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w5w1" doxytag="ID_START" ></a>ID_START</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w5w2" doxytag="ID_STOP" ></a>ID_STOP</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w5w3" doxytag="ID_OPEN" ></a>ID_OPEN</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w5w4" doxytag="ID_CLOSE" ></a>ID_CLOSE</em>&nbsp;</td><td></td></tr></table></dl><p>在文件<a class="el" href="Win1_8h-source.html">Win1.h</a>第<a class="el" href="Win1_8h-source.html#l00052">52</a>行定义。    </td>  </tr></table><a class="anchor" name="x1" doxytag="Win1::@3" ></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"> anonymous enum<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>窗口1上的动画2控件的定时器ID <p><dl compact><dt><b>枚举值: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="x1x0" doxytag="ID_ANIMATION_TIMER" ></a>ID_ANIMATION_TIMER</em>&nbsp;</td><td></td></tr></table></dl><p>在文件<a class="el" href="Win1_8h-source.html">Win1.h</a>第<a class="el" href="Win1_8h-source.html#l00073">73</a>行定义。    </td>  </tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="Win1::Win1" ></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"> Win1::Win1 </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="mdname1" valign="top" nowrap> <em>wID</em> = 0          </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>窗口1的构造函数 <p>创建所有的控件,注册快捷键 <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>wID</em>&nbsp;</td><td>窗口1的唯一标识,缺省为0 </td></tr>  </table></dl><p>在文件<a class="el" href="Win1_8cpp-source.html">Win1.cpp</a>第<a class="el" href="Win1_8cpp-source.html#l00074">74</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00063">FG_Window::AddWidget()</a>、<a class="el" href="FG__Factory_8h-source.html#l00077">FG_Factory::CreateBitmap()</a>、<a class="el" href="FG__Factory_8h-source.html#l00090">FG_Factory::CreateButton()</a>、<a class="el" href="FG__Factory_8h-source.html#l00131">FG_Factory::CreateGroup()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00064">FG_GetFactory()</a>、<a class="el" href="FG__Common_8h-source.html#l00115">FS_RAISED</a>、<a class="el" href="FG__Common_8h-source.html#l00114">FS_THIN</a>、<a class="el" href="FG__Message_8h-source.html#l00101">FVK_ENTER</a>、<a class="el" href="classWin1.html#w5w4">ID_CLOSE</a>、<a class="el" href="group__Win1__Rect.html#ga2">RECT_Bitmap</a>、<a class="el" href="group__Win1__Rect.html#ga6">RECT_Close</a>、<a class="el" href="group__Win1__Rect.html#ga1">RECT_Group1</a>、<a class="el" href="group__Win1__Rect.html#ga5">RECT_Open</a>、<a class="el" href="group__Win1__Rect.html#ga3">RECT_Start</a>、<a class="el" href="group__Win1__Rect.html#ga4">RECT_Stop</a>、<a class="el" href="group__Win1__Rect.html#ga0">RECT_Win1</a>、<a class="el" href="FG__Window_8cpp-source.html#l00126">FG_Window::RegisterKey()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">FG_Rect::Set()</a>、<a class="el" href="FG__Rect_8h-source.html#l00059">FG_Rect::wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">FG_Rect::wLeft</a>、<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">FG_Rect::wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">FG_Rect::wTop</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classWin1_a0_cgraph.png" border="0" usemap="#classWin1_a0_cgraph_map" alt=""></center><map name="classWin1_a0_cgraph_map"><area href="classFG__Window.html#a2" shape="rect" coords="148,133,297,160" alt="">

⌨️ 快捷键说明

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