70 unsigned char (*colors)[4];
154 unsigned int size_y);
159#define ICON_RENDER_DEFAULT_HEIGHT 32
bool BKE_icon_is_preview(int icon_id)
void BKE_icon_id_delete(struct ID *id)
void(* DrawInfoFreeFP)(void *drawinfo)
int BKE_icon_imbuf_create(struct ImBuf *ibuf) ATTR_WARN_UNUSED_RESULT
struct ImBuf * BKE_icon_imbuf_get_buffer(int icon_id) ATTR_WARN_UNUSED_RESULT
bool BKE_icon_delete(int icon_id)
void BKE_icons_deferred_free(void)
void BKE_icon_set(int icon_id, struct Icon *icon)
void BKE_icon_changed(int icon_id)
int BKE_icon_gplayer_color_ensure(struct bGPDlayer *gpl)
void BKE_icons_free(void)
struct Icon_Geom * BKE_icon_geom_from_memory(uchar *data, size_t data_len)
int BKE_icon_preview_ensure(struct ID *id, struct PreviewImage *preview)
struct Icon * BKE_icon_get(int icon_id)
bool BKE_icon_delete_unmanaged(int icon_id)
bool BKE_icon_is_image(int icon_id)
int BKE_icon_geom_ensure(struct Icon_Geom *geom)
struct ImBuf * BKE_icon_geom_rasterize(const struct Icon_Geom *geom, unsigned int size_x, unsigned int size_y)
void BKE_icon_geom_invert_lightness(struct Icon_Geom *geom)
int BKE_icon_id_ensure(struct ID *id)
int BKE_icon_ensure_studio_light(struct StudioLight *sl, int id_type)
struct Icon_Geom * BKE_icon_geom_from_file(const char *filename)
void BKE_icons_init(int first_dyn_id)
#define ATTR_WARN_UNUSED_RESULT
unsigned char(* coords)[2]
DrawInfoFreeFP drawinfo_free