mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
-add menu rounded corners on/off
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@395 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -72,7 +72,6 @@ extern CPictureViewer * g_PicViewer;
|
||||
#define PIC_W 52
|
||||
#define PIC_H 39
|
||||
static CProgressBar *timescale;
|
||||
#define ROUND_RADIUS 9
|
||||
|
||||
#define my_scandir scandir64
|
||||
#define my_alphasort alphasort64
|
||||
@@ -1492,7 +1491,7 @@ void CMovieBrowser::refreshTitle(void)
|
||||
//Paint Text Background
|
||||
//TRACE("[mb]->refreshTitle : %s\r\n",m_textTitle.c_str());
|
||||
m_pcWindow->paintBoxRel(m_cBoxFrame.iX+m_cBoxFrameTitleRel.iX, m_cBoxFrame.iY+ m_cBoxFrameTitleRel.iY,
|
||||
m_cBoxFrameTitleRel.iWidth, m_cBoxFrameTitleRel.iHeight, TITLE_BACKGROUND_COLOR, ROUND_RADIUS, CORNER_TOP);
|
||||
m_cBoxFrameTitleRel.iWidth, m_cBoxFrameTitleRel.iHeight, TITLE_BACKGROUND_COLOR, RADIUS_LARGE, CORNER_TOP);
|
||||
|
||||
m_pcFontTitle->RenderString(m_cBoxFrame.iX+m_cBoxFrameTitleRel.iX + TEXT_BORDER_WIDTH, m_cBoxFrame.iY+m_cBoxFrameTitleRel.iY + m_cBoxFrameTitleRel.iHeight, m_cBoxFrameTitleRel.iWidth - (TEXT_BORDER_WIDTH << 1), m_textTitle.c_str(), TITLE_FONT_COLOR, 0, true); // UTF-8
|
||||
}
|
||||
@@ -1512,7 +1511,7 @@ void CMovieBrowser::refreshFoot(void)
|
||||
// draw the background first
|
||||
m_pcWindow->paintBoxRel(m_cBoxFrame.iX+m_cBoxFrameFootRel.iX, m_cBoxFrame.iY+ m_cBoxFrameFootRel.iY,
|
||||
m_cBoxFrameFootRel.iWidth, m_cBoxFrameFootRel.iHeight+ 6,
|
||||
(CFBWindow::color_t)COL_MENUHEAD_PLUS_0, ROUND_RADIUS, CORNER_BOTTOM);
|
||||
(CFBWindow::color_t)COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||
|
||||
// int width = m_cBoxFrameFootRel.iWidth>>2;
|
||||
|
||||
|
Reference in New Issue
Block a user