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

📄 classfg__object.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wID</em> = 0, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wStyle</em> = <a class="el" href="group__Frame__Style.html#ga0">FS_NONE</a></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>前景色和背景色缺省为黑色(<a class="el" href="group__Color.html#ga1">COLOR_BLACK</a>)和灰色(<a class="el" href="group__Color.html#ga2">COLOR_GRAY</a>) 父窗口指针缺省为<a class="el" href="group__Utility.html#ga11">NULL</a><p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Rect</em>&nbsp;</td><td>该窗口元素的边框矩形 </td></tr>    <tr><td valign=top><em>wID</em>&nbsp;</td><td>该窗口元素的唯一标识,缺省值0(0为无效标识) </td></tr>    <tr><td valign=top><em>wStyle</em>&nbsp;</td><td>该窗口元素的边框风格,缺省值 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00076">76</a>行定义。<p>参考 <a class="el" href="FG__X11Adaptor_8cpp-source.html#l00058">COLOR_BLACK</a>、<a class="el" href="FG__X11Adaptor_8cpp-source.html#l00059">COLOR_GRAY</a>、<a class="el" href="FG__Object_8h-source.html#l00283">m_Background</a>、<a class="el" href="FG__Object_8h-source.html#l00281">m_ForeColor</a>、<a class="el" href="FG__Object_8h-source.html#l00294">m_pParent</a>、<a class="el" href="FG__Object_8h-source.html#l00285">m_Rect</a>、<a class="el" href="FG__Object_8h-source.html#l00288">m_wStyle</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="FG_Object::~FG_Object" ></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"> virtual FG_Object::~<a class="el" href="classFG__Object.html">FG_Object</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><code> [inline, virtual]</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="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00086">86</a>行定义。<p>参考 <a class="el" href="FG__TimerManager_8cpp-source.html#l00051">FG_GetTimerManager()</a>及<a class="el" href="FG__TimerManager_8cpp-source.html#l00129">FG_TimerManager::KillObjectTimer()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Object_a2_cgraph.png" border="0" usemap="#classFG__Object_a2_cgraph_map" alt=""></center><map name="classFG__Object_a2_cgraph_map"><area href="group__Framework.html#ga0" shape="rect" coords="256,7,392,33" alt=""><area href="classFG__TimerManager.html#a2" shape="rect" coords="218,57,429,84" alt=""><area href="classFG__TimerManager.html#e0" shape="rect" coords="478,7,705,33" alt=""><area href="classFG__SList.html#a2" shape="rect" coords="544,57,640,84" alt=""><area href="classFG__SList.html#a3" shape="rect" coords="533,108,650,135" alt=""></map><hr><h2>成员函数文档</h2><a class="anchor" name="a8" doxytag="FG_Object::BGColor" ></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="group__Color.html#ga0">COLORVAL</a> FG_Object::BGColor </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> const<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>本窗口元素的背景色 </dd></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00132">132</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>及<a class="el" href="FG__Object_8h-source.html#l00283">m_Background</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00060">FG_Edit::FG_Edit()</a>及<a class="el" href="FG__Screen_8cpp-source.html#l00101">FG_Screen::FG_Screen()</a>.    </td>  </tr></table><a class="anchor" name="a7" doxytag="FG_Object::BGColor" ></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 FG_Object::BGColor </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="group__Color.html#ga0">COLORVAL</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>color</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><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>color</em>&nbsp;</td><td>背景色 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Object_8h-source.html">FG_Object.h</a>第<a class="el" href="FG__Object_8h-source.html#l00125">125</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>及<a class="el" href="FG__Object_8h-source.html#l00283">m_Background</a>.    </td>  </tr></table><a class="anchor" name="b2" doxytag="FG_Object::DrawBorder" ></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 FG_Object::DrawBorder </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classFG__OSAdaptor.html">FG_OSAdaptor</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pAdaptor</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><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pAdaptor</em>&nbsp;</td><td>指向操作系统适配器的指针 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Object_8cpp-source.html">FG_Object.cpp</a>第<a class="el" href="FG__Object_8cpp-source.html#l00061">61</a>行定义。<p>参考 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00113">FG_OSAdaptor::BeginDraw()</a>、<a class="el" href="FG__X11Adaptor_8cpp-source.html#l00058">COLOR_BLACK</a>、<a class="el" href="FG__X11Adaptor_8cpp-source.html#l00061">COLOR_DARKGRAY</a>、<a class="el" href="FG__X11Adaptor_8cpp-source.html#l00059">COLOR_GRAY</a>、<a class="el" href="FG__X11Adaptor_8cpp-source.html#l00060">COLOR_WHITE</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00173">FG_OSAdaptor::DrawPolyLine()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00120">FG_OSAdaptor::EndDraw()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00127">FG_OSAdaptor::FillRect()</a>、<a class="el" href="FG__Common_8h-source.html#l00117">FS_MASK</a>、<a class="el" href="FG__Common_8h-source.html#l00113">FS_NONE</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__Common_8h-source.html#l00114">FS_THIN</a>、<a class="el" href="FG__Common_8h-source.html#l00107">GS_TRANSPARENT</a>、<a class="el" href="FG__Object_8h-source.html#l00283">m_Background</a>、<a class="el" href="FG__Object_8h-source.html#l00285">m_Rect</a>、<a class="el" href="FG__Object_8h-source.html#l00288">m_wStyle</a>、<a class="el" href="FG__Point_8h-source.html#l00051">FG_Point::x</a>及<a class="el" href="FG__Point_8h-source.html#l00053">FG_Point::y</a>.<p>参考自 <a class="el" href="FG__Object_8h-source.html#l00320">OnDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Object_b2_cgraph.png" border="0" usemap="#classFG__Object_b2_cgraph_map" alt=""></center><map name="classFG__Object_b2_cgraph_map"><area href="classFG__OSAdaptor.html#a3" shape="rect" coords="220,7,388,33" alt=""><area href="classFG__OSAdaptor.html#a11" shape="rect" coords="212,57,396,84" alt=""><area href="classFG__OSAdaptor.html#a4" shape="rect" coords="225,108,383,135" alt=""><area href="classFG__OSAdaptor.html#a5" shape="rect" coords="229,159,379,185" alt=""><area href="classFG__OSDrawInterface.html#a2" shape="rect" coords="453,7,653,33" alt=""><area href="classFG__OSDrawInterface.html#a10" shape="rect" coords="445,57,661,84" alt="">

⌨️ 快捷键说明

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