mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-04 00:38:51 +00:00
Display Loading Screenshot... if fetching.
ALSO: Add Stack Theme and increase the depth of the grid selector from 2 to 3.
This commit is contained in:
@@ -47,6 +47,13 @@ void StoreUtils::DrawScreenshotMenu(const C2D_Image &img, const int sIndex, cons
|
||||
Gui::ScreenDraw(Top);
|
||||
Gui::Draw_Rect(0, 0, 400, 240, GFX::Themes[GFX::SelectedTheme].BGColor);
|
||||
|
||||
if (sFetch) {
|
||||
Animation::QueueEntryDone();
|
||||
GFX::DrawBottom();
|
||||
Gui::DrawStringCentered(0, 2, 0.6f, GFX::Themes[GFX::SelectedTheme].TextColor, Lang::get("LOADING_SCREENSHOT"), 310);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!canDisplay) {
|
||||
Animation::QueueEntryDone();
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ static const std::vector<std::string> dirStrings = { "CHANGE_3DSX_PATH", "3DSX_I
|
||||
static const std::vector<std::string> languages = { "Bruh", "Deutsch", "English", "Español", "Français", "Italiano", "Magyar", "Polski", "Português (Brasil)", "Русский", "Украïнська", "日本語" };
|
||||
static const std::string langsTemp[] = { "br", "de", "en", "es", "fr", "it", "hu", "pl", "pt-BR", "ru", "uk", "jp"};
|
||||
|
||||
static const std::vector<std::string> ThemeNames = { "THEME_DEFAULT" };
|
||||
static const std::vector<std::string> ThemeNames = { "THEME_DEFAULT", "Stack" };
|
||||
|
||||
/*
|
||||
Main Settings.
|
||||
@@ -195,7 +195,7 @@ static void DrawGUISettings(int selection) {
|
||||
Gui::DrawString(47, 151, 0.4f, GFX::Themes[GFX::SelectedTheme].TextColor, Lang::get("CUSTOM_FONT_DESC"), 265, 0, font, C2D_WordWrap);
|
||||
|
||||
Gui::Draw_Rect(40, 196, 280, 24, (selection == 2 ? GFX::Themes[GFX::SelectedTheme].MarkSelected : GFX::Themes[GFX::SelectedTheme].MarkUnselected));
|
||||
Gui::DrawString(47, 200, 0.5f, GFX::Themes[GFX::SelectedTheme].TextColor, Lang::get("ACTIVE_THEME") + ": " + Lang::get(ThemeNames[GFX::SelectedTheme]), 210, 0, font);
|
||||
Gui::DrawString(47, 200, 0.5f, GFX::Themes[GFX::SelectedTheme].TextColor, Lang::get("ACTIVE_THEME") + ": " + (GFX::SelectedTheme == 0 ? Lang::get(ThemeNames[GFX::SelectedTheme]) : ThemeNames[GFX::SelectedTheme]), 210, 0, font);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -54,12 +54,12 @@ void StoreUtils::DrawSideMenu(int currentMenu) {
|
||||
}
|
||||
}
|
||||
|
||||
GFX::DrawSprite(sprites_info_idx, sidePos[0].x, sidePos[0].y);
|
||||
GFX::DrawSprite(sprites_download_idx, sidePos[1].x, sidePos[1].y);
|
||||
GFX::DrawIcon(sprites_info_idx, sidePos[0].x, sidePos[0].y);
|
||||
GFX::DrawIcon(sprites_download_idx, sidePos[1].x, sidePos[1].y);
|
||||
Animation::DrawQueue(sidePos[2].x, sidePos[2].y);
|
||||
GFX::DrawSprite(sprites_search_idx, sidePos[3].x, sidePos[3].y);
|
||||
GFX::DrawSprite(sprites_sort_idx, sidePos[4].x, sidePos[4].y);
|
||||
GFX::DrawSprite(sprites_settings_idx, sidePos[5].x, sidePos[5].y);
|
||||
GFX::DrawIcon(sprites_search_idx, sidePos[3].x, sidePos[3].y);
|
||||
GFX::DrawIcon(sprites_sort_idx, sidePos[4].x, sidePos[4].y);
|
||||
GFX::DrawIcon(sprites_settings_idx, sidePos[5].x, sidePos[5].y);
|
||||
|
||||
Gui::Draw_Rect(40, 0, 1, 240, GFX::Themes[GFX::SelectedTheme].BarOutline);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user