From dd1149c9fb258536a48934ef9f977cefe6fb9f8c Mon Sep 17 00:00:00 2001 From: AnalogMan151 Date: Sat, 23 Jun 2018 14:47:52 -0400 Subject: [PATCH] Added control descriptions --- source/MainMenu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/MainMenu.c b/source/MainMenu.c index cbff0c4..f8f89f0 100644 --- a/source/MainMenu.c +++ b/source/MainMenu.c @@ -9,6 +9,7 @@ void selectSlotMenu(int slotchar){ SDL_DrawRect(renderer,0,648,1280,72, TOPBAR_COLOR); SDL_DrawRect(renderer,30,648,1220,2, WHITE_COLOR); SDL_DrawText(Arial, 110, 27, WHITE_TEXT_COLOR, "Breath of the Wild Editor"); + SDL_DrawText(Arial_S, 1000, 670, WHITE_TEXT_COLOR, "A: Confirm | +: Exit"); SDL_DrawRect(renderer,380,148,517,400, LEFTBAR_COLOR); SDL_DrawText(Arial_S,554,200, WHITE_TEXT_COLOR, "Select File Slot:"); @@ -86,6 +87,7 @@ void mainUI(int x, int currentPage, int maxPage, int showBox, int BoxPos){ SDL_DrawRect(renderer,0,648,1280,72, TOPBAR_COLOR); SDL_DrawRect(renderer,30,648,1220,2, WHITE_COLOR); SDL_DrawText(Arial, 110, 27, WHITE_TEXT_COLOR, "Breath of the Wild Editor"); + SDL_DrawText(Arial_S, 700, 670, WHITE_TEXT_COLOR, "A: Confirm | B: Cancel | Y: Edit Rupees | +: Exit"); setMenuItems(x, currentPage); @@ -195,7 +197,7 @@ void showItemSDL(int currentItem, int arrow){ snprintf(value, sizeof value, "%d", (int)newQuantItems[currentItem]); SDL_DrawRect(renderer, 470, 240, 750, 3, LEFTBAR_COLOR); - SDL_DrawText(Arial_M, 480, 252, WHITE_TEXT_COLOR, "Quantity"); + SDL_DrawText(Arial_M, 480, 252, WHITE_TEXT_COLOR, isArrow ? "Quantity" : "Durability"); SDL_DrawText(Arial_M, 1100, 252, BLUE_TEXT_COLOR, value); SDL_DrawRect(renderer, 470, 300, 750, 3, LEFTBAR_COLOR); @@ -232,7 +234,7 @@ void Show_DropDownMenu(int pos){ SDL_DrawRect(renderer, 304, 552, 612, 90, TOPBAR_COLOR); } SDL_DrawText(Arial_M, 500, 475, WHITE_TEXT_COLOR, "Edit Modifier"); - SDL_DrawText(Arial_M, 500, 580, WHITE_TEXT_COLOR, "Edit Quantity"); + SDL_DrawText(Arial_M, 500, 580, WHITE_TEXT_COLOR, "Edit Value"); SDL_RenderPresent(renderer);