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

📄 classfg__bitmap.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: FG_Bitmap class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- 制作者 Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">首页</a> | <a class="qindex" href="modules.html">模块</a> | <a class="qindex" href="hierarchy.html">类继承关系</a> | <a class="qindex" href="classes.html">按字典顺序排序的列表</a> | <a class="qindex" href="annotated.html">组合类型列表</a> | <a class="qindex" href="files.html">文件列表</a> | <a class="qindex" href="functions.html">组合类型成员</a> | <a class="qindex" href="globals.html">文件成员</a></div><h1>FG_Bitmap类参考<br><small>[<a class="el" href="group__Framework.html">框架层</a>]</small></h1><code>#include &lt;<a class="el" href="FG__Bitmap_8h-source.html">FG_Bitmap.h</a>&gt;</code><p><p>继承图,类FG_Bitmap<p><center><img src="classFG__Bitmap.png" usemap="#FG_Bitmap_map" border="0" alt=""></center><map name="FG_Bitmap_map"><area href="classFG__TextWidget.html" alt="FG_TextWidget" shape="rect" coords="0,112,97,136"><area href="classFG__Widget.html" alt="FG_Widget" shape="rect" coords="0,56,97,80"><area href="classFG__Object.html" alt="FG_Object" shape="rect" coords="0,0,97,24"></map>FG_Bitmap合作图:<p><center><img src="classFG__Bitmap__coll__graph.png" border="0" usemap="#FG__Bitmap__coll__map" alt="Collaboration graph"></center><map name="FG__Bitmap__coll__map"><area href="classFG__TextWidget.html" shape="rect" coords="247,625,372,817" alt=""><area href="classFG__Widget.html" shape="rect" coords="83,385,211,545" alt=""><area href="structFG__MSGMAP.html" shape="rect" coords="7,209,135,305" alt=""><area href="structFG__MSGMAP__ENTRY.html" shape="rect" coords="297,17,439,145" alt=""><area href="classFG__String.html" shape="rect" coords="399,369,497,561" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classFG__Bitmap-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>位图控件类. <p>位图控件可以放在窗口上,用来显示静态的位图。<br> 通过定时器改变当前显示的位图,可以实现动画的显示。 <p><p>在文件<a class="el" href="FG__Bitmap_8h-source.html">FG_Bitmap.h</a>第<a class="el" href="FG__Bitmap_8h-source.html#l00049">49</a>行定义。<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#a0">FG_Bitmap</a> (const char *Text, const <a class="el" href="structFG__Rect.html">FG_Rect</a> &amp;Rect, const <a class="el" href="group__Utility.html#ga1">WORD</a> wID=0, const <a class="el" href="group__Utility.html#ga1">WORD</a> wStyle=<a class="el" href="group__Frame__Style.html#ga0">FS_NONE</a>|<a class="el" href="group__General__Style.html#ga0">GS_TRANSPARENT</a>)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">构造函数  <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#a1">CanGetFocus</a> (void) const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">返回控件能否得到焦点的标志  <a href="#a1"></a><br><br></td></tr><tr><td colspan=2><br><h2>保护成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#b0">OnDraw</a> (<a class="el" href="classFG__OSAdaptor.html">FG_OSAdaptor</a> *pAdaptor)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>消息的处理函数  <a href="#b0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#b1">GetMessageMap</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">得到本类的消息映射表指针  <a href="#b1"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态保护属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#t0">m_MsgMap</a> = { &amp; <a class="el" href="classFG__Widget.html">FG_Widget</a> ::<a class="el" href="classFG__Bitmap.html#t0">m_MsgMap</a>, &amp; <a class="el" href="classFG__Bitmap.html">FG_Bitmap</a> ::<a class="el" href="classFG__Bitmap.html#v0">m_MsgEntries</a>[0] }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">本类的消息映射表  <a href="#t0"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态私有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP__ENTRY.html">FG_MSGMAP_ENTRY</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__Bitmap.html#v0">m_MsgEntries</a> []</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">消息映射表项数组.  <a href="#v0"></a><br><br></td></tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_Bitmap::FG_Bitmap" ></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"> FG_Bitmap::FG_Bitmap </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 <a class="el" href="structFG__Rect.html">FG_Rect</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>Rect</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wID</em> = 0, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>wStyle</em> = <a class="el" href="group__Frame__Style.html#ga0">FS_NONE</a>|<a class="el" href="group__General__Style.html#ga0">GS_TRANSPARENT</a></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</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>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>Text</em>&nbsp;</td><td>要显示的位图名称 </td></tr>    <tr><td valign=top><em>Rect</em>&nbsp;</td><td>位图显示的矩形区域,在没有裁减区的情况下,Rect的左上角坐标为位图显示的左上角坐标, Rect的右下角坐标被忽略,位图不会被裁剪。 </td></tr>    <tr><td valign=top><em>wID</em>&nbsp;</td><td>位图控件的唯一标识,缺省值为0  </td></tr>    <tr><td valign=top><em>wStyle</em>&nbsp;</td><td>位图控件的边框风格,缺省值为<a class="el" href="group__Frame__Style.html#ga0">FS_NONE</a>|<a class="el" href="group__General__Style.html#ga0">GS_TRANSPARENT</a> </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Bitmap_8h-source.html">FG_Bitmap.h</a>第<a class="el" href="FG__Bitmap_8h-source.html#l00061">61</a>行定义。<p>参考 <a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.    </td>  </tr></table><hr><h2>成员函数文档</h2><a class="anchor" name="a1" doxytag="FG_Bitmap::CanGetFocus" ></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_Bitmap::CanGetFocus </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline, 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>false 该控件不能得到焦点 </dd></dl><p>重载<a class="el" href="classFG__Widget.html#a1">FG_Widget</a>。

⌨️ 快捷键说明

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