📄 classfg__object.html
字号:
<area href="classFG__OSDrawInterface.html#a3" shape="rect" coords="459,108,648,135" alt=""><area href="classFG__OSDrawInterface.html#a4" shape="rect" coords="463,159,644,185" alt=""></map><a class="anchor" name="a6" doxytag="FG_Object::ForeColor" ></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::ForeColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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#l00118">118</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>及<a class="el" href="FG__Object_8h-source.html#l00281">m_ForeColor</a>. </td> </tr></table><a class="anchor" name="a5" doxytag="FG_Object::ForeColor" ></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::ForeColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__Color.html#ga0">COLORVAL</a> </td> <td class="mdname1" valign="top" nowrap> <em>color</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </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#l00111">111</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>及<a class="el" href="FG__Object_8h-source.html#l00281">m_ForeColor</a>. </td> </tr></table><a class="anchor" name="a14" doxytag="FG_Object::FrameStyle" ></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__Utility.html#ga1">WORD</a> FG_Object::FrameStyle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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#l00179">179</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00117">FS_MASK</a>、<a class="el" href="FG__Object_8h-source.html#l00288">m_wStyle</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Button_8cpp-source.html#l00078">FG_Button::OnKeyDown()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00093">FG_Button::OnKeyUp()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00109">FG_Button::OnLButtonDown()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00121">FG_Button::OnLButtonUp()</a>及<a class="el" href="FG__Button_8cpp-source.html#l00134">FG_Button::OnTimerUp()</a>. </td> </tr></table><a class="anchor" name="a13" doxytag="FG_Object::FrameStyle" ></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::FrameStyle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__Utility.html#ga1">WORD</a> </td> <td class="mdname1" valign="top" nowrap> <em>wStyle</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>设置窗口元素的边框风格. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>wStyle</em> </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#l00167">167</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00117">FS_MASK</a>、<a class="el" href="FG__Object_8h-source.html#l00288">m_wStyle</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>. </td> </tr></table><a class="anchor" name="a3" doxytag="FG_Object::GetClientRect" ></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::GetClientRect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structFG__Rect.html">FG_Rect</a> & </td> <td class="mdname1" valign="top" nowrap> <em>rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>得到该窗口元素的客户区矩形 <p>根据边框风格除去不同的边框大小,客户区矩形可能小于边框矩形, 某一个具体的窗口元素可以覆盖此函数,以确定自己的客户区矩形 <dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>rect</em> </td><td>返回该窗口元素的客户区矩形 </td></tr> </table></dl><p>被<a class="el" href="classFG__Window.html#a4">FG_Window</a>重载。<p>在文件<a class="el" href="FG__Object_8cpp-source.html">FG_Object.cpp</a>第<a class="el" href="FG__Object_8cpp-source.html#l00147">147</a>行定义。<p>参考 <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__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__Rect_8h-source.html#l00082">FG_Rect::Set()</a>.<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00097">FG_Window::GetClientRect()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00145">FG_Window::OnDraw()</a>、<a class="el" href="FG__RadioButton_8cpp-source.html#l00064">FG_RadioButton::OnDraw()</a>、<a class="el" href="FG__Label_8cpp-source.html#l00047">FG_Label::OnDraw()</a>、<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>、<a class="el" href="FG__CheckBox_8cpp-source.html#l00049">FG_CheckBox::OnDraw()</a>、<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>及<a class="el" href="FG__Bitmap_8cpp-source.html#l00047">FG_Bitmap::OnDraw()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Object_a3_cgraph.png" border="0" usemap="#classFG__Object_a3_cgraph_map" alt=""></center><map name="classFG__Object_a3_cgraph_map"><area href="structFG__Rect.html#a2" shape="rect" coords="225,7,313,33" alt=""></map><a class="anchor" name="b5" doxytag="FG_Object::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> * FG_Object::GetMessageMap </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [protected, virtual]</code></td> </tr> </table> </td> </tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -