📄 classfg__label.html
字号:
<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_Label::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></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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__TextWidget.html#b0">FG_TextWidget</a>。<p>被<a class="el" href="classFG__Edit.html#b5">FG_Edit</a>重载。<p>在文件<a class="el" href="FG__Label_8cpp-source.html">FG_Label.cpp</a>第<a class="el" href="FG__Label_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><a class="anchor" name="b0" doxytag="FG_Label::OnDraw" ></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_Label::OnDraw </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classFG__OSAdaptor.html">FG_OSAdaptor</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pAdaptor</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>重画消息<a class="el" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>的处理函数. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>pAdaptor</em> </td><td>指向操作系统适配器的指针 </td></tr> </table></dl><p>重载<a class="el" href="classFG__Object.html#b6">FG_Object</a>。<p>被<a class="el" href="classFG__Edit.html#b0">FG_Edit</a>重载。<p>在文件<a class="el" href="FG__Label_8cpp-source.html">FG_Label.cpp</a>第<a class="el" href="FG__Label_8cpp-source.html#l00047">47</a>行定义。<p>参考 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00113">FG_OSAdaptor::BeginDraw()</a>、<a class="el" href="FG__String_8h-source.html#l00082">FG_String::DataGet()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00141">FG_OSAdaptor::DrawText()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00120">FG_OSAdaptor::EndDraw()</a>、<a class="el" href="FG__Object_8cpp-source.html#l00147">FG_Object::GetClientRect()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00069">FG_TextWidget::GetText()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00157">FG_OSAdaptor::GetTextHeight()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00148">FG_OSAdaptor::GetTextWidth()</a>、<a class="el" href="FG__Object_8h-source.html#l00320">FG_Object::OnDraw()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00084">FG_TextWidget::TextLength()</a>、<a class="el" href="FG__Common_8h-source.html#l00124">TS_CENTER</a>、<a class="el" href="FG__Common_8h-source.html#l00123">TS_LEFT</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="FG__Edit_8cpp-source.html#l00073">FG_Edit::OnDraw()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Label_b0_cgraph.png" border="0" usemap="#classFG__Label_b0_cgraph_map" alt=""></center><map name="classFG__Label_b0_cgraph_map"><area href="classFG__OSAdaptor.html#a3" shape="rect" coords="195,7,363,33" alt=""><area href="classFG__String.html#a4" shape="rect" coords="420,159,543,185" alt=""><area href="classFG__OSAdaptor.html#a7" shape="rect" coords="200,108,357,135" alt=""><area href="classFG__OSAdaptor.html#a4" shape="rect" coords="200,159,357,185" alt=""><area href="classFG__Object.html#a3" shape="rect" coords="199,209,359,236" alt=""><area href="classFG__TextWidget.html#a1" shape="rect" coords="204,260,353,287" alt=""><area href="classFG__OSAdaptor.html#a9" shape="rect" coords="185,311,372,337" alt=""><area href="classFG__OSAdaptor.html#a8" shape="rect" coords="187,361,371,388" alt=""><area href="classFG__Object.html#b6" shape="rect" coords="216,412,341,439" alt=""><area href="classFG__TextWidget.html#a3" shape="rect" coords="195,463,363,489" alt=""></map><hr><h2>成员数据文档</h2><a class="anchor" name="v0" doxytag="FG_Label::m_MsgEntries" ></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__ENTRY.html">FG_MSGMAP_ENTRY</a> <a class="el" href="classFG__Label.html#v0">FG_Label::m_MsgEntries</a><code> [static, private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><b>初始化序列:</b><div class="fragment"><pre> { { <a class="code" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)(<a class="code" href="group__MsgHandler__Type.html#ga1">FG_PMSG_vd</a>)& <a class="code" href="classFG__Label.html#b0">FG_Label::OnDraw</a> },{ 0, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>) 0 } }</pre></div>消息映射表项数组. <p><p>重载<a class="el" href="classFG__TextWidget.html#v0">FG_TextWidget</a>。<p>被<a class="el" href="classFG__Edit.html#v0">FG_Edit</a>重载。<p>在文件<a class="el" href="FG__Label_8cpp-source.html">FG_Label.cpp</a>第<a class="el" href="FG__Label_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><a class="anchor" name="t0" doxytag="FG_Label::m_MsgMap" ></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> <a class="el" href="classFG__Label.html#t0">FG_Label::m_MsgMap</a> = { & <a class="el" href="classFG__TextWidget.html">FG_TextWidget</a> ::<a class="el" href="classFG__Label.html#t0">m_MsgMap</a>, & <a class="el" href="classFG__Label.html">FG_Label</a> ::<a class="el" href="classFG__Label.html#v0">m_MsgEntries</a>[0] }<code> [static, protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>本类的消息映射表 <p><p>重载<a class="el" href="classFG__TextWidget.html#t0">FG_TextWidget</a>。<p>被<a class="el" href="classFG__Edit.html#t0">FG_Edit</a>重载。<p>在文件<a class="el" href="FG__Label_8cpp-source.html">FG_Label.cpp</a>第<a class="el" href="FG__Label_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Label_8h-source.html">FG_Label.h</a><li><a class="el" href="FG__Label_8cpp-source.html">FG_Label.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:59 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -