From c542b1954407b22d5ca22e3b9360c782214dfcd3 Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Sun, 23 Sep 2018 13:51:18 -0500 Subject: [PATCH] added declaration of functions to get rid of implicit warnings --- common/common.h | 1 + common/menu.c | 1 + common/menu.h | 1 + 3 files changed, 3 insertions(+) diff --git a/common/common.h b/common/common.h index 3a3d2d7..0536dc6 100644 --- a/common/common.h +++ b/common/common.h @@ -60,6 +60,7 @@ typedef union { #include "message-box.h" void menuStartup(); +void themeMenuStartup(); void menuLoop(); static inline uint8_t BlendColor(uint32_t src, uint32_t dst, uint8_t alpha) diff --git a/common/menu.c b/common/menu.c index 6da1e37..6e24854 100644 --- a/common/menu.c +++ b/common/menu.c @@ -8,6 +8,7 @@ #include "theme_icon_light_bin.h" char rootPath[PATH_MAX+8]; +void computeFrontGradient(color_t baseColor, int height); char *menuGetRootPath() { return rootPath; diff --git a/common/menu.h b/common/menu.h index 7d47650..d34d21e 100644 --- a/common/menu.h +++ b/common/menu.h @@ -85,6 +85,7 @@ void menuEntryParseNacp(menuEntry_s* me); menu_s* menuGetCurrent(void); int menuScan(const char* target); +int themeMenuScan(const char* target); void launchMenuEntryTask(menuEntry_s* arg); void launchApplyThemeTask(menuEntry_s* arg);