Add cover action options

This commit is contained in:
wiidev 2023-01-01 17:00:19 +00:00
parent 0a51a64c0c
commit 4be1ca22d3
29 changed files with 293 additions and 83 deletions

View File

@ -412,11 +412,11 @@ msgstr "Soubor s cheaty je prázdný"
msgid "Clear"
msgstr "Vycistit"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Kliknete pro stažení obalu"
msgid "Click to change game ID"
msgstr "Kliknete pro zmenu ID hry"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Hodiny"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Stažení obalu"
@ -1262,6 +1265,9 @@ msgstr "Príchozí soubor %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Inicializuji sítové pripojení"

View File

@ -412,11 +412,11 @@ msgstr "Snydfilen er tom"
msgid "Clear"
msgstr "Ryd"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Klik for at downloade covers"
msgid "Click to change game ID"
msgstr "Klik for at ændre spil-ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Ur"
@ -531,6 +531,9 @@ msgstr "Kunne ikke skrive fil"
msgid "Could not write to:"
msgstr "Kunne ikke skrive til:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Cover-download"
@ -1262,6 +1265,9 @@ msgstr "Henter fil %0.2fMB"
msgid "Individual"
msgstr "Individuel"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Initialiserer netværksforbindelse"

View File

@ -412,11 +412,11 @@ msgstr "Cheatbestand is leeg"
msgid "Clear"
msgstr "Wissen"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Klik om hoesjes te downloaden"
msgid "Click to change game ID"
msgstr "Klik om het spel ID te wijzigen"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Klok"
@ -531,6 +531,9 @@ msgstr "Kan niet naar bestand schrijven."
msgid "Could not write to:"
msgstr "Kan niet schrijven naar:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Download hoesjes"
@ -1262,6 +1265,9 @@ msgstr "Binnenkomend bestand %0.2fMB"
msgid "Individual"
msgstr "Individueel"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Netwerk initialiseren"

View File

@ -412,10 +412,10 @@ msgstr ""
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr ""
msgid "Click to change game ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr ""
@ -1262,6 +1265,9 @@ msgstr ""
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr ""

View File

@ -412,11 +412,11 @@ msgstr "Kooditiedosto tyhjä"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Klikkaa ladataksesi kansia"
msgid "Click to change game ID"
msgstr "Klikkaa vaihtaaksesi pelin ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Kello"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Kansien lataus"
@ -1262,6 +1265,9 @@ msgstr ""
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Yhdistää verkkoon"

View File

@ -412,11 +412,11 @@ msgstr "Fichier de triche vide"
msgid "Clear"
msgstr "Effacer"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Téléchargement des jaquettes"
msgid "Click to change game ID"
msgstr "Changer l'ID du jeu"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Horloge"
@ -531,6 +531,9 @@ msgstr "Écriture du fichier impossible."
msgid "Could not write to:"
msgstr "Écriture impossible vers:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Téléchargement des jaquettes"
@ -1262,6 +1265,9 @@ msgstr "Fichier entrant %0.2fMo"
msgid "Individual"
msgstr "Individuelle"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Initialisation du réseau"

View File

@ -412,11 +412,11 @@ msgstr "Cheatdatei ist leer"
msgid "Clear"
msgstr "Freigeben"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Cover herunterladen"
msgid "Click to change game ID"
msgstr "Spiel ID ändern"
msgid "Click to view information"
msgstr "Drücke um Infos zu erhalten"
msgid "Clock"
msgstr "Uhr"
@ -531,6 +531,9 @@ msgstr "Konnte Datei nicht erstellen."
msgid "Could not write to:"
msgstr "Konnte nicht schreiben zu:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Welche Cover herunterladen?"
@ -1262,6 +1265,9 @@ msgstr "Eingehende Datei %0.2fMB"
msgid "Individual"
msgstr "Individuell"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Initialisiere Netzwerk"

View File

