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

📄 classfg__button.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</table><a class="anchor" name="b0" doxytag="FG_Button::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_Button::OnDraw </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><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>&nbsp;</td><td>指向操作系统适配器接口的指针 </td></tr>  </table></dl><p>重载<a class="el" href="classFG__Object.html#b6">FG_Object</a>。<p>被<a class="el" href="classMyButton.html#b0">MyButton</a>重载。<p>在文件<a class="el" href="FG__Button_8cpp-source.html">FG_Button.cpp</a>第<a class="el" href="FG__Button_8cpp-source.html#l00053">53</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__OSAdaptor_8cpp-source.html#l00180">FG_OSAdaptor::DrawDotRect()</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#l00217">FG_Object::IsFocus()</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__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>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Button_b0_cgraph.png" border="0" usemap="#classFG__Button_b0_cgraph_map" alt=""></center><map name="classFG__Button_b0_cgraph_map"><area href="classFG__OSAdaptor.html#a3" shape="rect" coords="203,6,371,33" alt=""><area href="classFG__OSAdaptor.html#a12" shape="rect" coords="196,57,377,84" alt=""><area href="classFG__OSAdaptor.html#a7" shape="rect" coords="208,108,365,134" alt=""><area href="classFG__OSAdaptor.html#a4" shape="rect" coords="208,158,365,185" alt=""><area href="classFG__Object.html#a3" shape="rect" coords="207,209,367,236" alt=""><area href="classFG__TextWidget.html#a1" shape="rect" coords="212,260,361,286" alt=""><area href="classFG__OSAdaptor.html#a9" shape="rect" coords="193,310,380,337" alt=""><area href="classFG__OSAdaptor.html#a8" shape="rect" coords="195,361,379,388" alt=""><area href="classFG__Object.html#a19" shape="rect" coords="224,412,349,438" alt=""><area href="classFG__Object.html#b6" shape="rect" coords="224,462,349,489" alt=""><area href="classFG__TextWidget.html#a3" shape="rect" coords="203,513,371,540" alt=""></map><a class="anchor" name="b1" doxytag="FG_Button::OnKeyDown" ></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"> bool FG_Button::OnKeyDown </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>键盘按下消息(<a class="el" href="group__Utility.html#gga12a20">FG_MSG_KEY</a>,<a class="el" href="group__Utility.html#gga13a29">FKS_DOWN</a>)的处理函数 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pMsg</em>&nbsp;</td><td>指向键盘消息结构的指针 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Button_8cpp-source.html">FG_Button.cpp</a>第<a class="el" href="FG__Button_8cpp-source.html#l00078">78</a>行定义。<p>参考 <a class="el" href="FG__Object_8h-source.html#l00179">FG_Object::FrameStyle()</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="FG__Message_8h-source.html#l00200">FG_Message::lData</a>及<a class="el" href="FG__Object_8cpp-source.html#l00239">FG_Object::RequestDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Button_b1_cgraph.png" border="0" usemap="#classFG__Button_b1_cgraph_map" alt=""></center><map name="classFG__Button_b1_cgraph_map"><area href="classFG__Object.html#a14" shape="rect" coords="223,7,369,33" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="217,57,375,84" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="424,57,555,84" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="655,7,753,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="604,57,804,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="615,108,793,135" alt=""></map><a class="anchor" name="b2" doxytag="FG_Button::OnKeyUp" ></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"> bool FG_Button::OnKeyUp </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>键盘弹起消息(<a class="el" href="group__Utility.html#gga12a20">FG_MSG_KEY</a>,<a class="el" href="group__Utility.html#gga13a30">FKS_UP</a>)的处理函数 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pMsg</em>&nbsp;</td><td>指向键盘消息结构的指针 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Button_8cpp-source.html">FG_Button.cpp</a>第<a class="el" href="FG__Button_8cpp-source.html#l00093">93</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>、<a class="el" href="FG__Object_8h-source.html#l00179">FG_Object::FrameStyle()</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="FG__Message_8h-source.html#l00200">FG_Message::lData</a>、<a class="el" href="FG__Object_8cpp-source.html#l00230">FG_Object::NotifyParent()</a>及<a class="el" href="FG__Object_8cpp-source.html#l00239">FG_Object::RequestDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Button_b2_cgraph.png" border="0" usemap="#classFG__Button_b2_cgraph_map" alt=""></center><map name="classFG__Button_b2_cgraph_map"><area href="classFG__Object.html#a14" shape="rect" coords="207,7,353,33" alt=""><area href="classFG__Object.html#b3" shape="rect" coords="205,57,355,84" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="201,108,359,135" alt=""><area href="classFG__Object.html#a10" shape="rect" coords="428,57,519,84" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="408,108,539,135" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="639,57,737,84" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="588,108,788,135" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="599,159,777,185" alt=""></map><a class="anchor" name="b3" doxytag="FG_Button::OnLButtonDown" ></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"> bool FG_Button::OnLButtonDown </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>鼠标左键按下消息(<a class="el" href="group__Utility.html#gga12a21">FG_MSG_MOUSE</a>,<a class="el" href="group__Utility.html#gga14a32">FMS_LBUTTONDOWN</a>)的处理函数. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pMsg</em>&nbsp;</td><td>指向鼠标消息结构的指针 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Button_8cpp-source.html">FG_Button.cpp</a>第<a class="el" href="FG__Button_8cpp-source.html#l00109">109</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00098">BUTTON_UP_INTERVAL</a>、<a class="el" href="FG__Object_8h-source.html#l00179">FG_Object::FrameStyle()</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#l00239">FG_Object::RequestDraw()</a>、<a class="el" href="FG__Object_8h-source.html#l00241">FG_Object::StartTimer()</a>及<a class="el" href="classFG__Button.html#y1y0">TIMERID_UP</a>.    </td>

⌨️ 快捷键说明

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