Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_icons.c
| Show First 20 Lines • Show All 409 Lines • ▼ Show 20 Lines | #define INIT_BRUSH_ICON(icon_id, name) \ | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_SOFTEN, soften); | INIT_BRUSH_ICON(ICON_BRUSH_SOFTEN, soften); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_SUBTRACT, subtract); | INIT_BRUSH_ICON(ICON_BRUSH_SUBTRACT, subtract); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_TEXDRAW, texdraw); | INIT_BRUSH_ICON(ICON_BRUSH_TEXDRAW, texdraw); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_TEXFILL, texfill); | INIT_BRUSH_ICON(ICON_BRUSH_TEXFILL, texfill); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_TEXMASK, texmask); | INIT_BRUSH_ICON(ICON_BRUSH_TEXMASK, texmask); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_THUMB, thumb); | INIT_BRUSH_ICON(ICON_BRUSH_THUMB, thumb); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_ROTATE, twist); | INIT_BRUSH_ICON(ICON_BRUSH_ROTATE, twist); | ||||
| INIT_BRUSH_ICON(ICON_BRUSH_VERTEXDRAW, vertexdraw); | INIT_BRUSH_ICON(ICON_BRUSH_VERTEXDRAW, vertexdraw); | ||||
| /* grease pencil sculpt */ | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_SMOOTH, gp_brush_smooth); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_THICKNESS, gp_brush_thickness); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_STRENGTH, gp_brush_strength); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_GRAB, gp_brush_grab); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_PUSH, gp_brush_push); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_TWIST, gp_brush_twist); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_PINCH, gp_brush_pinch); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_RANDOMIZE, gp_brush_randomize); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_CLONE, gp_brush_clone); | |||||
| INIT_BRUSH_ICON(ICON_GPBRUSH_WEIGHT, gp_brush_weight); | |||||
| #undef INIT_BRUSH_ICON | #undef INIT_BRUSH_ICON | ||||
| } | } | ||||
| static void icon_verify_datatoc(IconImage *iimg) | static void icon_verify_datatoc(IconImage *iimg) | ||||
| { | { | ||||
| /* if it has own rect, things are all OK */ | /* if it has own rect, things are all OK */ | ||||
| if (iimg->rect) | if (iimg->rect) | ||||
| return; | return; | ||||
| ▲ Show 20 Lines • Show All 1,006 Lines • Show Last 20 Lines | |||||