@ -412,11 +412,11 @@ msgstr "το αρχείο cheat είναι κενό"
msgid "Clear"
msgstr "Σβήσιμο"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Κλικ για λήψη εξωφύλλων"
msgid "Click to change game ID"
msgstr "Κλικ για αλλαγή ονόματος παιχνιδιού"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Ρολοϊ"
@ -531,6 +531,9 @@ msgstr "Δεν είναι δυνατή η εγγραφή του αρχείου."
msgid "Could not write to:"
msgstr "Αδυναμία εγγραφής σε:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Λήψη εξωφύλλων"
@ -1262,6 +1265,9 @@ msgstr "Εισερχόμενο αρχείο %0.2fMB"
msgid "Individual"
msgstr "Ξεχωριστά"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Σύνδεση στο διαδίκτυο"

View File

@ -412,11 +412,11 @@ msgstr "A cheat-fájl üres"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Kattints a borítók letöltéséhez"
msgid "Click to change game ID"
msgstr "Kattints a játékID megváltoztatásához"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Óra"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Boritó Letöltés"
@ -1262,6 +1265,9 @@ msgstr "Bejövõ fájl %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Hálózat inicializálása..."

View File

@ -412,11 +412,11 @@ msgstr "Il file dei trucchi è vuoto"
msgid "Clear"
msgstr "Azzera"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Clicca per scaricare le copertine"
msgid "Click to change game ID"
msgstr "Clicca per cambiare ID al gioco"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Orologio"
@ -531,6 +531,9 @@ msgstr "Impossibile scrivere il file."
msgid "Could not write to:"
msgstr "Impossibile scrivere in:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Scarica copertine"
@ -1262,6 +1265,9 @@ msgstr "File in arrivo %0.2fMB"
msgid "Individual"
msgstr "Individuale"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Inizializzando la rete"

View File

@ -412,11 +412,11 @@ msgstr "チートファイルがありません"
msgid "Clear"
msgstr "クリア"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "クリックでカバーをダウンロード"
msgid "Click to change game ID"
msgstr "クリックでゲームIDを変更"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "時計の表示"
@ -531,6 +531,9 @@ msgstr "ファイルを書き込めません"
msgid "Could not write to:"
msgstr "書き込めません:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "何をダウンロードしますか"
@ -1262,6 +1265,9 @@ msgstr "ファイルを受信中 %0.2fMB"
msgid "Individual"
msgstr "個別"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "接続中・・・"

View File

@ -412,11 +412,11 @@ msgstr "치트파일이 비어 있었음"
msgid "Clear"
msgstr "정리"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "커버를 다운로드하려면 클릭"
msgid "Click to change game ID"
msgstr "게임 ID를 변경하려면 클릭"
msgid "Click to view information"
msgstr "클릭하여 정보를 보려면"
msgid "Clock"
msgstr "시계"
@ -531,6 +531,9 @@ msgstr "파일을 쓸 수 없습니다."
msgid "Could not write to:"
msgstr "쓸 수 없음:"
msgid "Cover Action"
msgstr "커버 액션"
msgid "Cover Download"
msgstr "커버 다운로드"
@ -1262,6 +1265,9 @@ msgstr "수신 파일 %0.2fMB"
msgid "Individual"
msgstr "개별"
msgid "Information"
msgstr "정보"
msgid "Initializing Network"
msgstr "네트워크 초기화"

View File

@ -412,11 +412,11 @@ msgstr "Juksefil er tom"
msgid "Clear"
msgstr "Fjern"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Klikk for å laste ned cover"
msgid "Click to change game ID"
msgstr "Klikk for å endre spill ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Klokke"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr "Kan ikke skrive til:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Cover nedlasting"
@ -1262,6 +1265,9 @@ msgstr "Laster ned fil %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Initialiserer nettverk"

View File

@ -412,11 +412,11 @@ msgstr "Plik z kodami pusty"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Kliknij aby pobrac okladki"
msgid "Click to change game ID"
msgstr "Kliknij zeby zmienic ID gry"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Zegar"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Pobierz okladki"
@ -1262,6 +1265,9 @@ msgstr "Przychodzacy plik %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Inicjalizacja sieci"

