public ILScreenObjectWrapper(ILScreenObject source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, "ScreenObject"), label) { this.source = source; border = new ILLinesWrapper(source.Border, editor, Path, ILScreenObject.BorderTag, "Border"); background = new ILTrianglesWrapper(source.Background, editor, Path, ILScreenObject.BackgroundTag, "Background"); }
public ILCircleWrapper(ILCircle source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILCircle.CircleGroupTag), label) { this.source = source; fill = new ILTrianglesWrapper(source.Fill, editor, Path, ILCircle.FillTagDefault); border = new ILLinesWrapper(source.Border, editor, Path, ILCircle.BorderTagDefault); this.source.MouseDoubleClick += OnMouseDoubleClick; }
public ILSphereWrapper(ILSphere source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILSphere.DefaultSphereTag), label) { this.source = source; fill = new ILTrianglesWrapper(source.Fill, editor, Path, ILSphere.DefaultFillTag); wireframe = new ILLinesWrapper(source.Wireframe, editor, Path, ILSphere.DefaultWireframeTag); this.source.MouseDoubleClick += OnMouseDoubleClick; }
public ILGearWrapper(ILGear source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, "Gear"), label) { this.source = source; fill = new ILTrianglesWrapper(source.Fill, editor, Path, "Fill"); wireframe = new ILLinesWrapper(source.Wireframe, editor, Path, "Wireframe"); this.source.MouseDoubleClick += OnMouseDoubleClick; }
public ILConeWrapper(ILCone source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILCone.ConeGroupTag), label) { this.source = source; bottom = new ILTrianglesWrapper(source.Bottom, editor, Path, ILCone.BottomTag); hull = new ILTrianglesWrapper(source.Hull, editor, Path, ILCone.HullTag); border = new ILLinesWrapper(source.Border, editor, Path, ILCone.BorderTag); this.source.MouseDoubleClick += OnMouseDoubleClick; }
public ILCylinderWrapper(ILCylinder source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILCylinder.CylinderGroupTag), label) { this.source = source; bottom = new ILCircleWrapper(source.Bottom, editor, Path, ILCylinder.BottomTag); top = new ILCircleWrapper(source.Top, editor, Path, ILCylinder.TopTag); hull = new ILTrianglesWrapper(source.Hull, editor, Path, ILCylinder.HullTag); this.source.MouseDoubleClick += OnMouseDoubleClick; }