📄 classwgui_1_1cframe.html
字号:
</tr></table><a name="a12" doxytag="wGui::CFrame::OnMouseButtonDown"></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"> bool wGui::CFrame::OnMouseButtonDown </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CPoint.html">CPoint</a> </td> <td class="mdname" nowrap> <em>Point</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>Button</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This is called whenever the frame is clicked on by the mouse Only the topmost window that bounds the point will be called by the system <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>Point</em> </td><td>The point where the mouse clicked </td></tr><tr><td valign=top><em>Button</em> </td><td>A bitfield indicating which button the window was clicked with </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>True if it's in the bounds of the frame </dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a25">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__frame_8cpp-source.html#l00144">144</a> of file <a class="el" href="wg__frame_8cpp-source.html">wg_frame.cpp</a>.<p>References <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__window_8h-source.html#l00209">wGui::CWindow::m_bVisible</a>, <a class="el" href="wg__window_8h-source.html#l00200">wGui::CWindow::m_pParentWindow</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, and <a class="el" href="wg__window_8cpp-source.html#l00223">wGui::CWindow::SetNewParent()</a>. </td> </tr></table><a name="a2" doxytag="wGui::CFrame::SetTitleBarColor"></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"> void wGui::CFrame::SetTitleBarColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CRGBColor.html">CRGBColor</a> & </td> <td class="mdname1" valign="top" nowrap> <em>TitleBarColor</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the color of the title bar <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>TitleBarColor</em> </td><td>The new color for the title bar </td></tr></table></dl><p>Definition at line <a class="el" href="wg__frame_8h-source.html#l00059">59</a> of file <a class="el" href="wg__frame_8h-source.html">wg_frame.h</a>.<p>References <a class="el" href="wg__frame_8h-source.html#l00111">m_TitleBarColor</a>. </td> </tr></table><a name="a4" doxytag="wGui::CFrame::SetTitleBarHeight"></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"> void wGui::CFrame::SetTitleBarHeight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>iTitleBarHeight</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the height of the title bar <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>iTitleBarHeight</em> </td><td></td></tr></table></dl><p>Definition at line <a class="el" href="wg__frame_8cpp-source.html#l00095">95</a> of file <a class="el" href="wg__frame_8cpp-source.html">wg_frame.cpp</a>.<p>References <a class="el" href="wg__frame_8h-source.html#l00113">m_iTitleBarHeight</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, and <a class="el" href="wg__frame_8cpp-source.html#l00119">SetWindowRect()</a>. </td> </tr></table><a name="a3" doxytag="wGui::CFrame::SetTitleBarTextColor"></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"> void wGui::CFrame::SetTitleBarTextColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CRGBColor.html">CRGBColor</a> & </td> <td class="mdname1" valign="top" nowrap> <em>TitleBarTextColor</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the color of the title bar text <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>TitleBarTextColor</em> </td><td>The new color for the title bar text </td></tr></table></dl><p>Definition at line <a class="el" href="wg__frame_8h-source.html#l00063">63</a> of file <a class="el" href="wg__frame_8h-source.html">wg_frame.h</a>.<p>References <a class="el" href="wg__frame_8h-source.html#l00112">m_TitleBarTextColor</a>. </td> </tr></table><a name="a9" doxytag="wGui::CFrame::SetWindowRect"></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"> void wGui::CFrame::SetWindowRect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CRect.html">CRect</a> & </td> <td class="mdname1" valign="top" nowrap> <em>WindowRect</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Giving a control a new WindowRect will move and resize the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>WindowRect</em> </td><td>A <a class="el" href="classwGui_1_1CRect.html">CRect</a> that defines the outer limits of the control </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a2">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__frame_8cpp-source.html#l00119">119</a> of file <a class="el" href="wg__frame_8cpp-source.html">wg_frame.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00130">wGui::CRect::Height()</a>, <a class="el" href="wg__window_8h-source.html#l00197">wGui::CWindow::m_ClientRect</a>, <a class="el" href="wg__frame_8h-source.html#l00113">m_iTitleBarHeight</a>, <a class="el" href="wg__frame_8h-source.html#l00110">m_pFrameCloseButton</a>, <a class="el" href="wg__window_8cpp-source.html#l00077">wGui::CWindow::SetWindowRect()</a>, <a class="el" href="wg__rect_8h-source.html#l00094">wGui::CRect::TopLeft()</a>, and <a class="el" href="wg__rect_8h-source.html#l00127">wGui::CRect::Width()</a>.<p>Referenced by <a class="el" href="wg__frame_8cpp-source.html#l00032">CFrame()</a>, and <a class="el" href="wg__frame_8cpp-source.html#l00095">SetTitleBarHeight()</a>. </td> </tr></table><a name="a11" doxytag="wGui::CFrame::SetWindowText"></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"> void wGui::CFrame::SetWindowText </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const std::string & </td> <td class="mdname1" valign="top" nowrap> <em>sText</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the title bar text of the frame <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>sText</em> </td><td>The text to assign to the view </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a15">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__frame_8cpp-source.html#l00135">135</a> of file <a class="el" href="wg__frame_8cpp-source.html">wg_frame.cpp</a>.<p>References <a class="el" href="wg__frame_8h-source.html#l00114">m_pFontEngine</a>, <a class="el" href="wg__frame_8h-source.html#l00115">m_pRenderedString</a>, and <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__frame_8h-source.html">wg_frame.h</a><li><a class="el" href="wg__frame_8cpp-source.html">wg_frame.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:27 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 + -