mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Add delete Icon.
This commit is contained in:
@@ -280,7 +280,7 @@ void UniStore::DrawStoreList(void) const {
|
||||
GFX::DrawArrow(315, 240, 180.0);
|
||||
GFX::DrawArrow(0, 218, 0, 1);
|
||||
GFX::DrawSpriteBlend(sprites_view_idx, arrowPos[3].x, arrowPos[3].y);
|
||||
GFX::DrawSpriteBlend(sprites_search_idx, arrowPos[4].x, arrowPos[4].y);
|
||||
GFX::DrawSpriteBlend(sprites_delete_idx, arrowPos[4].x, arrowPos[4].y);
|
||||
GFX::DrawSpriteBlend(sprites_update_idx, arrowPos[5].x, arrowPos[5].y);
|
||||
|
||||
if (Config::viewMode == 0) {
|
||||
@@ -686,7 +686,7 @@ void UniStore::StoreSelectionLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
}
|
||||
}
|
||||
|
||||
if (hDown & KEY_SELECT) {
|
||||
if ((hDown & KEY_SELECT) || (hDown & KEY_TOUCH && touching(touch, arrowPos[4]))) {
|
||||
if (Msg::promptMsg(Lang::get("DELETE_STORE"))) {
|
||||
deleteStore(Selection);
|
||||
}
|
||||
@@ -1097,6 +1097,8 @@ void UniStore::DrawGlossary(void) const {
|
||||
if (lastMode == 1) {
|
||||
GFX::DrawSpriteBlend(sprites_update_idx, 20, 160);
|
||||
Gui::DrawString(50, 162, 0.6f, Config::TxtColor, Lang::get("UPDATE_STORE"), 260);
|
||||
GFX::DrawSpriteBlend(sprites_delete_idx, 20, 190);
|
||||
Gui::DrawString(50, 192, 0.6f, Config::TxtColor, Lang::get("DELETE_UNISTORE"), 260);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user