View File

@ -412,11 +412,11 @@ msgstr "Arquivo de cheat vazio"
msgid "Clear"
msgstr "Limpar"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Clique para descarregar capas"
msgid "Click to change game ID"
msgstr "Clique para alterar o ID do jogo"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Relógio"
@ -531,6 +531,9 @@ msgstr "Não foi possível escrever arquivo"
msgid "Could not write to:"
msgstr "Não foi possível escrever para:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Download de Capas"
@ -1262,6 +1265,9 @@ msgstr "Recebendo arquivo %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Iniciando Conexão de Rede"

View File

@ -412,11 +412,11 @@ msgstr "Ficheiro de batota vazio"
msgid "Clear"
msgstr "Limpar"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Carregue para descarregar capas"
msgid "Click to change game ID"
msgstr "Carregue para alterar o ID do jogo"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Relógio"
@ -531,6 +531,9 @@ msgstr "Não foi possível escrever ficheiro."
msgid "Could not write to:"
msgstr "Não foi possível escrever para:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Download de Capas"
@ -1262,6 +1265,9 @@ msgstr "A receber ficheiro %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "A inicializar Ligação de Rede"

View File

@ -412,11 +412,11 @@ msgstr "Файл с читами пустой"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Нажми, чтобы скачать обложки"
msgid "Click to change game ID"
msgstr "Нажмите чтобы изменить ID игры"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Часы"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Скачать обложку"
@ -1262,6 +1265,9 @@ msgstr "Входящий файл размером в %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Инициализирую сеть"

View File

@ -412,11 +412,11 @@ msgstr "作弊码文件是空的"
msgid "Clear"
msgstr "清除"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "点击下载封面"
msgid "Click to change game ID"
msgstr "点击变更 GameID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "时钟"
@ -531,6 +531,9 @@ msgstr "无法写入文件。"
msgid "Could not write to:"
msgstr "无法写入文件:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "下载封面"
@ -1262,6 +1265,9 @@ msgstr "正在接收文件 %0.2fMB"
msgid "Individual"
msgstr "个人"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "正在启动网络"

View File

@ -412,11 +412,11 @@ msgstr "El archivo de cheats está vacío"
msgid "Clear"
msgstr "Borrar"
msgid "Click to Download Covers"
msgstr "Clic para descargar Carátulas"
msgid "Click to download covers"
msgstr "Clic para descargar carátulas"
msgid "Click to change game ID"
msgstr "Clic para cambiar la ID del juego"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Reloj"
@ -531,6 +531,9 @@ msgstr "No se pudo escribir archivo."
msgid "Could not write to:"
msgstr "No se pudo escribir en:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Descarga de Covers"
@ -1262,6 +1265,9 @@ msgstr "Archivo recibido %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Iniciando la Red"

View File

@ -412,11 +412,11 @@ msgstr "Fuskfilen är blank"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Klicka för att ladda ner omslag"
msgid "Click to change game ID"
msgstr "Klicka för att byta spel ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Klocka"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Omslagsnedladdning"
@ -1262,6 +1265,9 @@ msgstr "Inkommande fil %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Startar nätverk"

View File

@ -412,11 +412,11 @@ msgstr "金手指檔是空的"
msgid "Clear"
msgstr "清除"
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "點選下載封面"
msgid "Click to change game ID"
msgstr "點選變更遊戲 ID"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "時鐘"
@ -531,6 +531,9 @@ msgstr "無法寫入檔案。"
msgid "Could not write to:"
msgstr "無法寫入到:"
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "下載封面"
@ -1262,6 +1265,9 @@ msgstr "正在接收檔案 %0.2fMB"
msgid "Individual"
msgstr "個別的"
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "正在啟動網路"

View File

