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

📄 classmainwindow.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="MainWindow::MainWindow" ></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"> MainWindow::MainWindow </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>主窗口的构造函数. <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>主窗口的唯一标识,缺省为0 </td></tr>  </table></dl><p>在文件<a class="el" href="MainWindow_8cpp-source.html">MainWindow.cpp</a>第<a class="el" href="MainWindow_8cpp-source.html#l00095">95</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#l00103">FG_Factory::CreateCheckBox()</a>、<a class="el" href="FG__Factory_8h-source.html#l00118">FG_Factory::CreateEdit()</a>、<a class="el" href="FG__Factory_8h-source.html#l00131">FG_Factory::CreateGroup()</a>、<a class="el" href="FG__Factory_8h-source.html#l00145">FG_Factory::CreateLabel()</a>、<a class="el" href="FG__Factory_8h-source.html#l00159">FG_Factory::CreateRadioButton()</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#l00116">FS_RECESSED</a>、<a class="el" href="FG__Message_8h-source.html#l00101">FVK_ENTER</a>、<a class="el" href="classMainWindow.html#w15w14">ID_BITMAP</a>、<a class="el" href="classMainWindow.html#w15w7">ID_CHECK1</a>、<a class="el" href="classMainWindow.html#w15w8">ID_CHECK2</a>、<a class="el" href="classMainWindow.html#w15w6">ID_EDIT1</a>、<a class="el" href="classMainWindow.html#w15w9">ID_EDIT2</a>、<a class="el" href="classMainWindow.html#w15w11">ID_FACTORY</a>、<a class="el" href="classMainWindow.html#w15w10">ID_OPEN</a>、<a class="el" href="classMainWindow.html#w15w0">ID_RADIO1</a>、<a class="el" href="classMainWindow.html#w15w1">ID_RADIO2</a>、<a class="el" href="classMainWindow.html#w15w2">ID_RADIO3</a>、<a class="el" href="classMainWindow.html#w15w3">ID_RADIO4</a>、<a class="el" href="classMainWindow.html#w15w4">ID_RADIO5</a>、<a class="el" href="classMainWindow.html#w15w5">ID_RADIO6</a>、<a class="el" href="classMainWindow.html#w15w12">ID_START</a>、<a class="el" href="classMainWindow.html#w15w13">ID_STOP</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="group__MainWindow__Rect.html#ga18">RECT_Bitmap</a>、<a class="el" href="group__MainWindow__Rect.html#ga11">RECT_Check1</a>、<a class="el" href="group__MainWindow__Rect.html#ga12">RECT_Check2</a>、<a class="el" href="group__MainWindow__Rect.html#ga9">RECT_Edit1</a>、<a class="el" href="group__MainWindow__Rect.html#ga14">RECT_Edit2</a>、<a class="el" href="group__MainWindow__Rect.html#ga16">RECT_Factory</a>、<a class="el" href="group__MainWindow__Rect.html#ga1">RECT_Group1</a>、<a class="el" href="group__MainWindow__Rect.html#ga10">RECT_Group2</a>、<a class="el" href="group__MainWindow__Rect.html#ga17">RECT_Group3</a>、<a class="el" href="group__MainWindow__Rect.html#ga8">RECT_Label1</a>、<a class="el" href="group__MainWindow__Rect.html#ga13">RECT_Label2</a>、<a class="el" href="group__MainWindow__Rect.html#ga0">RECT_MainWindow</a>、<a class="el" href="group__MainWindow__Rect.html#ga15">RECT_Open</a>、<a class="el" href="group__MainWindow__Rect.html#ga2">RECT_Radio1</a>、<a class="el" href="group__MainWindow__Rect.html#ga3">RECT_Radio2</a>、<a class="el" href="group__MainWindow__Rect.html#ga4">RECT_Radio3</a>、<a class="el" href="group__MainWindow__Rect.html#ga5">RECT_Radio4</a>、<a class="el" href="group__MainWindow__Rect.html#ga6">RECT_Radio5</a>、<a class="el" href="group__MainWindow__Rect.html#ga7">RECT_Radio6</a>、<a class="el" href="group__MainWindow__Rect.html#ga19">RECT_Start</a>、<a class="el" href="group__MainWindow__Rect.html#ga20">RECT_Stop</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__RadioButton_8h-source.html#l00077">FG_RadioButton::SetChecked()</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>.<p>参考自 <a class="el" href="MainWindow_8cpp-source.html#l00202">OnFactory()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classMainWindow_a0_cgraph.png" border="0" usemap="#classMainWindow_a0_cgraph_map" alt=""></center><map name="classMainWindow_a0_cgraph_map"><area href="classFG__Window.html#a2" shape="rect" coords="253,133,403,160" alt=""><area href="classFG__Factory.html#a2" shape="rect" coords="247,311,409,337" alt=""><area href="classFG__Factory.html#a3" shape="rect" coords="248,361,408,388" alt=""><area href="classFG__Factory.html#a4" shape="rect" coords="237,412,419,439" alt=""><area href="classFG__Factory.html#a5" shape="rect" coords="255,463,401,489" alt=""><area href="classFG__Factory.html#a6" shape="rect" coords="249,513,407,540" alt=""><area href="classFG__Factory.html#a7" shape="rect" coords="251,564,405,591" alt=""><area href="classFG__Factory.html#a8" shape="rect" coords="231,615,425,641" alt=""><area href="group__Framework.html#ga1" shape="rect" coords="279,665,377,692" alt=""><area href="classFG__Window.html#a5" shape="rect" coords="249,260,407,287" alt=""><area href="structFG__Rect.html#a2" shape="rect" coords="284,716,372,743" alt=""><area href="classFG__RadioButton.html#a2" shape="rect" coords="237,209,419,236" alt=""><area href="classFG__Container.html#b0" shape="rect" coords="492,57,639,84" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="705,108,868,135" alt=""><area href="classFG__Window.html#a6" shape="rect" coords="483,159,648,185" alt=""><area href="classFG__BList.html#a6" shape="rect" coords="740,7,833,33" alt=""><area href="classFG__Object.html#a11" shape="rect" coords="728,57,845,84" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="721,159,852,185" alt=""><area href="classFG__Screen.html#a3" shape="rect" coords="492,691,639,717" alt=""><area href="classFG__Screen.html#e0" shape="rect" coords="493,640,637,667" alt=""><area href="classFG__Screen.html#b3" shape="rect" coords="713,640,860,667" alt=""><area href="classFG__Container.html#a3" shape="rect" coords="492,260,639,287" alt=""><area href="classFG__KeyMap.html#a1" shape="rect" coords="485,311,645,337" alt=""><area href="classFG__Widget.html#a2" shape="rect" coords="475,361,656,388" alt=""><area href="group__Utility.html#ga10" shape="rect" coords="740,209,833,236" alt=""><area href="classFG__BList.html#a3" shape="rect" coords="739,260,835,287" alt=""><area href="classFG__SList.html#a4" shape="rect" coords="740,311,833,337" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="487,209,644,236" alt=""></map><hr><h2>成员函数文档</h2><a class="anchor" name="b7" doxytag="MainWindow::GetMessageMap" ></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"> const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a> * MainWindow::GetMessageMap </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> const<code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>得到本类的消息映射表指针 <p>虚函数,派生类覆盖该函数,来返回自己的消息映射表指针,通过宏<a class="el" href="group__MsgMap__Define.html#ga1">BEGIN_MESSAGE_MAP</a>生成 <dl compact><dt><b>返回:</b></dt><dd>本类的消息映射表指针 </dd></dl><p>重载<a class="el" href="classFG__Window.html#b5">FG_Window</a>。<p>在文件<a class="el" href="MainWindow_8cpp-source.html">MainWindow.cpp</a>第<a class="el" href="MainWindow_8cpp-source.html#l00047">47</a>行定义。    </td>  </tr></table><a class="anchor" name="b1" doxytag="MainWindow::OnCheckChanged" ></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"> void MainWindow::OnCheckChanged </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><code> [protected]</code></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="MainWindow_8cpp-source.html">MainWindow.cpp</a>第<a class="el" href="MainWindow_8cpp-source.html#l00153">153</a>行定义。<p>参考 <a class="el" href="FG__Container_8cpp-source.html#l00047">FG_Container::GetChild()</a>、<a class="el" href="classMainWindow.html#w15w7">ID_CHECK1</a>、<a class="el" href="classMainWindow.html#w15w8">ID_CHECK2</a>、<a class="el" href="classMainWindow.html#w15w9">ID_EDIT2</a>、<a class="el" href="FG__CheckBox_8h-source.html#l00067">FG_CheckBox::IsChecked()</a>及<a class="el" href="FG__TextWidget_8h-source.html#l00077">FG_TextWidget::SetText()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classMainWindow_b1_cgraph.png" border="0" usemap="#classMainWindow_b1_cgraph_map" alt=""></center><map name="classMainWindow_b1_cgraph_map"><area href="classFG__Container.html#a3" shape="rect" coords="268,32,414,59" alt=""><area href="classFG__CheckBox.html#a1" shape="rect" coords="260,83,422,109" alt=""><area href="classFG__TextWidget.html#a2" shape="rect" coords="266,133,416,160" alt=""><area href="group__Utility.html#ga10" shape="rect" coords="502,7,596,33" alt=""><area href="classFG__BList.html#a3" shape="rect" coords="501,57,597,84" alt=""><area href="classFG__ListCheck.html#a0" shape="rect" coords="677,7,808,33" alt=""><area href="classFG__String.html#a3" shape="rect" coords="488,108,610,135" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="470,159,628,185" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="677,159,808,185" alt=""></map><a class="anchor" name="b5" doxytag="MainWindow::OnFactory" ></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"> void MainWindow::OnFactory </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></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="MainWindow_8cpp-source.html">MainWindow.cpp</a>第<a class="el" href="MainWindow_8cpp-source.html#l00202">202</a>行定义。<p>参考 <a class="el" href="FG__Screen_8cpp-source.html#l00119">FG_Screen::AddWindow()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00059">FG_GetScreen()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00069">FG_SetFactory()</a>、<a class="el" href="FG__Container_8cpp-source.html#l00047">FG_Container::GetChild()</a>、<a class="el" href="classMainWindow.html#w15w11">ID_FACTORY</a>、<a class="el" href="MainWindow_8h-source.html#l00132">m_bNewFactory</a>、<a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00140">FG_Screen::RemoveWindow()</a>及<a class="el" href="FG__TextWidget_8h-source.html#l00077">FG_TextWidget::SetText()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classMainWindow_b5_cgraph.png" border="0" usemap="#classMainWindow_b5_cgraph_map" alt=""></center><map name="classMainWindow_b5_cgraph_map">

⌨️ 快捷键说明

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