icon.h 366 B

12345678910111213141516
  1. #pragma once
  2. #include "flip_world_icons.h"
  3. #include "game.h"
  4. typedef struct
  5. {
  6. char id[32];
  7. const Icon *icon;
  8. uint8_t width;
  9. uint8_t height;
  10. } IconContext;
  11. extern const EntityDescription icon_desc;
  12. IconContext *get_icon_context(const char *name);
  13. IconContext *get_icon_context_furi(const FuriString *name);
  14. const char *icon_get_id(const Icon *icon);