mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user