Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| UI_ITEM_R_COMPACT = 1 << 11, | UI_ITEM_R_COMPACT = 1 << 11, | ||||
| UI_ITEM_R_CHECKBOX_INVERT = 1 << 12, | UI_ITEM_R_CHECKBOX_INVERT = 1 << 12, | ||||
| /** Don't add a real decorator item, just blank space. */ | /** Don't add a real decorator item, just blank space. */ | ||||
| UI_ITEM_R_FORCE_BLANK_DECORATE = 1 << 13, | UI_ITEM_R_FORCE_BLANK_DECORATE = 1 << 13, | ||||
| /* Even create the property split layout if there's no name to show there. */ | /* Even create the property split layout if there's no name to show there. */ | ||||
| UI_ITEM_R_SPLIT_EMPTY_NAME = 1 << 14, | UI_ITEM_R_SPLIT_EMPTY_NAME = 1 << 14, | ||||
| }; | }; | ||||
| #define UI_HEADER_OFFSET ((void)0, 0.4f * UI_UNIT_X) | #define UI_HEADER_OFFSET ((void)0, 0.6f * UI_UNIT_X) | ||||
| /* uiLayoutOperatorButs flags */ | /* uiLayoutOperatorButs flags */ | ||||
| enum { | enum { | ||||
| UI_TEMPLATE_OP_PROPS_SHOW_TITLE = 1 << 0, | UI_TEMPLATE_OP_PROPS_SHOW_TITLE = 1 << 0, | ||||
| UI_TEMPLATE_OP_PROPS_SHOW_EMPTY = 1 << 1, | UI_TEMPLATE_OP_PROPS_SHOW_EMPTY = 1 << 1, | ||||
| UI_TEMPLATE_OP_PROPS_COMPACT = 1 << 2, | UI_TEMPLATE_OP_PROPS_COMPACT = 1 << 2, | ||||
| UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED = 1 << 3, | UI_TEMPLATE_OP_PROPS_HIDE_ADVANCED = 1 << 3, | ||||
| /* Disable property split for the default layout (custom ui callbacks still have full control | /* Disable property split for the default layout (custom ui callbacks still have full control | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||