Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/workspace_edit.c
| Show First 20 Lines • Show All 489 Lines • ▼ Show 20 Lines | static int workspace_reorder_to_back_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| return OPERATOR_INTERFACE; | return OPERATOR_INTERFACE; | ||||
| } | } | ||||
| static void WORKSPACE_OT_reorder_to_back(wmOperatorType *ot) | static void WORKSPACE_OT_reorder_to_back(wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Workspace Reorder to Back"; | ot->name = "Workspace Reorder to Back"; | ||||
| ot->description = "Reorder workspace to be first in the list"; | ot->description = "Reorder workspace to be last in the list"; | ||||
| ot->idname = "WORKSPACE_OT_reorder_to_back"; | ot->idname = "WORKSPACE_OT_reorder_to_back"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->poll = workspace_context_poll; | ot->poll = workspace_context_poll; | ||||
| ot->exec = workspace_reorder_to_back_exec; | ot->exec = workspace_reorder_to_back_exec; | ||||
| } | } | ||||
| static int workspace_reorder_to_front_exec(bContext *C, wmOperator *UNUSED(op)) | static int workspace_reorder_to_front_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| Show All 33 Lines | |||||