Skip to content

Commit

Permalink
Added control descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogMan151 committed Jun 23, 2018
1 parent c584883 commit dd1149c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/MainMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:");
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit dd1149c

Please sign in to comment.