changed progress window to not use settile but instead use setskew. this way we are drawing 1 progressbar image every loop but stretched instead of 100 little images each loop.

put in prompt if you say to show favorites and you don't have any selected.
This commit is contained in:
giantpune 2009-07-07 11:06:51 +00:00
parent bc2b263a96
commit 9b713cee7c
21 changed files with 147 additions and 22 deletions

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Nej"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Intet SD-kort fundet!"
@ -717,6 +720,9 @@ msgstr "Forkert Password"
msgid "Yes"
msgstr "Ja"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Nee"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Geen SD kaart gevonden!"
@ -717,6 +720,9 @@ msgstr "Foute wachtwoord!"
msgid "Yes"
msgstr "Ja"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr ""
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr ""
@ -717,6 +720,9 @@ msgstr ""
msgid "Yes"
msgstr ""
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Ei"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "SD-korttia ei ole asetettu wiihin!"
@ -717,6 +720,9 @@ msgstr "Väärä salasana"
msgid "Yes"
msgstr "Kyllä"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Non"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Aucune carte SD insérée !"
@ -717,6 +720,9 @@ msgstr "Mot de passe incorrect"
msgid "Yes"
msgstr "Oui"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Nein"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Keine SD Karte eingelegt!"
@ -717,6 +720,9 @@ msgstr "Falsches Passwort"
msgid "Yes"
msgstr "Ja"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "No"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Nessuna scheda SD inserita!"
@ -717,6 +720,9 @@ msgstr "Password Errata"
msgid "Yes"
msgstr "Sì"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "いいえ"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "SDカードを検出できませんでした!"
@ -717,6 +720,9 @@ msgstr "間違ったパスワード"
msgid "Yes"
msgstr "はい"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "아니오"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "SD카드가 없습니다!"
@ -717,6 +720,9 @@ msgstr "잘못된 비밀번호"
msgid "Yes"
msgstr "예"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Nei"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Intet SD-kort satt i!"
@ -717,6 +720,9 @@ msgstr "Feil passord"
msgid "Yes"
msgstr "Ja"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Não"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Cartão SD não inserido!"
@ -717,6 +720,9 @@ msgstr "Senha incorreta"
msgid "Yes"
msgstr "Sim"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Não"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Cartão SD não inserido!"
@ -717,6 +720,9 @@ msgstr "Password Incorrecta"
msgid "Yes"
msgstr "Sim"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Нет"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "SD карта не вставлена!"
@ -717,6 +720,9 @@ msgstr "Неверный пароль"
msgid "Yes"
msgstr "Да"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "否"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "未插入 SD 卡!"
@ -717,6 +720,9 @@ msgstr "密码错误"
msgid "Yes"
msgstr "是"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "No"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "¡SD no insertada!"
@ -717,6 +720,9 @@ msgstr "Contraseña incorrecta"
msgid "Yes"
msgstr "Sí"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Nej"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "Inget SD-kort insatt!"
@ -717,6 +720,9 @@ msgstr "Fel Lösenord"
msgid "Yes"
msgstr "Ja"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "否"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "未插入 SD 卡!"
@ -717,6 +720,9 @@ msgstr "密碼錯誤"
msgid "Yes"
msgstr "是"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-06 01:48+0200\n"
"POT-Creation-Date: 2009-07-07 07:01-0400\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -429,6 +429,9 @@ msgstr "Hayir"
msgid "No Cheatfile found"
msgstr ""
msgid "No Favorites"
msgstr ""
msgid "No SD-Card inserted!"
msgstr "SD-Card takili degil!"
@ -717,6 +720,9 @@ msgstr "Yanlis Parola"
msgid "Yes"
msgstr "Evet"
msgid "You are choosing to display favorites and you do not have any selected."
msgstr ""
msgid "You have attempted to load a bad image"
msgstr ""

View File

@ -1 +1 @@
<pd><ViewState><e p="gui" x="true"></e><e p="gui\source\language" x="false"></e><e p="gui\source\mload" x="false"></e><e p="gui\source\settings" x="true"></e><e p="gui\source" x="true"></e><e p="gui\source\images" x="false"></e><e p="gui\source\libwbfs" x="false"></e><e p="gui\source\libwiigui" x="true"></e><e p="gui\source\patches" x="false"></e><e p="gui\source\prompts" x="true"></e><e p="gui\source\network" x="false"></e><e p="gui\source\unzip" x="false"></e><e p="gui\source\usbloader" x="false"></e><e p="gui\source\xml" x="true"></e><e p="gui\source\fonts" x="false"></e><e p="gui\source\sounds" x="false"></e></ViewState></pd>
<pd><ViewState><e p="gui" x="true"></e><e p="gui\source\language" x="true"></e><e p="gui\source\mload" x="true"></e><e p="gui\source\settings" x="true"></e><e p="gui\source" x="true"></e><e p="gui\source\images" x="false"></e><e p="gui\source\libwbfs" x="true"></e><e p="gui\source\libwiigui" x="true"></e><e p="gui\source\patches" x="true"></e><e p="gui\source\prompts" x="true"></e><e p="gui\source\network" x="true"></e><e p="gui\source\unzip" x="false"></e><e p="gui\source\usbloader" x="false"></e><e p="gui\source\xml" x="true"></e><e p="gui\source\fonts" x="false"></e><e p="gui\source\sounds" x="false"></e></ViewState></pd>

View File

@ -608,6 +608,18 @@ int MenuDiscList()
WindowPrompt(0,idiotBuffer,tr("Ok"));
idiotFlag=-1;}
// if the idiot is showing favoorites and don't have any
if (Settings.fave && !gameCnt){
WindowPrompt(tr("No Favorites"),tr("You are choosing to display favorites and you do not have any selected."),tr("Back"));
Settings.fave=!Settings.fave;
if(isInserted(bootDevice)) {
cfg_save_global();
}
__Menu_GetEntries();
menu = MENU_DISCLIST;
break;
}
//CLOCK
time_t rawtime = time(0); //this fixes code dump caused by the clock

View File

@ -228,17 +228,22 @@ static void ProgressWindow(const char *title, const char *msg1, const char *msg2
ResumeGui();
while(promptWindow.GetEffect() > 0) usleep(100);
int tmp;
while(showProgress)
{
usleep(20000);
GameInstallProgress();
tmp=static_cast<int>(progressbarImg.GetWidth()*progressDone);
if(CFG.widescreen && Settings.wsprompt == yes)
progressbarImg.SetTile(0.8*progressDone);
progressbarImg.SetSkew(0,0,static_cast<int>(progressbarImg.GetWidth()*progressDone*0.8)-progressbarImg.GetWidth(),0,static_cast<int>(progressbarImg.GetWidth()*progressDone*0.8)-progressbarImg.GetWidth(),0,0,0);
else
progressbarImg.SetTile(progressDone);
progressbarImg.SetSkew(0,0,static_cast<int>(progressbarImg.GetWidth()*progressDone)-progressbarImg.GetWidth(),0,static_cast<int>(progressbarImg.GetWidth()*progressDone)-progressbarImg.GetWidth(),0,0,0);
prTxt.SetTextf("%.2f", progressDone);