@ -412,11 +412,11 @@ msgstr "ไฟล์สูตรโกง ว่างเปล่า"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "กดเพื่อดาวน์โหลดหน้าปก"
msgid "Click to change game ID"
msgstr "กดเพื่อเปลี่ยน ID เกมส์"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "นาฬิกา"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "ดาวน์โหลดปก"
@ -1262,6 +1265,9 @@ msgstr "ดาวน์โหลดไฟล์ %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "เชื่อมต่อเครือข่าย"

View File

@ -412,11 +412,11 @@ msgstr "Hile dosyası boş"
msgid "Clear"
msgstr ""
msgid "Click to Download Covers"
msgid "Click to download covers"
msgstr "Kapak Indirmek için Tıklayın"
msgid "Click to change game ID"
msgstr "Oyun ID sini değiştirmek için tıklayın"
msgid "Click to view information"
msgstr ""
msgid "Clock"
msgstr "Saat"
@ -531,6 +531,9 @@ msgstr ""
msgid "Could not write to:"
msgstr ""
msgid "Cover Action"
msgstr ""
msgid "Cover Download"
msgstr "Kapak Indirme"
@ -1262,6 +1265,9 @@ msgstr "Gelen dosya %0.2fMB"
msgid "Individual"
msgstr ""
msgid "Information"
msgstr ""
msgid "Initializing Network"
msgstr "Ağa Bağlanıyor"

View File

