diff --git a/Makefile.pc b/Makefile.pc index af742b9..d2212dc 100644 --- a/Makefile.pc +++ b/Makefile.pc @@ -13,7 +13,7 @@ test : pc_main/main.cpp pc_main/pc_launch.c \ common/nanojpeg.c common/ui.c common/math.c common/theme.c \ build_pc/tahoma24.o build_pc/tahoma12.o build_pc/interuimedium20.o build_pc/interuimedium30.o \ build_pc/interuiregular14.o build_pc/interuiregular18.o \ - build_pc/switchicon_questionmark.bin.o build_pc/folder_icon.bin.o \ + build_pc/invalid_icon.bin.o build_pc/folder_icon.bin.o \ build_pc/button_a_light.bin.o build_pc/button_a_dark.bin.o build_pc/button_b_light.bin.o build_pc/button_b_dark.bin.o build_pc/hbmenu_logo_light.bin.o build_pc/hbmenu_logo_dark.bin.o gcc -Wall -O2 -g0 $^ -lsfml-graphics -lsfml-window -lsfml-system -lstdc++ -lm -I. -Ibuild_pc -o $@ @@ -47,7 +47,7 @@ build_pc/interuiregular18.o : data/interuiregular18.nxfnt @echo $(notdir $<) @$(bin2o) -build_pc/switchicon_questionmark.bin.o : data/switchicon_questionmark.bin +build_pc/invalid_icon.bin.o : data/invalid_icon.bin mkdir -p $(dir $@) @echo $(notdir $<) @$(bin2o) diff --git a/common/menu.c b/common/menu.c index 87877a5..058fb1b 100644 --- a/common/menu.c +++ b/common/menu.c @@ -1,7 +1,7 @@ #include #include "common.h" -#include "switchicon_questionmark_bin.h" +#include "invalid_icon_bin.h" #include "folder_icon_bin.h" void launchMenuEntryTask(menuEntry_s* arg) @@ -46,7 +46,7 @@ static void drawImage(int x, int y, int width, int height, const uint8_t *image, } uint8_t *folder_icon_small; -uint8_t *switchicon_questionmark_small; +uint8_t *invalid_icon_small; double timer; static void drawEntry(menuEntry_s* me, int off_x, int is_active) { @@ -155,8 +155,8 @@ static void drawEntry(menuEntry_s* me, int off_x, int is_active) { largeimg = folder_icon_bin; } else { - smallimg = switchicon_questionmark_small; - largeimg = switchicon_questionmark_bin; + smallimg = invalid_icon_small; + largeimg = invalid_icon_bin; } if (smallimg) { @@ -220,7 +220,7 @@ void menuStartup() { menuScan(path); folder_icon_small = downscaleIcon(folder_icon_bin); - switchicon_questionmark_small = downscaleIcon(switchicon_questionmark_bin); + invalid_icon_small = downscaleIcon(invalid_icon_bin); } color_t waveBlendAdd(color_t a, color_t b, float alpha) { diff --git a/data/switchicon_questionmark.bin b/data/invalid_icon.bin similarity index 100% rename from data/switchicon_questionmark.bin rename to data/invalid_icon.bin diff --git a/resources/switchicon-questionmark.png b/resources/invalid_icon.png similarity index 100% rename from resources/switchicon-questionmark.png rename to resources/invalid_icon.png