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

📄 classwgui_1_1cprogress.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>wGui::CProgress class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; </center><hr><h1>wGui::CProgress Class Reference</h1>A progress bar display. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="wg__progress_8h-source.html">wg_progress.h</a>&gt;</code><p><p>Inheritance diagram for wGui::CProgress:<p><center><img src="classwGui_1_1CProgress.png" usemap="#wGui::CProgress_map" border="0" alt=""></center><map name="wGui::CProgress_map"><area href="classwGui_1_1CWindow.html" alt="wGui::CWindow" shape="rect" coords="0,56,138,80"><area href="classwGui_1_1CMessageClient.html" alt="wGui::CMessageClient" shape="rect" coords="0,0,138,24"></map><h2>Public Methods</h2><ul><li><a class="el" href="classwGui_1_1CProgress.html#a0">CProgress</a> (const <a class="el" href="classwGui_1_1CRect.html">CRect</a> &amp;WindowRect, <a class="el" href="classwGui_1_1CWindow.html">CWindow</a> *pParent, <a class="el" href="classwGui_1_1CRGBColor.html">CRGBColor</a> BarColor=COLOR_BLUE)<li><a name="a1" doxytag="wGui::CProgress::~CProgress"></a>virtual <a class="el" href="classwGui_1_1CProgress.html#a1">~CProgress</a> (void)<dl class="el"><dd><font size=-1><em>Standard destructor.<br><br></em></font></dl><li><a name="a2" doxytag="wGui::CProgress::SetLimits"></a>void <a class="el" href="classwGui_1_1CProgress.html#a2">SetLimits</a> (int Min, int Max)<dl class="el"><dd><font size=-1><em>Set the limits of the progress bar.<br><br></em></font></dl><li><a name="a3" doxytag="wGui::CProgress::GetMinLimit"></a>int <a class="el" href="classwGui_1_1CProgress.html#a3">GetMinLimit</a> (void)<dl class="el"><dd><font size=-1><em><dl compact><dt><b>Returns: </b></dt><dd>The minimum limit of the progress bar</dl><br><br></em></font></dl><li><a name="a4" doxytag="wGui::CProgress::GetMaxLimit"></a>int <a class="el" href="classwGui_1_1CProgress.html#a4">GetMaxLimit</a> (void)<dl class="el"><dd><font size=-1><em><dl compact><dt><b>Returns: </b></dt><dd>The maximum limit of the progress bar</dl><br><br></em></font></dl><li><a name="a5" doxytag="wGui::CProgress::SetProgress"></a>void <a class="el" href="classwGui_1_1CProgress.html#a5">SetProgress</a> (int iProgress)<dl class="el"><dd><font size=-1><em>Set the current progress value.<br><br></em></font></dl><li><a name="a6" doxytag="wGui::CProgress::GetProgress"></a>int <a class="el" href="classwGui_1_1CProgress.html#a6">GetProgress</a> (void)<dl class="el"><dd><font size=-1><em><dl compact><dt><b>Returns: </b></dt><dd>The current progress value</dl><br><br></em></font></dl><li><a name="a7" doxytag="wGui::CProgress::Draw"></a>virtual void <a class="el" href="classwGui_1_1CProgress.html#a7">Draw</a> (void) const<dl class="el"><dd><font size=-1><em>Draws the progress bar.<br><br></em></font></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>A progress bar display.<p><p>Definition at line <a class="el" href="wg__progress_8h-source.html#l00037">37</a> of file <a class="el" href="wg__progress_8h-source.html">wg_progress.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="wGui::CProgress::CProgress"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> wGui::CProgress::CProgress </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CRect.html">CRect</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>WindowRect</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classwGui_1_1CWindow.html">CWindow</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pParent</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classwGui_1_1CRGBColor.html">CRGBColor</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>BarColor</em> = COLOR_BLUE</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Constructs a progress bar, initilizes the limits to 0, and 100 with the progress at 0 <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>WindowRect</em>&nbsp;</td><td>A <a class="el" href="classwGui_1_1CRect.html">CRect</a> that defines the outer limits of the control </td></tr><tr><td valign=top><em>pParent</em>&nbsp;</td><td>A pointer to the parent window </td></tr><tr><td valign=top><em>BarColor</em>&nbsp;</td><td>The color of the progress bar, defaults to Blue </td></tr></table></dl><p>Definition at line <a class="el" href="wg__progress_8cpp-source.html#l00032">32</a> of file <a class="el" href="wg__progress_8cpp-source.html">wg_progress.cpp</a>.<p>References <a class="el" href="wg__window_8h-source.html#l00194">wGui::CWindow::m_BGColor</a>, and <a class="el" href="wg__window_8h-source.html#l00212">wGui::CWindow::m_sClassName</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__progress_8h-source.html">wg_progress.h</a><li><a class="el" href="wg__progress_8cpp-source.html">wg_progress.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:28 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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