Esempio n. 1
0
  public static void view3d_tool_props_register(ARegionType art) {
    PanelType pt;

    pt = new PanelType();
    StringUtil.strcpy(pt.idname, 0, StringUtil.toCString("VIEW3D_PT_last_operator"), 0);
    StringUtil.strcpy(pt.label, 0, StringUtil.toCString("Last Operator"), 0);
    pt.draw = view3d_panel_operator_redo;
    ListBaseUtil.BLI_addtail(art.paneltypes, pt);
  }
Esempio n. 2
0
  public static void view3d_toolbar_register(ARegionType art) {
    PanelType pt;

    pt = new PanelType();
    StringUtil.strcpy(pt.idname, 0, StringUtil.toCString("VIEW3D_PT_tool_shelf"), 0);
    StringUtil.strcpy(pt.label, 0, StringUtil.toCString("Tool Shelf"), 0);
    pt.draw = view3d_panel_tool_shelf;
    ListBaseUtil.BLI_addtail(art.paneltypes, pt);
  }