📄 classmybutton.html
字号:
<p>重载<a class="el" href="classFG__Button.html#b6">FG_Button</a>。<p>在文件<a class="el" href="MyButton_8cpp-source.html">MyButton.cpp</a>第<a class="el" href="MyButton_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><a class="anchor" name="b0" doxytag="MyButton::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 MyButton::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__Button.html#b0">FG_Button</a>。<p>在文件<a class="el" href="MyButton_8cpp-source.html">MyButton.cpp</a>第<a class="el" href="MyButton_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__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#l00180">FG_OSAdaptor::DrawDotRect()</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00173">FG_OSAdaptor::DrawPolyLine()</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__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#l00115">FS_RAISED</a>、<a class="el" href="FG__Common_8h-source.html#l00116">FS_RECESSED</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#l00217">FG_Object::IsFocus()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00084">FG_TextWidget::TextLength()</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>、<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>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classMyButton_b0_cgraph.png" border="0" usemap="#classMyButton_b0_cgraph_map" alt=""></center><map name="classMyButton_b0_cgraph_map"><area href="classFG__OSAdaptor.html#a3" shape="rect" coords="194,7,362,33" alt=""><area href="classFG__OSAdaptor.html#a12" shape="rect" coords="188,57,369,84" alt=""><area href="classFG__OSAdaptor.html#a11" shape="rect" coords="186,108,370,135" alt=""><area href="classFG__OSAdaptor.html#a7" shape="rect" coords="200,159,357,185" alt=""><area href="classFG__OSAdaptor.html#a4" shape="rect" coords="200,209,357,236" alt=""><area href="classFG__OSAdaptor.html#a5" shape="rect" coords="204,260,353,287" alt=""><area href="classFG__Object.html#a3" shape="rect" coords="198,311,358,337" alt=""><area href="classFG__TextWidget.html#a1" shape="rect" coords="204,361,353,388" alt=""><area href="classFG__OSAdaptor.html#a9" shape="rect" coords="185,412,372,439" alt=""><area href="classFG__OSAdaptor.html#a8" shape="rect" coords="186,463,370,489" alt=""><area href="classFG__Object.html#a19" shape="rect" coords="216,513,341,540" alt=""><area href="classFG__TextWidget.html#a3" shape="rect" coords="194,564,362,591" alt=""><area href="classFG__OSDrawInterface.html#a2" shape="rect" coords="430,7,630,33" alt=""><area href="classFG__OSDrawInterface.html#a11" shape="rect" coords="424,57,637,84" alt=""><area href="classFG__OSDrawInterface.html#a10" shape="rect" coords="422,108,638,135" alt=""><area href="classFG__OSDrawInterface.html#a6" shape="rect" coords="436,159,625,185" alt=""><area href="classFG__OSDrawInterface.html#a3" shape="rect" coords="436,209,625,236" alt=""><area href="classFG__OSDrawInterface.html#a4" shape="rect" coords="440,260,621,287" alt=""><area href="structFG__Rect.html#a2" shape="rect" coords="486,311,574,337" alt=""><area href="classFG__String.html#a4" shape="rect" coords="469,361,592,388" alt=""><area href="classFG__OSDrawInterface.html#a8" shape="rect" coords="421,412,640,439" alt=""><area href="classFG__OSDrawInterface.html#a7" shape="rect" coords="422,463,638,489" alt=""><area href="classFG__String.html#a5" shape="rect" coords="473,564,588,591" alt=""></map><hr><h2>成员数据文档</h2><a class="anchor" name="v0" doxytag="MyButton::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="classMyButton.html#v0">MyButton::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="classMyButton.html#b0">MyButton::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__Button.html#v0">FG_Button</a>。<p>在文件<a class="el" href="MyButton_8cpp-source.html">MyButton.cpp</a>第<a class="el" href="MyButton_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><a class="anchor" name="t0" doxytag="MyButton::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="classMyButton.html#t0">MyButton::m_MsgMap</a> = { & <a class="el" href="classFG__Button.html">FG_Button</a> ::<a class="el" href="classMyButton.html#t0">m_MsgMap</a>, & <a class="el" href="classMyButton.html">MyButton</a> ::<a class="el" href="classMyButton.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__Button.html#t0">FG_Button</a>。<p>在文件<a class="el" href="MyButton_8cpp-source.html">MyButton.cpp</a>第<a class="el" href="MyButton_8cpp-source.html#l00042">42</a>行定义。 </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="MyButton_8h-source.html">MyButton.h</a><li><a class="el" href="MyButton_8cpp-source.html">MyButton.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:36:55 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -