mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-fixed user labels behind default source menu btns
-added .log files to file explorer text viewer
This commit is contained in:
parent
32946bef84
commit
f887de7e8f
@ -242,7 +242,8 @@ void CMenu::_Explorer(void)
|
||||
}
|
||||
else if(strcasestr(file, ".txt") != NULL || strcasestr(file, ".nfo") != NULL
|
||||
|| strcasestr(file, ".ini") != NULL || strcasestr(file, ".conf") != NULL
|
||||
|| strcasestr(file, ".cfg") != NULL || strcasestr(file, ".xml") != NULL)
|
||||
|| strcasestr(file, ".cfg") != NULL || strcasestr(file, ".xml") != NULL
|
||||
|| strcasestr(file, ".log") != NULL)
|
||||
{
|
||||
_hideExplorer();
|
||||
m_txt_view = true;
|
||||
|
@ -621,12 +621,6 @@ void CMenu::_initSourceMenu()
|
||||
TexHandle.fromPNG(texHomebrew, btnhomebrew_png);
|
||||
TexHandle.fromPNG(texHomebrews, btnhomebrews_png);
|
||||
|
||||
m_sourceBtnChannel = _addPicButton("SOURCE/CHANNEL_BTN", texChannel, texChannels, 265, 260, 48, 48);
|
||||
m_sourceBtnHomebrew = _addPicButton("SOURCE/HOMEBREW_BTN", texHomebrew, texHomebrews, 325, 260, 48, 48);
|
||||
m_sourceBtnUsb = _addPicButton("SOURCE/USB_BTN", texUsb, texUsbs, 235, 200, 48, 48);
|
||||
m_sourceBtnDML = _addPicButton("SOURCE/DML_BTN", texDML, texDMLs, 295, 200, 48, 48);
|
||||
m_sourceBtnEmu = _addPicButton("SOURCE/EMU_BTN", texEmu, texEmus, 355, 200, 48, 48);
|
||||
|
||||
_addUserLabels(m_sourceLblUser, ARRAY_SIZE(m_sourceLblUser), "SOURCE");
|
||||
m_sourceBg = _texture("SOURCE/BG", "texture", theme.bg, false);
|
||||
m_sourceLblTitle = _addTitle("SOURCE/TITLE", theme.titleFont, L"", 20, 20, 600, 60, theme.titleFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE);
|
||||
@ -635,6 +629,12 @@ void CMenu::_initSourceMenu()
|
||||
m_sourceBtnPageM = _addPicButton("SOURCE/PAGE_MINUS", theme.btnTexMinus, theme.btnTexMinusS, 10, 400, 52, 56);
|
||||
m_sourceBtnPageP = _addPicButton("SOURCE/PAGE_PLUS", theme.btnTexPlus, theme.btnTexPlusS, 160, 400, 52, 56);
|
||||
m_sourceBtnBack = _addButton("SOURCE/BACK_BTN", theme.btnFont, L"", 420, 400, 200, 56, theme.btnFontColor);
|
||||
|
||||
m_sourceBtnChannel = _addPicButton("SOURCE/CHANNEL_BTN", texChannel, texChannels, 265, 260, 48, 48);
|
||||
m_sourceBtnHomebrew = _addPicButton("SOURCE/HOMEBREW_BTN", texHomebrew, texHomebrews, 325, 260, 48, 48);
|
||||
m_sourceBtnUsb = _addPicButton("SOURCE/USB_BTN", texUsb, texUsbs, 235, 200, 48, 48);
|
||||
m_sourceBtnDML = _addPicButton("SOURCE/DML_BTN", texDML, texDMLs, 295, 200, 48, 48);
|
||||
m_sourceBtnEmu = _addPicButton("SOURCE/EMU_BTN", texEmu, texEmus, 355, 200, 48, 48);
|
||||
|
||||
m_sourceDir = m_cfg.getString("GENERAL", "dir_Source", fmt("%s/source_menu", m_dataDir.c_str()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user