Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_templates.c
| Show First 20 Lines • Show All 5,198 Lines • ▼ Show 20 Lines | if (ELEM(profile->preset, PROF_PRESET_STEPS, PROF_PRESET_SUPPORTS)) { | ||||
| 0, | 0, | ||||
| UI_UNIT_X, | UI_UNIT_X, | ||||
| UI_UNIT_X, | UI_UNIT_X, | ||||
| NULL, | NULL, | ||||
| 0.0, | 0.0, | ||||
| 0.0, | 0.0, | ||||
| 0.0, | 0.0, | ||||
| 0.0, | 0.0, | ||||
| "Reapply and update the preset, removing changes"); | TIP_("Reapply and update the preset, removing changes")); | ||||
| UI_but_funcN_set(bt, CurveProfile_buttons_reset, MEM_dupallocN(cb), profile); | UI_but_funcN_set(bt, CurveProfile_buttons_reset, MEM_dupallocN(cb), profile); | ||||
| } | } | ||||
| } | } | ||||
| row = uiLayoutRow(layout, false); | row = uiLayoutRow(layout, false); | ||||
| /* (Left aligned) */ | /* (Left aligned) */ | ||||
| uiLayout *sub = uiLayoutRow(row, true); | uiLayout *sub = uiLayoutRow(row, true); | ||||
| ▲ Show 20 Lines • Show All 1,108 Lines • ▼ Show 20 Lines | but = uiDefButO(block, | ||||
| UI_BTYPE_BUT, | UI_BTYPE_BUT, | ||||
| "SCREEN_OT_info_log_show", | "SCREEN_OT_info_log_show", | ||||
| WM_OP_INVOKE_REGION_WIN, | WM_OP_INVOKE_REGION_WIN, | ||||
| report->message, | report->message, | ||||
| UI_UNIT_X, | UI_UNIT_X, | ||||
| 0, | 0, | ||||
| width + UI_UNIT_X, | width + UI_UNIT_X, | ||||
| UI_UNIT_Y, | UI_UNIT_Y, | ||||
| "Show in Info Log"); | TIP_("Show in Info Log")); | ||||
| UI_block_emboss_set(block, previous_emboss); | UI_block_emboss_set(block, previous_emboss); | ||||
| } | } | ||||
| void uiTemplateInputStatus(uiLayout *layout, struct bContext *C) | void uiTemplateInputStatus(uiLayout *layout, struct bContext *C) | ||||
| { | { | ||||
| wmWindow *win = CTX_wm_window(C); | wmWindow *win = CTX_wm_window(C); | ||||
| WorkSpace *workspace = CTX_wm_workspace(C); | WorkSpace *workspace = CTX_wm_workspace(C); | ||||
| ▲ Show 20 Lines • Show All 584 Lines • Show Last 20 Lines | |||||