gui/moviebrowser.cpp: try to fix footer position

Origin commit data
------------------
Branch: ni/coolstream
Commit: fb5dddc3f5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-29 (Mon, 29 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-09-29 12:26:36 +04:00
parent a13bb88c4f
commit d18fc34b0d

View File

@@ -1633,11 +1633,10 @@ int CMovieBrowser::refreshFoot(bool show)
};
int cnt = sizeof(footerButtons) / sizeof(button_label_ext);
int h;
int res = paintButtons(footerButtons, cnt, 0, 0, 0, 0, 0, false, NULL, &h);
if (show)
paintButtons(footerButtons + offset, cnt - offset, m_cBoxFrame.iX+m_cBoxFrameFootRel.iX, m_cBoxFrame.iHeight - h, m_cBoxFrameFootRel.iWidth, h, m_cBoxFrameFootRel.iWidth);
return res;
return paintButtons(footerButtons + offset, cnt - offset, m_cBoxFrame.iX+m_cBoxFrameFootRel.iX, m_cBoxFrame.iY+m_cBoxFrameFootRel.iY, m_cBoxFrameFootRel.iWidth, m_cBoxFrameFootRel.iHeight, m_cBoxFrameFootRel.iWidth);
else
return paintButtons(footerButtons, cnt, 0, 0, 0, 0, 0, false, NULL, NULL);
}
bool CMovieBrowser::onButtonPress(neutrino_msg_t msg)