mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-fixed sourceflow to include the last source button
-fixed background song title display which decided not to work right anymore for some strange reason.
This commit is contained in:
parent
054f30e638
commit
f11ccb2611
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 |
@ -374,7 +374,7 @@ void ListGenerator::createSFList(u8 maxBtns, Config &m_sourceMenuCfg, const stri
|
||||
{
|
||||
Clear();
|
||||
char btn_selected[256];
|
||||
for(u8 i = 0; i < maxBtns; i++)
|
||||
for(u8 i = 0; i <= maxBtns; i++)
|
||||
{
|
||||
memset(btn_selected, 0, 256);
|
||||
strncpy(btn_selected, fmt("BUTTON_%i", i), 255);
|
||||
|
@ -1778,15 +1778,17 @@ void CMenu::_mainLoopCommon(bool withCF, bool adjusting)
|
||||
{
|
||||
m_btnMgr.setText(m_mainLblCurMusic, MusicPlayer.GetFileName(), false);// false for word wrap
|
||||
m_btnMgr.show(m_mainLblCurMusic);
|
||||
MusicPlayer.DisplayTime = time(NULL);
|
||||
m_musicTimer = 180;
|
||||
}
|
||||
// hide song title if it's displaying and been >3 seconds
|
||||
else if(MusicPlayer.DisplayTime > 0 && time(NULL) - MusicPlayer.DisplayTime > 3)
|
||||
if(m_musicTimer > 0)
|
||||
{
|
||||
if(--m_musicTimer == 0)
|
||||
{
|
||||
MusicPlayer.DisplayTime = 0;
|
||||
m_btnMgr.hide(m_mainLblCurMusic);
|
||||
if(MusicPlayer.OneSong) m_music_info = false;
|
||||
}
|
||||
}
|
||||
|
||||
//Take Screenshot
|
||||
if(WBTN_Z_PRESSED || GBTN_Z_PRESSED)
|
||||
|
@ -112,6 +112,7 @@ private:
|
||||
bool m_source_autoboot;
|
||||
dir_discHdr m_autoboot_hdr;
|
||||
s16 m_showtimer;
|
||||
s16 m_musicTimer;
|
||||
string m_curLanguage;
|
||||
|
||||
string m_sourceDir;
|
||||
|
@ -840,7 +840,7 @@ void CMenu::_initMainMenu()
|
||||
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_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, 900, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
||||
m_mainLblCurMusic = _addLabel("MAIN/MUSIC", theme.btnFont, L"", 0, 40, 640, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
||||
//#ifdef SHOWMEM
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user