diff options
Diffstat (limited to 'source/blender/include/BIF_interface_icons.h')
-rw-r--r-- | source/blender/include/BIF_interface_icons.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/include/BIF_interface_icons.h b/source/blender/include/BIF_interface_icons.h index 45f00dfb591..c69fa122099 100644 --- a/source/blender/include/BIF_interface_icons.h +++ b/source/blender/include/BIF_interface_icons.h @@ -40,6 +40,13 @@ struct Tex; struct Lamp; struct Material; +typedef struct IconFile { + struct IconFile *next, *prev; + char filename[80]; // FILE_MAXFILE size + int index; +} IconFile; + + #define ICON_DEFAULT_HEIGHT 16 /* @@ -55,4 +62,8 @@ void BIF_icon_draw_aspect_blended(float x, float y, int icon_id, float aspect, i void BIF_icons_free(); void BIF_icons_free_drawinfo(void *drawinfo); +struct ListBase *BIF_iconfile_list(void); +int BIF_iconfile_get_index(char *filename); + + #endif /* BIF_ICONS_H */ |