Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | #define SI_ITEM_VIEW(name, icon) \ | ||||
| {SI_MODE_VIEW, "VIEW", icon, name, "View the image"} | {SI_MODE_VIEW, "VIEW", icon, name, "View the image"} | ||||
| #define SI_ITEM_UV \ | #define SI_ITEM_UV \ | ||||
| {SI_MODE_UV, "UV", ICON_GROUP_UVS, "UV Editor", "UV edit in mesh editmode"} | {SI_MODE_UV, "UV", ICON_GROUP_UVS, "UV Editor", "UV edit in mesh editmode"} | ||||
| #define SI_ITEM_PAINT \ | #define SI_ITEM_PAINT \ | ||||
| {SI_MODE_PAINT, "PAINT", ICON_TPAINT_HLT, "Paint", "2D image painting mode"} | {SI_MODE_PAINT, "PAINT", ICON_TPAINT_HLT, "Paint", "2D image painting mode"} | ||||
| #define SI_ITEM_MASK \ | #define SI_ITEM_MASK \ | ||||
| {SI_MODE_MASK, "MASK", ICON_MOD_MASK, "Mask", "Mask editing"} | {SI_MODE_MASK, "MASK", ICON_MOD_MASK, "Mask", "Mask editing"} | ||||
| static const EnumPropertyItem rna_enum_space_image_mode_all_items[] = { | const EnumPropertyItem rna_enum_space_image_mode_all_items[] = { | ||||
| SI_ITEM_VIEW("View", ICON_FILE_IMAGE), | SI_ITEM_VIEW("View", ICON_FILE_IMAGE), | ||||
| SI_ITEM_UV, | SI_ITEM_UV, | ||||
| SI_ITEM_PAINT, | SI_ITEM_PAINT, | ||||
| SI_ITEM_MASK, | SI_ITEM_MASK, | ||||
| {0, NULL, 0, NULL, NULL} | {0, NULL, 0, NULL, NULL} | ||||
| }; | }; | ||||
| static const EnumPropertyItem rna_enum_space_image_mode_ui_items[] = { | static const EnumPropertyItem rna_enum_space_image_mode_ui_items[] = { | ||||
| ▲ Show 20 Lines • Show All 5,069 Lines • Show Last 20 Lines | |||||