mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-05 08:39:05 +00:00
Derp.
This commit is contained in:
@@ -262,7 +262,7 @@ void UniStore::DrawSubMenu(void) const {
|
|||||||
void UniStore::DrawStoreList(void) const {
|
void UniStore::DrawStoreList(void) const {
|
||||||
std::string line1;
|
std::string line1;
|
||||||
std::string line2;
|
std::string line2;
|
||||||
std::string storeAmount = std::to_string(Selection +1) + " / " + std::to_string(storeInfo.size());
|
std::string storeAmount = std::to_string(Selection +1) + " | " + std::to_string(storeInfo.size());
|
||||||
GFX::DrawTop();
|
GFX::DrawTop();
|
||||||
if (Config::UseBars == true) {
|
if (Config::UseBars == true) {
|
||||||
Gui::DrawStringCentered(0, 0, 0.7f, Config::TxtColor, storeInfo[Selection].title, 400);
|
Gui::DrawStringCentered(0, 0, 0.7f, Config::TxtColor, storeInfo[Selection].title, 400);
|
||||||
@@ -307,7 +307,7 @@ void UniStore::DrawStoreList(void) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UniStore::DrawStore(void) const {
|
void UniStore::DrawStore(void) const {
|
||||||
std::string entryAmount = std::to_string(Selection+1) + " / " + std::to_string((int)appStoreJson.at("storeContent").size());
|
std::string entryAmount = std::to_string(Selection+1) + " | " + std::to_string((int)appStoreJson.at("storeContent").size());
|
||||||
std::string info;
|
std::string info;
|
||||||
GFX::DrawTop();
|
GFX::DrawTop();
|
||||||
// Top Background.
|
// Top Background.
|
||||||
@@ -766,8 +766,8 @@ void UniStore::StoreLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (keyRepeatDelay) keyRepeatDelay--;
|
if (keyRepeatDelay) keyRepeatDelay--;
|
||||||
|
|
||||||
if ((hDown & KEY_B) || (hDown & KEY_TOUCH && touching(touch, arrowPos[2]))) {
|
if ((hDown & KEY_B) || (hDown & KEY_TOUCH && touching(touch, arrowPos[2]))) {
|
||||||
refreshList();
|
|
||||||
Selection = 0;
|
Selection = 0;
|
||||||
|
refreshList();
|
||||||
mode = 1;
|
mode = 1;
|
||||||
appStoreList.clear();
|
appStoreList.clear();
|
||||||
isScriptSelected = false;
|
isScriptSelected = false;
|
||||||
@@ -1078,10 +1078,10 @@ void UniStore::DrawGlossary(void) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (lastMode == 1) {
|
if (lastMode == 1) {
|
||||||
Gui::DrawString(15, 35, 0.7f, Config::TxtColor, std::to_string(Selection +1) + " / " + std::to_string(storeInfo.size()), 40);
|
Gui::DrawString(15, 35, 0.7f, Config::TxtColor, std::to_string(Selection +1) + " | " + std::to_string(storeInfo.size()), 40);
|
||||||
Gui::DrawString(65, 35, 0.7f, Config::TxtColor, Lang::get("ENTRY"), 300);
|
Gui::DrawString(65, 35, 0.7f, Config::TxtColor, Lang::get("ENTRY"), 300);
|
||||||
} else if (lastMode == 2) {
|
} else if (lastMode == 2) {
|
||||||
Gui::DrawString(15, 35, 0.7f, Config::TxtColor, std::to_string(Selection+1) + " / " + std::to_string((int)appStoreJson.at("storeContent").size()), 40);
|
Gui::DrawString(15, 35, 0.7f, Config::TxtColor, std::to_string(Selection+1) + " | " + std::to_string((int)appStoreJson.at("storeContent").size()), 40);
|
||||||
Gui::DrawString(65, 35, 0.7f, Config::TxtColor, Lang::get("ENTRY"), 300);
|
Gui::DrawString(65, 35, 0.7f, Config::TxtColor, Lang::get("ENTRY"), 300);
|
||||||
}
|
}
|
||||||
GFX::DrawBottom();
|
GFX::DrawBottom();
|
||||||
|
|||||||
Reference in New Issue
Block a user