Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface_icons.h
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
| #define ICON_DEFAULT_WIDTH_SCALE ((int)(UI_UNIT_X * 0.8f)) | #define ICON_DEFAULT_WIDTH_SCALE ((int)(UI_UNIT_X * 0.8f)) | ||||
| #define PREVIEW_DEFAULT_HEIGHT 128 | #define PREVIEW_DEFAULT_HEIGHT 128 | ||||
| /* | /* | ||||
| * Resizable Icons for Blender | * Resizable Icons for Blender | ||||
| */ | */ | ||||
| void UI_icons_init(void); | void UI_icons_init(void); | ||||
| void UI_icons_reload_internal_textures(void); | |||||
| int UI_icon_get_width(int icon_id); | int UI_icon_get_width(int icon_id); | ||||
| int UI_icon_get_height(int icon_id); | int UI_icon_get_height(int icon_id); | ||||
| void UI_id_icon_render(const struct bContext *C, | void UI_id_icon_render(const struct bContext *C, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ID *id, | struct ID *id, | ||||
| const bool big, | const bool big, | ||||
| const bool use_job); | const bool use_job); | ||||
| Show All 36 Lines | |||||