Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_query.c
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | return ELEM(but->type, | ||||
| UI_BTYPE_BUT_TOGGLE, | UI_BTYPE_BUT_TOGGLE, | ||||
| UI_BTYPE_TOGGLE, | UI_BTYPE_TOGGLE, | ||||
| UI_BTYPE_ICON_TOGGLE, | UI_BTYPE_ICON_TOGGLE, | ||||
| UI_BTYPE_ICON_TOGGLE_N, | UI_BTYPE_ICON_TOGGLE_N, | ||||
| UI_BTYPE_TOGGLE_N, | UI_BTYPE_TOGGLE_N, | ||||
| UI_BTYPE_CHECKBOX, | UI_BTYPE_CHECKBOX, | ||||
| UI_BTYPE_CHECKBOX_N, | UI_BTYPE_CHECKBOX_N, | ||||
| UI_BTYPE_ROW, | UI_BTYPE_ROW, | ||||
| UI_BTYPE_DATASETROW, | |||||
| UI_BTYPE_TREEROW); | UI_BTYPE_TREEROW); | ||||
| } | } | ||||
| /** | /** | ||||
| * Can we mouse over the button or is it hidden/disabled/layout. | * Can we mouse over the button or is it hidden/disabled/layout. | ||||
| * \note ctrl is kind of a hack currently, | * \note ctrl is kind of a hack currently, | ||||
| * so that non-embossed UI_BTYPE_TEXT button behaves as a label when ctrl is not pressed. | * so that non-embossed UI_BTYPE_TEXT button behaves as a label when ctrl is not pressed. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 752 Lines • Show Last 20 Lines | |||||