[Horus] Stats menu refactoring

This commit is contained in:
Bertrand Songis
2016-03-14 21:57:15 +01:00
parent 13657587b1
commit 7adccc23dc
8 changed files with 116 additions and 170 deletions
-12
View File
@@ -88,18 +88,10 @@ const uint8_t LBM_STATS_GRAPH_ICON[] = {
#include "mask_stats_graph.lbm"
};
const uint8_t LBM_STATS_VALUE_ICON[] = {
#include "mask_stats_value.lbm"
};
const uint8_t LBM_STATS_TIME_ICON[] = {
#include "mask_stats_time.lbm"
};
const uint8_t LBM_STATS_LUA_ICON[] = {
#include "mask_stats_lua.lbm"
};
const uint8_t LBM_STATS_DEBUG_ICON[] = {
#include "mask_stats_debug.lbm"
};
@@ -107,11 +99,7 @@ const uint8_t LBM_STATS_DEBUG_ICON[] = {
const uint8_t * const LBM_STATS_ICONS[] = {
LBM_STATS_ICON,
LBM_STATS_GRAPH_ICON,
LBM_STATS_VALUE_ICON,
LBM_STATS_TIME_ICON,
#if defined(LUA)
LBM_STATS_LUA_ICON,
#endif
#if defined(DEBUG_TRACE_BUFFER)
LBM_STATS_DEBUG_ICON
#endif