📄 class_c_help_example_app_view.html
字号:
<p> </td> </tr></table><a class="anchor" name="910d18e663ad77c3995c0313f3bd65bd"></a><!-- doxytag: member="CHelpExampleAppView::NewLC" ref="910d18e663ad77c3995c0313f3bd65bd" args="(const TRect &aRect)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_c_help_example_app_view.html">CHelpExampleAppView</a> * CHelpExampleAppView::NewLC </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TRect & </td> <td class="mdname1" valign="top" nowrap> <em>aRect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_help_example_app_view.html#910d18e663ad77c3995c0313f3bd65bd">NewLC()</a> Create a CHelpExampleAppView object, which will draw itself to aRect <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>The rectangle this view will be drawn to </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created instance of CHelpExampleAppView </dd></dl><p>Definition at line <a class="el" href="helpexampleappview_8cpp-source.html#l00038">38</a> of file <a class="el" href="helpexampleappview_8cpp-source.html">helpexampleappview.cpp</a>.<p>References <a class="el" href="helpexampleappview_8cpp-source.html#l00051">ConstructL()</a>.<p>Referenced by <a class="el" href="helpexampleappview_8cpp-source.html#l00026">NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 {<a name="l00040"></a>00040 <a class="code" href="class_c_help_example_app_view.html">CHelpExampleAppView</a>* <span class="keyword">self</span> = <span class="keyword">new</span> ( ELeave ) <a class="code" href="class_c_help_example_app_view.html">CHelpExampleAppView</a>;<a name="l00041"></a>00041 CleanupStack::PushL( <span class="keyword">self</span> );<a name="l00042"></a>00042 <span class="keyword">self</span>->ConstructL( aRect );<a name="l00043"></a>00043 <span class="keywordflow">return</span> <span class="keyword">self</span>;<a name="l00044"></a>00044 }</pre></div><p> </td> </tr></table><a class="anchor" name="67f946ca7848ec78de4961c5bcefdb72"></a><!-- doxytag: member="CHelpExampleAppView::Draw" ref="67f946ca7848ec78de4961c5bcefdb72" args="(const TRect &aRect) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CHelpExampleAppView::Draw </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TRect & </td> <td class="mdname1" valign="top" nowrap> <em>aRect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_help_example_app_view.html#67f946ca7848ec78de4961c5bcefdb72">Draw()</a> Draw this CHelpExampleAppView to the screen <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>The rectangle of this view that needs updating </td></tr> </table></dl><p>Definition at line <a class="el" href="helpexampleappview_8cpp-source.html#l00084">84</a> of file <a class="el" href="helpexampleappview_8cpp-source.html">helpexampleappview.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00085"></a>00085 {<a name="l00086"></a>00086 <span class="comment">// Clear the screen</span><a name="l00087"></a>00087 CWindowGc& gc = SystemGc();<a name="l00088"></a>00088 gc.Clear ( Rect() );<a name="l00089"></a>00089 }</pre></div><p> </td> </tr></table><a class="anchor" name="bf31593b337cbf3fb671382cf773281c"></a><!-- doxytag: member="CHelpExampleAppView::ConstructL" ref="bf31593b337cbf3fb671382cf773281c" args="(const TRect &aRect)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CHelpExampleAppView::ConstructL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const TRect & </td> <td class="mdname1" valign="top" nowrap> <em>aRect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_help_example_app_view.html#bf31593b337cbf3fb671382cf773281c">ConstructL()</a> Perform the second phase construction of a CHelpExampleAppView object <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aRect</em> </td><td>The rectangle this view will be drawn to </td></tr> </table></dl><p>Definition at line <a class="el" href="helpexampleappview_8cpp-source.html#l00051">51</a> of file <a class="el" href="helpexampleappview_8cpp-source.html">helpexampleappview.cpp</a>.<p>Referenced by <a class="el" href="helpexampleappview_8cpp-source.html#l00038">NewLC()</a>.<div class="fragment"><pre class="fragment"><a name="l00052"></a>00052 {<a name="l00053"></a>00053 CreateWindowL();<a name="l00054"></a>00054 <a name="l00055"></a>00055 SetRect ( aRect );<a name="l00056"></a>00056 <a name="l00057"></a>00057 ActivateL();<a name="l00058"></a>00058 }</pre></div><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="helpexampleappview_8h-source.html">helpexampleappview.h</a><li><a class="el" href="helpexampleappview_8cpp-source.html">helpexampleappview.cpp</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -