Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpencil_modifiers/intern/MOD_gpencildash.c
| Show First 20 Lines • Show All 357 Lines • ▼ Show 20 Lines | static void panelRegister(ARegionType *region_type) | ||||
| uiListType *list_type = MEM_callocN(sizeof(uiListType), "dash modifier segment uilist"); | uiListType *list_type = MEM_callocN(sizeof(uiListType), "dash modifier segment uilist"); | ||||
| strcpy(list_type->idname, "MOD_UL_dash_segment"); | strcpy(list_type->idname, "MOD_UL_dash_segment"); | ||||
| list_type->draw_item = segment_list_item; | list_type->draw_item = segment_list_item; | ||||
| WM_uilisttype_add(list_type); | WM_uilisttype_add(list_type); | ||||
| } | } | ||||
| GpencilModifierTypeInfo modifierType_Gpencil_Dash = { | GpencilModifierTypeInfo modifierType_Gpencil_Dash = { | ||||
| /* name */ "Dot Dash", | /* name */ N_("Dot Dash"), | ||||
| /* structName */ "DashGpencilModifierData", | /* structName */ "DashGpencilModifierData", | ||||
| /* structSize */ sizeof(DashGpencilModifierData), | /* structSize */ sizeof(DashGpencilModifierData), | ||||
| /* type */ eGpencilModifierTypeType_Gpencil, | /* type */ eGpencilModifierTypeType_Gpencil, | ||||
| /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | /* flags */ eGpencilModifierTypeFlag_SupportsEditmode, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| /* deformStroke */ NULL, | /* deformStroke */ NULL, | ||||
| Show All 13 Lines | |||||