diff --git a/source/defines.h b/source/defines.h index 22a5756a..4d56bebe 100644 --- a/source/defines.h +++ b/source/defines.h @@ -21,7 +21,7 @@ #define THANKS \ "Lustar, CedWii, Benjay, Domi78, Oops, \ Celtiore, Jiiwah, FluffyKiwi, Roku93, \ -Spayrosam, Bluescreen81, Chappy23, \ +Spayrosam, Bluescreen81, Chappy23, fledge68, \ BlindDude, Bubba, DJTaz, OggZee, entropy, \ Usptactical, WiiPower, Hermes, Spidy1000, \ Dimok, Kovani, Drexyl, DvZ, Etheboss, \ diff --git a/source/menu/menu_config_adv.cpp b/source/menu/menu_config_adv.cpp index c03cd35f..e88704da 100644 --- a/source/menu/menu_config_adv.cpp +++ b/source/menu/menu_config_adv.cpp @@ -157,6 +157,7 @@ int CMenu::_configAdv(void) s8 direction = m_btnMgr.selected(m_configAdvBtnCurThemeP) ? 1 : -1; curTheme = loopNum(curTheme + direction, (int)themes.size()); m_cfg.setString("GENERAL", "theme", themes[curTheme]); + m_cfg.setInt(_domainFromView(), "last_cf_mode", 1); _showConfigAdv(); } else if (m_btnMgr.selected(m_configAdvBtnCurLanguageP) || m_btnMgr.selected(m_configAdvBtnCurLanguageM)) diff --git a/source/menu/menu_gameinfo.cpp b/source/menu/menu_gameinfo.cpp index a688a011..81f41b90 100644 --- a/source/menu/menu_gameinfo.cpp +++ b/source/menu/menu_gameinfo.cpp @@ -121,6 +121,7 @@ void CMenu::_gameinfo(void) m_btnMgr.reset(m_gameinfoLblSynopsis); m_btnMgr.setText(m_gameinfoLblSynopsis, wfmt(L"%s", gameinfo.Synopsis.c_str()), true); //, line, false); + m_btnMgr.hide(m_gameinfoLblID, true); m_btnMgr.hide(m_gameinfoLblDev, true); m_btnMgr.hide(m_gameinfoLblRegion, true); m_btnMgr.hide(m_gameinfoLblPublisher, true); @@ -144,12 +145,12 @@ void CMenu::_gameinfo(void) else m_btnMgr.show(m_gameinfoLblUser[i]); - m_btnMgr.show(m_gameinfoLblID); m_btnMgr.show(m_gameinfoLblSynopsis); } else if (BTN_LEFT_PRESSED && !(m_thrdWorking && m_thrdStop)) { page = 0; + first = true; m_btnMgr.show(m_gameinfoLblID); m_btnMgr.show(m_gameinfoLblDev); m_btnMgr.show(m_gameinfoLblRegion); diff --git a/source/menu/menu_main.cpp b/source/menu/menu_main.cpp index 529afc2e..667907e4 100644 --- a/source/menu/menu_main.cpp +++ b/source/menu/menu_main.cpp @@ -272,7 +272,7 @@ int CMenu::main(void) { const char *domain = _domainFromView(); s8 direction = BTN_1_PRESSED ? 1 : -1; - int cfVersion = loopNum(m_cfg.getInt(domain, "last_cf_mode", 1) + direction, m_numCFVersions); + int cfVersion = 1+loopNum((m_cfg.getInt(domain, "last_cf_mode", 1)-1) + direction, m_numCFVersions); _loadCFLayout(cfVersion); m_cf.applySettings(); m_cfg.setInt(domain, "last_cf_mode", cfVersion); diff --git a/source/menu/menu_wbfs.cpp b/source/menu/menu_wbfs.cpp index 1785d926..a5b4a833 100644 --- a/source/menu/menu_wbfs.cpp +++ b/source/menu/menu_wbfs.cpp @@ -235,17 +235,15 @@ bool CMenu::_wbfsOp(CMenu::WBFS_OP op) void CMenu::_initWBFSMenu(CMenu::SThemeData &theme) { - CColor fontColor(0xD0BFDFFF); - _addUserLabels(theme, m_wbfsLblUser, ARRAY_SIZE(m_wbfsLblUser), "WBFS"); m_wbfsBg = _texture(theme.texSet, "WBFS/BG", "texture", theme.bg); - m_wbfsLblTitle = _addLabel(theme, "WBFS/TITLE", theme.titleFont, L"", 20, 30, 600, 60, fontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE); - m_wbfsLblDialog = _addLabel(theme, "WBFS/DIALOG", theme.lblFont, L"", 40, 90, 560, 200, CColor(0xFFDFDFDF), FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE); - m_wbfsLblMessage = _addLabel(theme, "WBFS/MESSAGE", theme.lblFont, L"", 40, 300, 560, 100, CColor(0xFFDFDFDF), FTGX_JUSTIFY_CENTER | FTGX_ALIGN_TOP); + m_wbfsLblTitle = _addLabel(theme, "WBFS/TITLE", theme.titleFont, L"", 20, 30, 600, 60, theme.titleFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE); + m_wbfsLblDialog = _addLabel(theme, "WBFS/DIALOG", theme.lblFont, L"", 40, 90, 560, 200, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE); + m_wbfsLblMessage = _addLabel(theme, "WBFS/MESSAGE", theme.lblFont, L"", 40, 300, 560, 100, theme.lblFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_TOP); m_wbfsPBar = _addProgressBar(theme, "WBFS/PROGRESS_BAR", 40, 270, 560, 20); - m_wbfsBtnBack = _addButton(theme, "WBFS/BACK_BTN", theme.btnFont, L"", 420, 410, 200, 56, fontColor); - m_wbfsBtnGo = _addButton(theme, "WBFS/GO_BTN", theme.btnFont, L"", 245, 260, 150, 56, fontColor); - // + m_wbfsBtnBack = _addButton(theme, "WBFS/BACK_BTN", theme.btnFont, L"", 420, 410, 200, 56, theme.btnFontColor); + m_wbfsBtnGo = _addButton(theme, "WBFS/GO_BTN", theme.btnFont, L"", 245, 260, 150, 56, theme.btnFontColor); + // _setHideAnim(m_wbfsLblTitle, "WBFS/TITLE", 0, 0, -2.f, 0.f); _setHideAnim(m_wbfsLblDialog, "WBFS/DIALOG", 0, 0, -2.f, 0.f); _setHideAnim(m_wbfsLblMessage, "WBFS/MESSAGE", 0, 0, -2.f, 0.f);