@ -312,17 +312,24 @@ GameBrowseMenu::GameBrowseMenu()
homebrewImgOver->SetWidescreen(Settings.widescreen);
homebrewBtn = new GuiButton(homebrewImg, homebrewImgOver, ALIGN_LEFT, ALIGN_TOP, thInt("410 - HBC btn pos x"), thInt("405 - HBC btn pos y"),
trigA, btnSoundOver, btnSoundClick2, 1, homebrewBtnTT, 15, -30, 1, 5);
if (Settings.CoverAction == COVER_ACTION_DOWNLOAD)
listCoverBtnTT = new GuiTooltip(tr( "Click to download covers" ));
else
listCoverBtnTT = new GuiTooltip(tr( "Click to view information" ));
if (Settings.wsprompt) listCoverBtnTT->SetWidescreen(Settings.widescreen);
listCoverBtnTT->SetAlpha(thInt("255 - tooltip alpha"));
listCoverBtn = new GuiButton (0, 0);
listCoverBtn->SetAlignment(ALIGN_LEFT, ALIGN_TOP);
listCoverBtn->SetPosition(thInt("26 - cover/download btn pos x"), thInt("58 - cover/download btn pos y"));
listCoverBtn->SetSoundOver(btnSoundOver);
listCoverBtn->SetToolTip(listCoverBtnTT, 205, -30);
listCoverBtn->SetTrigger(trigA);
listCoverBtn->SetSelectable(false);
//Downloading Covers
DownloadBtnTT = new GuiTooltip(tr( "Click to Download Covers" ));
if (Settings.wsprompt) DownloadBtnTT->SetWidescreen(Settings.widescreen);
DownloadBtnTT->SetAlpha(thInt("255 - tooltip alpha"));
DownloadBtn = new GuiButton (0, 0);
DownloadBtn->SetAlignment(ALIGN_LEFT, ALIGN_TOP);
DownloadBtn->SetPosition(thInt("26 - cover/download btn pos x"), thInt("58 - cover/download btn pos y"));
DownloadBtn->SetSoundOver(btnSoundOver);
DownloadBtn->SetTrigger(0, trigA);
DownloadBtn->SetTrigger(1, trig1);
DownloadBtn->SetToolTip(DownloadBtnTT, 205, -30);
DownloadBtn->SetSelectable(false);
gameCoverImg = new GuiImage();
@ -483,6 +490,7 @@ GameBrowseMenu::~GameBrowseMenu()
delete categBtn;
delete loaderModeBtn;
delete homebrewBtn;
delete listCoverBtn;
delete DownloadBtn;
delete installBtnTT;
@ -502,7 +510,7 @@ GameBrowseMenu::~GameBrowseMenu()
delete categBtnTT;
delete loaderModeBtnTT;
delete homebrewBtnTT;
delete DownloadBtnTT;
delete listCoverBtnTT;
delete gameBrowser;
mainWindow->Remove(searchBar);
@ -649,7 +657,7 @@ void GameBrowseMenu::ReloadBrowser()
LoadCover(gameList[0]);
if(gameList.size() > 0)
Append(gameCoverImg);
DownloadBtn->SetSize(160, 224);
listCoverBtn->SetSize(160, 224);
listBtn->SetImage(listBtnImg);
listBtn->SetImageOver(listBtnImg);
gridBtn->SetImage(gridBtnImg_g);
@ -697,7 +705,7 @@ void GameBrowseMenu::ReloadBrowser()
}
else if (Settings.gameDisplay == GRID_MODE)
{
DownloadBtn->SetSize(0, 0);
listCoverBtn->SetSize(0, 0);
UpdateGameInfoText(NULL);
gridBtn->SetImage(gridBtnImg);
gridBtn->SetImageOver(gridBtnImg);
@ -745,7 +753,7 @@ void GameBrowseMenu::ReloadBrowser()
}
else if (Settings.gameDisplay == CAROUSEL_MODE)
{
DownloadBtn->SetSize(0, 0);
listCoverBtn->SetSize(0, 0);
UpdateGameInfoText(NULL);
carouselBtn->SetImage(carouselBtnImg);
carouselBtn->SetImageOver(carouselBtnImg);
@ -793,7 +801,7 @@ void GameBrowseMenu::ReloadBrowser()
}
else if(Settings.gameDisplay == BANNERGRID_MODE)
{
DownloadBtn->SetSize(0, 0);
listCoverBtn->SetSize(0, 0);
UpdateGameInfoText(NULL);
bannerGridBtn->SetImage(bannerGridBtnImg);
bannerGridBtn->SetImageOver(bannerGridBtnImg);
@ -848,7 +856,12 @@ void GameBrowseMenu::ReloadBrowser()
Append(installBtn);
if (Settings.godmode || !(Settings.ParentalBlocks & BLOCK_COVER_DOWNLOADS))
{
Append(DownloadBtn);
Append(listCoverBtn);
}
else if (Settings.CoverAction == COVER_ACTION_INFO)
Append(listCoverBtn);
Append(favoriteBtn);
Append(searchBtn);
@ -993,6 +1006,33 @@ int GameBrowseMenu::MainLoop()
sdcardBtn->ResetState();
}
else if (listCoverBtn->GetState() == STATE_CLICKED)
{
gprintf("\tcoverBtn Clicked\n");
if (Settings.CoverAction == COVER_ACTION_DOWNLOAD)
{
ImageDownloader::DownloadImages();
gameList.FilterList();
ReloadBrowser();
listCoverBtn->ResetState();
}
else
{
int SelectedGame = GetSelectedGame();
listCoverBtn->ResetState();
if (SelectedGame >= 0 && SelectedGame < (s32) gameList.size())
{
rockout(gameList[SelectedGame]);
SetState(STATE_DISABLED);
int choice = showGameInfo(SelectedGame, 0);
SetState(STATE_DEFAULT);
rockout(0);
if (choice == 2)
homeBtn->SetState(STATE_CLICKED);
}
}
}
else if (DownloadBtn->GetState() == STATE_CLICKED)
{
gprintf("\tDownloadBtn Clicked\n");

View File

@ -147,6 +147,7 @@ class GameBrowseMenu : public GuiWindow
GuiButton * categBtn;
GuiButton * loaderModeBtn;
GuiButton * homebrewBtn;
GuiButton * listCoverBtn;
GuiButton * DownloadBtn;
GuiTooltip * installBtnTT;
@ -166,7 +167,7 @@ class GameBrowseMenu : public GuiWindow
GuiTooltip * categBtnTT;
GuiTooltip * loaderModeBtnTT;
GuiTooltip * homebrewBtnTT;
GuiTooltip * DownloadBtnTT;
GuiTooltip * listCoverBtnTT;
};
#endif

