mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-04 08:27:57 +03:00
Compilation fixes due to change of RECT handling.
git-svn-id: http://svn.purei.org/purei/trunk@1118 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
22c899d941
commit
8b355c3e2b
45 changed files with 360 additions and 468 deletions
|
@ -132,18 +132,22 @@ void CELFProgramView::FillInformation()
|
|||
|
||||
void CELFProgramView::RefreshLayout()
|
||||
{
|
||||
RECT rc;
|
||||
::GetClientRect(GetParent(), &rc);
|
||||
{
|
||||
RECT rc;
|
||||
::GetClientRect(GetParent(), &rc);
|
||||
|
||||
SetPosition(0, 0);
|
||||
SetSize(rc.right, rc.bottom);
|
||||
SetPosition(0, 0);
|
||||
SetSize(rc.right, rc.bottom);
|
||||
}
|
||||
|
||||
GetClientRect(&rc);
|
||||
{
|
||||
RECT rc = GetClientRect();
|
||||
|
||||
SetRect(&rc, rc.left + 10, rc.top + 10, rc.right - 10, rc.bottom + m_pLayout->GetPreferredHeight());
|
||||
SetRect(&rc, rc.left + 10, rc.top + 10, rc.right - 10, rc.bottom + m_pLayout->GetPreferredHeight());
|
||||
|
||||
m_pLayout->SetRect(rc.left, rc.top, rc.right, rc.bottom);
|
||||
m_pLayout->RefreshGeometry();
|
||||
m_pLayout->SetRect(rc.left, rc.top, rc.right, rc.bottom);
|
||||
m_pLayout->RefreshGeometry();
|
||||
}
|
||||
|
||||
Redraw();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue