2012-12-27 00:22:44 +01:00
|
|
|
/****************************************************************************
|
|
|
|
* Copyright (C) 2012 FIX94
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
****************************************************************************/
|
2012-12-21 20:51:22 +01:00
|
|
|
#include "menu.hpp"
|
|
|
|
#include "const_str.hpp"
|
2012-12-27 00:22:44 +01:00
|
|
|
#include "channel/nand_save.hpp"
|
2012-12-21 20:51:22 +01:00
|
|
|
|
|
|
|
s16 m_bootLblTitle;
|
2013-08-17 15:21:43 +02:00
|
|
|
s16 m_bootBtnBack;
|
|
|
|
s16 m_bootLblPage;
|
|
|
|
s16 m_bootBtnPageM;
|
|
|
|
s16 m_bootBtnPageP;
|
|
|
|
s16 m_bootLblUser[4];
|
|
|
|
|
2012-12-21 20:51:22 +01:00
|
|
|
s16 m_bootLblLoadCIOS;
|
|
|
|
s16 m_bootBtnLoadCIOS;
|
|
|
|
|
|
|
|
s16 m_bootLblCIOSrev;
|
|
|
|
s16 m_bootLblCurCIOSrev;
|
|
|
|
s16 m_bootLblCIOSrevM;
|
|
|
|
s16 m_bootLblCIOSrevP;
|
|
|
|
|
2013-02-14 22:30:48 +01:00
|
|
|
s16 m_bootLblUSBPort;
|
|
|
|
s16 m_bootBtnUSBPort;
|
|
|
|
|
2013-08-17 15:21:43 +02:00
|
|
|
s16 m_bootLblAsyncNet;
|
|
|
|
s16 m_bootBtnAsyncNet;
|
|
|
|
|
2013-09-06 01:52:21 +02:00
|
|
|
s16 m_bootLblFtpOnBoot;
|
|
|
|
s16 m_bootBtnFtpOnBoot;
|
|
|
|
|
2013-04-08 23:45:13 +02:00
|
|
|
u8 set_port = 0;
|
2013-08-17 15:21:43 +02:00
|
|
|
u8 boot_curPage = 1;
|
|
|
|
u8 boot_Pages = 2;
|
2013-04-08 23:45:13 +02:00
|
|
|
|
2012-12-21 20:51:22 +01:00
|
|
|
static void showBoot(void)
|
|
|
|
{
|
|
|
|
m_btnMgr.show(m_bootLblTitle);
|
2013-04-08 23:45:13 +02:00
|
|
|
m_btnMgr.show(m_bootBtnBack);
|
2013-08-17 15:21:43 +02:00
|
|
|
m_btnMgr.show(m_bootLblPage);
|
|
|
|
m_btnMgr.show(m_bootBtnPageM);
|
|
|
|
m_btnMgr.show(m_bootBtnPageP);
|
2013-08-14 18:11:26 +02:00
|
|
|
for(u8 i = 0; i < ARRAY_SIZE(m_bootLblUser); ++i)
|
|
|
|
if(m_bootLblUser[i] != -1)
|
2013-09-06 02:25:36 +02:00
|
|
|
m_btnMgr.show(m_bootLblUser[i]);
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
|
2013-08-17 15:21:43 +02:00
|
|
|
static void hideBoot(bool instant, bool common)
|
2012-12-21 20:51:22 +01:00
|
|
|
{
|
2013-08-17 15:21:43 +02:00
|
|
|
if(common)
|
|
|
|
{
|
|
|
|
m_btnMgr.hide(m_bootLblTitle, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnBack, instant);
|
|
|
|
m_btnMgr.hide(m_bootLblPage, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnPageM, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnPageP, instant);
|
|
|
|
for(u8 i = 0; i < ARRAY_SIZE(m_bootLblUser); ++i)
|
|
|
|
if(m_bootLblUser[i] != -1)
|
|
|
|
m_btnMgr.hide(m_bootLblUser[i], instant);
|
|
|
|
}
|
2012-12-21 20:51:22 +01:00
|
|
|
m_btnMgr.hide(m_bootLblLoadCIOS, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnLoadCIOS, instant);
|
|
|
|
|
|
|
|
m_btnMgr.hide(m_bootLblCIOSrev, instant);
|
|
|
|
m_btnMgr.hide(m_bootLblCurCIOSrev, instant);
|
|
|
|
m_btnMgr.hide(m_bootLblCIOSrevM, instant);
|
|
|
|
m_btnMgr.hide(m_bootLblCIOSrevP, instant);
|
2013-02-14 22:30:48 +01:00
|
|
|
|
|
|
|
m_btnMgr.hide(m_bootLblUSBPort, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnUSBPort, instant);
|
2013-08-17 15:21:43 +02:00
|
|
|
|
2013-09-12 15:04:50 +02:00
|
|
|
/* page 2 */
|
2013-08-17 15:21:43 +02:00
|
|
|
m_btnMgr.hide(m_bootLblAsyncNet, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnAsyncNet, instant);
|
2013-09-12 15:04:50 +02:00
|
|
|
|
2013-09-06 01:52:21 +02:00
|
|
|
m_btnMgr.hide(m_bootLblFtpOnBoot, instant);
|
|
|
|
m_btnMgr.hide(m_bootBtnFtpOnBoot, instant);
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
|
2013-02-14 22:50:46 +01:00
|
|
|
bool CMenu::_Boot(void)
|
2012-12-21 20:51:22 +01:00
|
|
|
{
|
2013-08-17 15:21:43 +02:00
|
|
|
boot_curPage = 1;
|
2012-12-21 20:51:22 +01:00
|
|
|
SetupInput();
|
2013-04-08 23:45:13 +02:00
|
|
|
set_port = currentPort;
|
|
|
|
bool prev_load = cur_load;
|
|
|
|
u8 prev_ios = cur_ios;
|
2013-08-17 15:21:43 +02:00
|
|
|
showBoot();
|
2013-04-08 23:45:13 +02:00
|
|
|
_refreshBoot();
|
2012-12-21 20:51:22 +01:00
|
|
|
|
|
|
|
while(!m_exit)
|
|
|
|
{
|
|
|
|
_mainLoopCommon();
|
|
|
|
if(BTN_HOME_PRESSED || BTN_B_PRESSED)
|
2013-02-14 22:30:48 +01:00
|
|
|
break;
|
2013-08-17 15:21:43 +02:00
|
|
|
else if(BTN_UP_PRESSED)
|
|
|
|
m_btnMgr.up();
|
|
|
|
else if(BTN_DOWN_PRESSED)
|
|
|
|
m_btnMgr.down();
|
|
|
|
else if((BTN_MINUS_PRESSED || BTN_LEFT_PRESSED) || (BTN_A_PRESSED && m_btnMgr.selected(m_bootBtnPageM)))
|
|
|
|
{
|
|
|
|
boot_curPage--;
|
|
|
|
if(boot_curPage == 0) boot_curPage = boot_Pages;
|
|
|
|
if(BTN_LEFT_PRESSED || BTN_MINUS_PRESSED)
|
|
|
|
m_btnMgr.click(m_bootBtnPageM);
|
|
|
|
_refreshBoot();
|
|
|
|
}
|
|
|
|
else if(((BTN_PLUS_PRESSED || BTN_RIGHT_PRESSED)) || (BTN_A_PRESSED && m_btnMgr.selected(m_bootBtnPageP)))
|
|
|
|
{
|
|
|
|
boot_curPage++;
|
|
|
|
if(boot_curPage > boot_Pages) boot_curPage = 1;
|
|
|
|
if(BTN_RIGHT_PRESSED || BTN_PLUS_PRESSED)
|
|
|
|
m_btnMgr.click(m_bootBtnPageP);
|
|
|
|
_refreshBoot();
|
|
|
|
}
|
2012-12-21 20:51:22 +01:00
|
|
|
else if(BTN_A_PRESSED)
|
|
|
|
{
|
2013-04-08 23:45:13 +02:00
|
|
|
if(m_btnMgr.selected(m_bootBtnBack))
|
|
|
|
break;
|
|
|
|
else if(m_btnMgr.selected(m_bootBtnLoadCIOS))
|
2012-12-21 20:51:22 +01:00
|
|
|
{
|
2013-04-08 23:45:13 +02:00
|
|
|
cur_load = !cur_load;
|
2013-08-17 15:21:43 +02:00
|
|
|
m_btnMgr.setText(m_bootBtnLoadCIOS, _optBoolToString(cur_load));
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
else if(m_btnMgr.selected(m_bootLblCIOSrevM) || m_btnMgr.selected(m_bootLblCIOSrevP))
|
|
|
|
{
|
|
|
|
bool increase = m_btnMgr.selected(m_bootLblCIOSrevP);
|
2013-04-08 23:45:13 +02:00
|
|
|
CIOSItr itr = _installed_cios.find(cur_ios);
|
2012-12-21 20:51:22 +01:00
|
|
|
if(increase)
|
|
|
|
{
|
|
|
|
itr++;
|
|
|
|
if(itr == _installed_cios.end())
|
|
|
|
itr = _installed_cios.begin();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if(itr == _installed_cios.begin())
|
|
|
|
itr = _installed_cios.end();
|
|
|
|
itr--;
|
|
|
|
}
|
2013-04-08 23:45:13 +02:00
|
|
|
cur_ios = itr->first;
|
2013-08-17 15:21:43 +02:00
|
|
|
if(cur_ios > 0)
|
|
|
|
m_btnMgr.setText(m_bootLblCurCIOSrev, wfmt(L"%i", cur_ios));
|
|
|
|
else
|
|
|
|
m_btnMgr.setText(m_bootLblCurCIOSrev, L"AUTO");
|
2013-02-14 22:30:48 +01:00
|
|
|
}
|
|
|
|
else if(m_btnMgr.selected(m_bootBtnUSBPort))
|
|
|
|
{
|
2013-04-08 23:45:13 +02:00
|
|
|
set_port = !set_port;
|
2013-08-17 15:21:43 +02:00
|
|
|
m_btnMgr.setText(m_bootBtnUSBPort, wfmt(L"%i", set_port));
|
|
|
|
}
|
|
|
|
else if (m_btnMgr.selected(m_bootBtnAsyncNet))
|
|
|
|
{
|
|
|
|
m_cfg.setBool("GENERAL", "async_network", !m_cfg.getBool("GENERAL", "async_network", false));
|
|
|
|
m_btnMgr.setText(m_bootBtnAsyncNet, m_cfg.getBool("GENERAL", "async_network", false) ? _t("on", L"On") : _t("off", L"Off"));
|
|
|
|
}
|
2013-09-06 01:52:21 +02:00
|
|
|
else if (m_btnMgr.selected(m_bootBtnFtpOnBoot))
|
|
|
|
{
|
|
|
|
m_cfg.setBool(FTP_DOMAIN, "auto_start", !m_cfg.getBool(FTP_DOMAIN, "auto_start", false));
|
|
|
|
m_btnMgr.setText(m_bootBtnFtpOnBoot, m_cfg.getBool(FTP_DOMAIN, "auto_start") ? _t("on", L"On") : _t("off", L"Off"));
|
|
|
|
}
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
}
|
2012-12-27 00:22:44 +01:00
|
|
|
if(prev_load != cur_load || prev_ios != cur_ios)
|
2013-04-08 23:45:13 +02:00
|
|
|
InternalSave.SaveIOS();
|
|
|
|
if(set_port != currentPort)
|
|
|
|
InternalSave.SavePort(set_port);
|
2013-08-17 15:21:43 +02:00
|
|
|
hideBoot(false, true);
|
2013-02-14 22:50:46 +01:00
|
|
|
|
2013-04-08 23:45:13 +02:00
|
|
|
if(prev_load != cur_load || prev_ios != cur_ios || set_port != currentPort)
|
2013-02-14 22:50:46 +01:00
|
|
|
{
|
|
|
|
m_exit = true;
|
2013-02-14 22:30:48 +01:00
|
|
|
m_reload = true;
|
2013-02-14 22:50:46 +01:00
|
|
|
return 1;
|
2013-02-14 22:30:48 +01:00
|
|
|
}
|
2013-02-14 22:50:46 +01:00
|
|
|
return 0;
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
|
2013-04-08 23:45:13 +02:00
|
|
|
void CMenu::_refreshBoot()
|
2012-12-21 20:51:22 +01:00
|
|
|
{
|
2013-08-17 15:21:43 +02:00
|
|
|
hideBoot(true, false);
|
|
|
|
m_btnMgr.setText(m_bootLblPage, wfmt(L"%i / %i", boot_curPage, boot_Pages));
|
|
|
|
if(boot_curPage == 1)
|
|
|
|
{
|
|
|
|
m_btnMgr.setText(m_bootBtnLoadCIOS, _optBoolToString(cur_load));
|
|
|
|
m_btnMgr.setText(m_bootBtnUSBPort, wfmt(L"%i", set_port));
|
|
|
|
if(cur_ios > 0)
|
|
|
|
m_btnMgr.setText(m_bootLblCurCIOSrev, wfmt(L"%i", cur_ios));
|
|
|
|
else
|
|
|
|
m_btnMgr.setText(m_bootLblCurCIOSrev, L"AUTO");
|
|
|
|
|
|
|
|
m_btnMgr.show(m_bootLblLoadCIOS);
|
|
|
|
m_btnMgr.show(m_bootBtnLoadCIOS);
|
|
|
|
|
|
|
|
m_btnMgr.show(m_bootLblCIOSrev);
|
|
|
|
m_btnMgr.show(m_bootLblCurCIOSrev);
|
|
|
|
m_btnMgr.show(m_bootLblCIOSrevM);
|
|
|
|
m_btnMgr.show(m_bootLblCIOSrevP);
|
|
|
|
|
|
|
|
m_btnMgr.show(m_bootLblUSBPort);
|
|
|
|
m_btnMgr.show(m_bootBtnUSBPort);
|
|
|
|
}
|
2012-12-25 14:42:53 +01:00
|
|
|
else
|
2013-08-17 15:21:43 +02:00
|
|
|
{
|
2013-09-12 15:04:50 +02:00
|
|
|
m_btnMgr.setText(m_bootBtnAsyncNet, m_cfg.getBool("GENERAL", "async_network", false) ? _t("on", L"On") : _t("off", L"Off"));
|
2013-09-06 01:52:21 +02:00
|
|
|
m_btnMgr.setText(m_bootBtnFtpOnBoot, m_cfg.getBool(FTP_DOMAIN, "auto_start") ? _t("on", L"On") : _t("off", L"Off"));
|
2013-08-17 15:21:43 +02:00
|
|
|
|
2013-09-12 15:04:50 +02:00
|
|
|
m_btnMgr.show(m_bootLblAsyncNet);
|
|
|
|
m_btnMgr.show(m_bootBtnAsyncNet);
|
|
|
|
|
2013-09-06 01:52:21 +02:00
|
|
|
m_btnMgr.show(m_bootLblFtpOnBoot);
|
|
|
|
m_btnMgr.show(m_bootBtnFtpOnBoot);
|
2013-08-17 15:21:43 +02:00
|
|
|
}
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void CMenu::_textBoot(void)
|
|
|
|
{
|
|
|
|
m_btnMgr.setText(m_bootLblTitle, _t("cfgbt1", L"Startup Settings"));
|
|
|
|
m_btnMgr.setText(m_bootLblLoadCIOS, _t("cfgbt2", L"Force Load cIOS"));
|
|
|
|
m_btnMgr.setText(m_bootLblCIOSrev, _t("cfgbt3", L"Force cIOS Revision"));
|
2013-02-14 22:30:48 +01:00
|
|
|
m_btnMgr.setText(m_bootLblUSBPort, _t("cfgbt4", L"USB Port"));
|
2013-08-17 15:21:43 +02:00
|
|
|
m_btnMgr.setText(m_bootLblAsyncNet, _t("cfgp3", L"Init network on boot"));
|
2013-09-06 02:25:36 +02:00
|
|
|
m_btnMgr.setText(m_bootLblFtpOnBoot, _t("cfgbt7", L"Start FTP Server on boot"));
|
2013-04-08 23:45:13 +02:00
|
|
|
m_btnMgr.setText(m_bootBtnBack, _t("cfg10", L"Back"));
|
2012-12-21 20:51:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CMenu::_initBoot(void)
|
|
|
|
{
|
2013-08-14 18:11:26 +02:00
|
|
|
_addUserLabels(m_bootLblUser, ARRAY_SIZE(m_bootLblUser), "BOOT");
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblTitle = _addTitle("BOOT/TITLE", theme.titleFont, L"", 0, 10, 640, 60, theme.titleFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootBtnBack = _addButton("BOOT/BACK_BTN", theme.btnFont, L"", 420, 400, 200, 48, theme.btnFontColor);
|
|
|
|
m_bootLblPage = _addLabel("BOOT/PAGE_BTN", theme.btnFont, L"", 68, 400, 104, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
|
|
|
m_bootBtnPageM = _addPicButton("BOOT/PAGE_MINUS", theme.btnTexMinus, theme.btnTexMinusS, 20, 400, 48, 48);
|
|
|
|
m_bootBtnPageP = _addPicButton("BOOT/PAGE_PLUS", theme.btnTexPlus, theme.btnTexPlusS, 172, 400, 48, 48);
|
2013-08-17 15:21:43 +02:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblLoadCIOS = _addLabel("BOOT/LOAD_CIOS", theme.lblFont, L"", 20, 125, 385, 56, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootBtnLoadCIOS = _addButton("BOOT/LOAD_CIOS_BTN", theme.btnFont, L"", 420, 130, 200, 48, theme.btnFontColor);
|
2012-12-21 20:51:22 +01:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblCIOSrev = _addLabel("BOOT/CIOS_REV", theme.lblFont, L"", 20, 185, 385, 56, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootLblCurCIOSrev = _addLabel("BOOT/CIOS_REV_BTN", theme.btnFont, L"", 468, 190, 104, 48, theme.btnFontColor, FTGX_JUSTIFY_CENTER | FTGX_ALIGN_MIDDLE, theme.btnTexC);
|
|
|
|
m_bootLblCIOSrevM = _addPicButton("BOOT/CIOS_REV_MINUS", theme.btnTexMinus, theme.btnTexMinusS, 420, 190, 48, 48);
|
|
|
|
m_bootLblCIOSrevP = _addPicButton("BOOT/CIOS_REV_PLUS", theme.btnTexPlus, theme.btnTexPlusS, 572, 190, 48, 48);
|
2012-12-21 20:51:22 +01:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblUSBPort = _addLabel("BOOT/USB_PORT", theme.lblFont, L"", 20, 245, 385, 56, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootBtnUSBPort = _addButton("BOOT/USB_PORT_BTN", theme.btnFont, L"", 420, 250, 200, 48, theme.btnFontColor);
|
2013-08-17 15:21:43 +02:00
|
|
|
|
2013-09-12 15:04:50 +02:00
|
|
|
/* page 2 */
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblAsyncNet = _addLabel("BOOT/ASYNCNET", theme.lblFont, L"", 20, 305, 385, 56, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootBtnAsyncNet = _addButton("BOOT/ASYNCNET_BTN", theme.btnFont, L"", 420, 310, 200, 48, theme.btnFontColor);
|
2013-09-12 15:04:50 +02:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
m_bootLblFtpOnBoot = _addLabel("BOOT/FTP", theme.lblFont, L"", 20, 245, 385, 56, theme.lblFontColor, FTGX_JUSTIFY_LEFT | FTGX_ALIGN_MIDDLE);
|
|
|
|
m_bootBtnFtpOnBoot = _addButton("BOOT/FTP_BTN", theme.btnFont, L"", 420, 250, 200, 48, theme.btnFontColor);
|
|
|
|
|
|
|
|
_setHideAnim(m_bootLblTitle, "BOOT/TITLE", 0, 0, -2.f, 0.f);
|
2013-08-17 15:21:43 +02:00
|
|
|
_setHideAnim(m_bootBtnBack, "BOOT/BACK_BTN", 0, 0, 1.f, -1.f);
|
|
|
|
_setHideAnim(m_bootLblPage, "BOOT/PAGE_BTN", 0, 0, 1.f, -1.f);
|
|
|
|
_setHideAnim(m_bootBtnPageM, "BOOT/PAGE_MINUS", 0, 0, 1.f, -1.f);
|
|
|
|
_setHideAnim(m_bootBtnPageP, "BOOT/PAGE_PLUS", 0, 0, 1.f, -1.f);
|
2012-12-21 20:51:22 +01:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
_setHideAnim(m_bootLblLoadCIOS, "BOOT/LOAD_CIOS", 50, 0, -2.f, 0.f);
|
|
|
|
_setHideAnim(m_bootBtnLoadCIOS, "BOOT/LOAD_CIOS_BTN", -50, 0, 1.f, 0.f);
|
|
|
|
|
|
|
|
_setHideAnim(m_bootLblCIOSrev, "BOOT/CIOS_REV", 50, 0, -2.f, 0.f);
|
|
|
|
_setHideAnim(m_bootLblCurCIOSrev, "BOOT/CIOS_REV_BTN", -50, 0, 1.f, 0.f);
|
|
|
|
_setHideAnim(m_bootLblCIOSrevM, "BOOT/CIOS_REV_MINUS", -50, 0, 1.f, 0.f);
|
|
|
|
_setHideAnim(m_bootLblCIOSrevP, "BOOT/CIOS_REV_PLUS", -50, 0, 1.f, 0.f);
|
2012-12-21 20:51:22 +01:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
_setHideAnim(m_bootLblUSBPort, "BOOT/USB_PORT", 50, 0, -2.f, 0.f);
|
|
|
|
_setHideAnim(m_bootBtnUSBPort, "BOOT/USB_PORT_BTN", -50, 0, 1.f, 0.f);
|
2013-02-14 22:30:48 +01:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
_setHideAnim(m_bootLblAsyncNet, "BOOT/ASYNCNET", 50, 0, -2.f, 0.f);
|
|
|
|
_setHideAnim(m_bootBtnAsyncNet, "BOOT/ASYNCNET_BTN", -50, 0, 1.f, 0.f);
|
2013-08-17 15:21:43 +02:00
|
|
|
|
2013-11-04 20:46:23 +01:00
|
|
|
_setHideAnim(m_bootLblFtpOnBoot, "BOOT/FTP", 50, 0, -2.f, 0.f);
|
|
|
|
_setHideAnim(m_bootBtnFtpOnBoot, "BOOT/FTP_BTN", -50, 0, 1.f, 0.f);
|
2013-09-06 01:52:21 +02:00
|
|
|
|
2013-08-17 15:21:43 +02:00
|
|
|
hideBoot(true, true);
|
2012-12-21 20:51:22 +01:00
|
|
|
_textBoot();
|
|
|
|
}
|