mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- listframe: simplify calculation of m_cFrameScrollRel.iHeight
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -272,7 +272,7 @@ void CListFrame::initFramesRel(void)
|
|||||||
m_cFrameScrollRel.iX = m_cFrame.iWidth - SCROLLBAR_WIDTH;
|
m_cFrameScrollRel.iX = m_cFrame.iWidth - SCROLLBAR_WIDTH;
|
||||||
m_cFrameScrollRel.iY = m_cFrameTitleRel.iHeight + m_cFrameHeaderListRel.iHeight;
|
m_cFrameScrollRel.iY = m_cFrameTitleRel.iHeight + m_cFrameHeaderListRel.iHeight;
|
||||||
m_cFrameScrollRel.iWidth = SCROLLBAR_WIDTH;
|
m_cFrameScrollRel.iWidth = SCROLLBAR_WIDTH;
|
||||||
m_cFrameScrollRel.iHeight = m_cFrameHeaderListRel.iHeight + m_cFrameListRel.iHeight - m_cFrameHeaderListRel.iHeight - m_nBgRadius;
|
m_cFrameScrollRel.iHeight = m_cFrameListRel.iHeight - m_nBgRadius;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user