View File

@ -128,6 +128,7 @@ void CSettings::SetDefault()
partition = 0;
discart = DISCARTS_ORIGINALS_CUSTOMS;
coversfull = COVERSFULL_HQ;
CoverAction = COVER_ACTION_DOWNLOAD;
xflip = XFLIP_SYSMENU;
quickboot = OFF;
wiilight = WIILIGHT_ON;
@ -382,6 +383,7 @@ bool CSettings::Save()
fprintf(file, "autonetwork = %d\n", autonetwork);
fprintf(file, "discart = %d\n", discart);
fprintf(file, "coversfull = %d\n", coversfull);
fprintf(file, "CoverAction = %d\n", CoverAction);
fprintf(file, "partition = %d\n", partition);
fprintf(file, "marknewtitles = %d\n", marknewtitles);
fprintf(file, "ShowFreeSpace = %d\n", ShowFreeSpace);
@ -797,6 +799,11 @@ bool CSettings::SetSetting(char *name, char *value)
coversfull = atoi(value);
return true;
}
else if (strcmp(name, "CoverAction") == 0)
{
CoverAction = atoi(value);
return true;
}
else if (strcmp(name, "autonetwork") == 0)
{
autonetwork = atoi(value);

View File

@ -143,6 +143,7 @@ class CSettings
short autonetwork;
short discart;
short coversfull;
short CoverAction;
short gamesound;
short marknewtitles;
short InstallToDir;

View File

@ -242,6 +242,13 @@ enum
COVERSFULL_MAX_CHOICE
};
enum
{
COVER_ACTION_DOWNLOAD,
COVER_ACTION_INFO,
COVER_ACTION_MAX
};
enum
{
PARENTAL_LVL_EVERYONE,

View File

@ -97,6 +97,12 @@ static const char * CoversFullDownloadText[COVERSFULL_MAX_CHOICE] =
trNOOP( "Low/High" )
};
static const char * CoverActionText[COVER_ACTION_MAX] =
{
trNOOP( "Download" ),
trNOOP( "Information" )
};
static const char *ScreensaverText[SCREENSAVER_MAX] =
{
trNOOP( "OFF" ),
@ -143,6 +149,7 @@ GuiSettingsMenu::GuiSettingsMenu()
Options->SetName(Idx++, "%s", tr( "Keyboard" ));
Options->SetName(Idx++, "%s", tr( "Disc Artwork Download" ));
Options->SetName(Idx++, "%s", tr( "Full covers Download" ));
Options->SetName(Idx++, "%s", tr( "Cover Action" ));
Options->SetName(Idx++, "%s", tr( "Screensaver" ));
Options->SetName(Idx++, "%s", tr( "Mark new games" ));
Options->SetName(Idx++, "%s", tr( "Show Play Count" ));
@ -215,6 +222,9 @@ void GuiSettingsMenu::SetOptionValues()
//! Settings: Covers Full Artwork Download
Options->SetValue(Idx++, "%s", tr( CoversFullDownloadText[Settings.coversfull] ));
//! Settings: Cover Action
Options->SetValue(Idx++, "%s", tr( CoverActionText[Settings.CoverAction] ));
//! Settings: Screensaver
Options->SetValue(Idx++, "%s", tr( ScreensaverText[Settings.screensaver] ));
@ -395,6 +405,12 @@ int GuiSettingsMenu::GetMenuInternal()
if (++Settings.coversfull >= COVERSFULL_MAX_CHOICE) Settings.coversfull = 0;
}
//! Settings: Cover Action
else if (ret == ++Idx)
{
if (++Settings.CoverAction >= COVER_ACTION_MAX) Settings.CoverAction = 0;
}
//! Settings: Screensaver
else if (ret == ++Idx)
{