|
|
@@ -131,15 +131,15 @@ static IconContext *icon_generic_alloc(const char *id, const Icon *icon, uint8_t
|
|
|
|
|
|
IconContext *get_icon_context(const char *name)
|
|
|
{
|
|
|
- if (strcmp(name, "earth") == 0)
|
|
|
- {
|
|
|
- return icon_generic_alloc("earth", &I_icon_earth_15x16, 15, 16);
|
|
|
- }
|
|
|
+ // if (strcmp(name, "earth") == 0)
|
|
|
+ // {
|
|
|
+ // return icon_generic_alloc("earth", &I_icon_earth_15x16, 15, 16);
|
|
|
+ // }
|
|
|
// else if (strcmp(name, "home") == 0)
|
|
|
// {
|
|
|
// return icon_generic_alloc("home", &I_icon_home_15x16, 15, 16);
|
|
|
// }
|
|
|
- else if (strcmp(name, "house") == 0)
|
|
|
+ if (strcmp(name, "house") == 0)
|
|
|
{
|
|
|
return icon_generic_alloc("house", &I_icon_house_48x32px, 48, 32);
|
|
|
}
|
|
|
@@ -264,15 +264,15 @@ IconContext *get_icon_context(const char *name)
|
|
|
|
|
|
const char *icon_get_id(const Icon *icon)
|
|
|
{
|
|
|
- if (icon == &I_icon_earth_15x16)
|
|
|
- {
|
|
|
- return "earth";
|
|
|
- }
|
|
|
+ // if (icon == &I_icon_earth_15x16)
|
|
|
+ // {
|
|
|
+ // return "earth";
|
|
|
+ // }
|
|
|
// else if (icon == &I_icon_home_15x16)
|
|
|
// {
|
|
|
// return "home";
|
|
|
// }
|
|
|
- else if (icon == &I_icon_house_48x32px)
|
|
|
+ if (icon == &I_icon_house_48x32px)
|
|
|
{
|
|
|
return "house";
|
|
|
}
|