mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
-fixed small banner frame (carbonik abz theme) hiding when switching to full banner.
-fixed music title display to use word wrap if wanted.
This commit is contained in:
parent
493e4dc8a9
commit
db38a8b9ab
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -1755,7 +1755,7 @@ void CMenu::_mainLoopCommon(bool withCF, bool adjusting)
|
|||||||
// set song title and display it if music info is allowed
|
// set song title and display it if music info is allowed
|
||||||
if(MusicPlayer.SongChanged() && m_music_info)
|
if(MusicPlayer.SongChanged() && m_music_info)
|
||||||
{
|
{
|
||||||
m_btnMgr.setText(m_mainLblCurMusic, MusicPlayer.GetFileName(), true);
|
m_btnMgr.setText(m_mainLblCurMusic, MusicPlayer.GetFileName(), false);// false for word wrap
|
||||||
m_btnMgr.show(m_mainLblCurMusic);
|
m_btnMgr.show(m_mainLblCurMusic);
|
||||||
MusicPlayer.DisplayTime = time(NULL);
|
MusicPlayer.DisplayTime = time(NULL);
|
||||||
}
|
}
|
||||||
|
@ -888,8 +888,8 @@ void CMenu::_game(bool launch)
|
|||||||
m_btnMgr.hide(m_gameBtnBack);
|
m_btnMgr.hide(m_gameBtnBack);
|
||||||
|
|
||||||
m_btnMgr.hide(m_gameBtnToggle);
|
m_btnMgr.hide(m_gameBtnToggle);
|
||||||
for(u8 i = 0; i < ARRAY_SIZE(m_gameLblUser) - 1; ++i)
|
for(u8 i = 0; i < ARRAY_SIZE(m_gameLblUser); ++i)
|
||||||
if (m_gameLblUser[i] != -1)
|
if(m_gameLblUser[i] != -1)
|
||||||
m_btnMgr.hide(m_gameLblUser[i]);
|
m_btnMgr.hide(m_gameLblUser[i]);
|
||||||
}
|
}
|
||||||
else // no banner for whatever reason
|
else // no banner for whatever reason
|
||||||
|
@ -851,7 +851,7 @@ void CMenu::_initMainMenu()
|
|||||||
m_mainBtnFavoritesOff = _addPicButton("MAIN/FAVORITES_OFF", texFavOff, texFavOffS, 288, 400, 64, 64);
|
m_mainBtnFavoritesOff = _addPicButton("MAIN/FAVORITES_OFF", texFavOff, texFavOffS, 288, 400, 64, 64);
|
||||||
m_mainLblLetter = _addLabel("MAIN/LETTER", theme.titleFont, L"", 540, 40, 80, 80, theme.titleFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, emptyTex);
|
m_mainLblLetter = _addLabel("MAIN/LETTER", theme.titleFont, L"", 540, 40, 80, 80, theme.titleFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, emptyTex);
|
||||||
m_mainLblNotice = _addLabel("MAIN/NOTICE", theme.titleFont, L"", 340, 40, 280, 80, theme.titleFontColor, FTGX_JUSTIFY_RIGHT | FTGX_ALIGN_MIDDLE, emptyTex);
|
m_mainLblNotice = _addLabel("MAIN/NOTICE", theme.titleFont, L"", 340, 40, 280, 80, theme.titleFontColor, FTGX_JUSTIFY_RIGHT | FTGX_ALIGN_MIDDLE, emptyTex);
|
||||||
m_mainLblCurMusic = _addLabel("MAIN/MUSIC", theme.btnFont, L"", 0, 20, 640, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
m_mainLblCurMusic = _addLabel("MAIN/MUSIC", theme.btnFont, L"", 0, 20, 900, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
||||||
//#ifdef SHOWMEM
|
//#ifdef SHOWMEM
|
||||||
m_mem1FreeSize = _addLabel("MEM1", theme.btnFont, L"", 40, 300, 480, 56, theme.btnFontColor, FTGX_JUSTIFY_LEFT, emptyTex);
|
m_mem1FreeSize = _addLabel("MEM1", theme.btnFont, L"", 40, 300, 480, 56, theme.btnFontColor, FTGX_JUSTIFY_LEFT, emptyTex);
|
||||||
m_mem2FreeSize = _addLabel("MEM2", theme.btnFont, L"", 40, 356, 480, 56, theme.btnFontColor, FTGX_JUSTIFY_LEFT, emptyTex);
|
m_mem2FreeSize = _addLabel("MEM2", theme.btnFont, L"", 40, 356, 480, 56, theme.btnFontColor, FTGX_JUSTIFY_LEFT, emptyTex);
|
||||||
|
Loading…
Reference in New Issue
Block a user