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

📄 classfg__osadaptor.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>绘制点划线矩形 <p>代理调用<a class="el" href="classFG__OSDrawInterface.html#a11">FG_OSDrawInterface::DrawDotRect</a> <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>color</em>&nbsp;</td><td>矩形的颜色 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__OSAdaptor_8cpp-source.html">FG_OSAdaptor.cpp</a>第<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00180">180</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>、<a class="el" href="classFG__OSDrawInterface.html#a11">FG_OSDrawInterface::DrawDotRect()</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00067">m_pDraw</a>.<p>参考自 <a class="el" href="FG__TextWidget_8cpp-source.html#l00046">FG_TextWidget::DrawTextFocus()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>及<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__OSAdaptor_a12_cgraph.png" border="0" usemap="#classFG__OSAdaptor_a12_cgraph_map" alt=""></center><map name="classFG__OSAdaptor_a12_cgraph_map"><area href="classFG__OSDrawInterface.html#a11" shape="rect" coords="248,7,461,33" alt=""></map><a class="anchor" name="a11" doxytag="FG_OSAdaptor::DrawPolyLine" ></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_OSAdaptor::DrawPolyLine </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const short&nbsp;</td>          <td class="mdname" nowrap> <em>n</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="structFG__Point.html">FG_Point</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>vert</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Color.html#ga0">COLORVAL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>color</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</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="classFG__OSDrawInterface.html#a10">FG_OSDrawInterface::DrawPolyLine</a> <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>n</em>&nbsp;</td><td>该折线包含的点数 </td></tr>    <tr><td valign=top><em>vert</em>&nbsp;</td><td>所有点的数组 </td></tr>    <tr><td valign=top><em>color</em>&nbsp;</td><td>折线的颜色 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__OSAdaptor_8cpp-source.html">FG_OSAdaptor.cpp</a>第<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00173">173</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>、<a class="el" href="classFG__OSDrawInterface.html#a10">FG_OSDrawInterface::DrawPolyLine()</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00067">m_pDraw</a>.<p>参考自 <a class="el" href="FG__Object_8cpp-source.html#l00061">FG_Object::DrawBorder()</a>、<a class="el" href="MyButton_8cpp-source.html#l00047">MyButton::OnDraw()</a>及<a class="el" href="FG__Group_8cpp-source.html#l00047">FG_Group::OnDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__OSAdaptor_a11_cgraph.png" border="0" usemap="#classFG__OSAdaptor_a11_cgraph_map" alt=""></center><map name="classFG__OSAdaptor_a11_cgraph_map"><area href="classFG__OSDrawInterface.html#a10" shape="rect" coords="251,7,467,33" alt=""></map><a class="anchor" name="a7" doxytag="FG_OSAdaptor::DrawText" ></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_OSAdaptor::DrawText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap> <em>Text</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const short&nbsp;</td>          <td class="mdname" nowrap> <em>x</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const short&nbsp;</td>          <td class="mdname" nowrap> <em>y</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Color.html#ga0">COLORVAL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>color</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</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="classFG__OSDrawInterface.html#a6">FG_OSDrawInterface::DrawText</a> <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Text</em>&nbsp;</td><td>要绘制的字符串,以<a class="el" href="group__Utility.html#ga11">NULL</a>结束 </td></tr>    <tr><td valign=top><em>x</em>&nbsp;</td><td>文本左上角的横坐标 </td></tr>    <tr><td valign=top><em>y</em>&nbsp;</td><td>文本左上角的纵坐标 </td></tr>    <tr><td valign=top><em>color</em>&nbsp;</td><td>文本的颜色 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__OSAdaptor_8cpp-source.html">FG_OSAdaptor.cpp</a>第<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00141">141</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00072">COLORVAL</a>、<a class="el" href="classFG__OSDrawInterface.html#a6">FG_OSDrawInterface::DrawText()</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00067">m_pDraw</a>.<p>参考自 <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__CheckBox_8cpp-source.html#l00049">FG_CheckBox::OnDraw()</a>及<a class="el" href="FG__Button_8cpp-source.html#l00053">FG_Button::OnDraw()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__OSAdaptor_a7_cgraph.png" border="0" usemap="#classFG__OSAdaptor_a7_cgraph_map" alt=""></center><map name="classFG__OSAdaptor_a7_cgraph_map"><area href="classFG__OSDrawInterface.html#a6" shape="rect" coords="226,7,416,33" alt=""></map><a class="anchor" name="a4" doxytag="FG_OSAdaptor::EndDraw" ></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_OSAdaptor::EndDraw </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> [virtual]</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="classFG__OSDrawInterface.html#a3">FG_OSDrawInterface::EndDraw</a>,该函数把缓冲区内容刷新到屏幕上 <p>在文件<a class="el" href="FG__OSAdaptor_8cpp-source.html">FG_OSAdaptor.cpp</a>第<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00120">120</a>行定义。<p>参考 <a class="el" href="classFG__OSDrawInterface.html#a3">FG_OSDrawInterface::EndDraw()</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00067">m_pDraw</a>.<p>参考自 <a class="el" href="FG__Screen_8cpp-source.html#l00195">FG_Screen::DrawAllWindow()</a>、<a class="el" href="FG__Object_8cpp-source.html#l00061">FG_Object::DrawBorder()</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__OSAdaptor_a4_cgraph.png" border="0" usemap="#classFG__OSAdaptor_a4_cgraph_map" alt=""></center><map name="classFG__OSAdaptor_a4_cgraph_map"><area href="classFG__OSDrawInterface.html#a3" shape="rect" coords="226,7,416,33" alt=""></map><a class="anchor" name="b3" doxytag="FG_OSAdaptor::Execute" ></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 bool FG_OSAdaptor::Execute </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> [protected, pure virtual]</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>退出是否成功<br> true 成功<br> false 失败 </dd></dl><p>Implemented in <a class="el" href="classFG__Win32Adaptor.html#a2">FG_Win32Adaptor</a>, and <a class="el" href="classFG__X11Adaptor.html#a2">FG_X11Adaptor</a>.<p>参考自 <a class="el" href="FG__OSAdaptor_8cpp-source.html#l00090">Run()</a>.    </td>  </tr></table><a class="anchor" name="b2" doxytag="FG_OSAdaptor::ExitInstance" ></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 bool FG_OSAdaptor::ExitInstance </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> [protected, pure virtual]</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>退出是否成功<br> true 成功<br> false 失败 </dd></dl>

⌨️ 快捷键说明

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