diff options
author | Andrea Weikert <elubie@gmx.net> | 2008-11-25 22:23:54 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2008-11-25 22:23:54 +0300 |
commit | 03f9b732165b9a2bc35d1b7e46411cb69d076d61 (patch) | |
tree | 72cb9b4cf7c1d65623b5aab99a7060757687d78b /source/blender/editors/include | |
parent | 9ba909e9f9202d13f7b04e3492186886f5ab02c1 (diff) |
Bringing back icons:
Part 3/3: new icons
- Icon set done by jendrzych! Great job!
- cleaned up unnecessary includes and removed commented out code
- preview icons (for materials, textures,..) don't work yet, have to be ported to new event system
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface_icons.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/source/blender/editors/include/UI_interface_icons.h b/source/blender/editors/include/UI_interface_icons.h index 37e752fef85..52a17a669f7 100644 --- a/source/blender/editors/include/UI_interface_icons.h +++ b/source/blender/editors/include/UI_interface_icons.h @@ -43,27 +43,26 @@ typedef struct IconFile { int index; } IconFile; - #define ICON_DEFAULT_HEIGHT 16 #define PREVIEW_DEFAULT_HEIGHT 96 /* Resizable Icons for Blender */ -void BIF_icons_init(int first_dyn_id); -int BIF_icon_get_width(int icon_id); -int BIF_icon_get_height(int icon_id); +void UI_icons_init(int first_dyn_id); +int UI_icon_get_width(int icon_id); +int UI_icon_get_height(int icon_id); -void BIF_icon_draw(float x, float y, int icon_id); -void BIF_icon_draw_preview(float x, float y, int icon_id, int nocreate); +void UI_icon_draw(float x, float y, int icon_id); +void UI_icon_draw_preview(float x, float y, int icon_id, int nocreate); -void BIF_icon_draw_aspect(float x, float y, int icon_id, float aspect); -void BIF_icon_draw_aspect_blended(float x, float y, int icon_id, float aspect, int shade); -void BIF_icons_free(); -void BIF_icons_free_drawinfo(void *drawinfo); +void UI_icon_draw_aspect(float x, float y, int icon_id, float aspect); +void UI_icon_draw_aspect_blended(float x, float y, int icon_id, float aspect, int shade); +void UI_icons_free(); +void UI_icons_free_drawinfo(void *drawinfo); -struct ListBase *BIF_iconfile_list(void); -int BIF_iconfile_get_index(char *filename); +struct ListBase *UI_iconfile_list(void); +int UI_iconfile_get_index(char *filename); #endif /* BIF_ICONS_H */ |