Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ make
# Credits:

- **Preetisketch** for some of the assets used as well as the banner.
- **StevenMattera** for the implementing the foundation of all touch-screen code.
- **NicholeMattera** for the implementing the foundation of all touch-screen code.
- **grimfang4** for the original SDL_FontCache headers.
- **theMealena** for CVE_gif*.
4 changes: 2 additions & 2 deletions source/menus/menu_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void Menu_DisplayAboutDialog(void) {
SDL_GetTextDimensions(20, "NX Shell vX.X.X", &text1_width, NULL);
SDL_GetTextDimensions(20, "Author: Joel16", &text2_width, NULL);
SDL_GetTextDimensions(20, "Graphics: Preetisketch and CyanogenMod/LineageOS contributors", &text3_width, NULL);
SDL_GetTextDimensions(20, "Touch screen: StevenMattera", &text4_width, NULL);
SDL_GetTextDimensions(20, "Touch screen: NicholeMattera", &text4_width, NULL);
SDL_GetTextDimensions(25, "OK", &confirm_width, &confirm_height);

SDL_QueryTexture(dialog, NULL, NULL, &dialog_width, &dialog_height);
Expand All @@ -147,7 +147,7 @@ static void Menu_DisplayAboutDialog(void) {
SDL_DrawTextf(((1280 - (text1_width)) / 2), ((720 - (dialog_height)) / 2) + 70, 20, config.dark_theme? TEXT_MIN_COLOUR_DARK : TEXT_MIN_COLOUR_LIGHT, "NX Shell v%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
SDL_DrawText(((1280 - (text2_width)) / 2), ((720 - (dialog_height)) / 2) + 100, 20, config.dark_theme? TEXT_MIN_COLOUR_DARK : TEXT_MIN_COLOUR_LIGHT, "Author: Joel16");
SDL_DrawText(((1280 - (text3_width)) / 2), ((720 - (dialog_height)) / 2) + 130, 20, config.dark_theme? TEXT_MIN_COLOUR_DARK : TEXT_MIN_COLOUR_LIGHT, "Graphics: Preetisketch and CyanogenMod/LineageOS contributors");
SDL_DrawText(((1280 - (text4_width)) / 2), ((720 - (dialog_height)) / 2) + 160, 20, config.dark_theme? TEXT_MIN_COLOUR_DARK : TEXT_MIN_COLOUR_LIGHT, "Touch screen: StevenMattera");
SDL_DrawText(((1280 - (text4_width)) / 2), ((720 - (dialog_height)) / 2) + 160, 20, config.dark_theme? TEXT_MIN_COLOUR_DARK : TEXT_MIN_COLOUR_LIGHT, "Touch screen: NicholeMattera");

SDL_DrawRect((1030 - (confirm_width)) - 20, (((720 - (dialog_height)) / 2) + 245) - 20, confirm_width + 40, confirm_height + 40, config.dark_theme? SELECTOR_COLOUR_DARK : SELECTOR_COLOUR_LIGHT);
SDL_DrawText(1030 - (confirm_width), ((720 - (dialog_height)) / 2) + 245, 25, config.dark_theme? TITLE_COLOUR_DARK : TITLE_COLOUR, "OK");
Expand Down