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_HEIGHT_TOOLBAR 32 | #define ICON_DEFAULT_HEIGHT_TOOLBAR 32 | ||||
| #define ICON_DEFAULT_HEIGHT_SCALE ((int)(UI_UNIT_Y * 0.8f)) | #define ICON_DEFAULT_HEIGHT_SCALE ((int)(UI_UNIT_Y * 0.8f)) | ||||
| #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 | ||||
| typedef enum eAlertIcon { | |||||
| ALERT_ICON_WARNING = 0, | |||||
| ALERT_ICON_QUESTION = 1, | |||||
| ALERT_ICON_ERROR = 2, | |||||
| ALERT_ICON_INFO = 3, | |||||
| ALERT_ICON_BLENDER = 4, | |||||
| ALERT_ICON_MAX, | |||||
| } eAlertIcon; | |||||
| struct ImBuf *UI_alert_image(eAlertIcon icon); | |||||
| /* | /* | ||||
| * 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); | 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); | ||||
| ▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines | |||||