public ILSelectionRectangleWrapper(ILSelectionRectangle source, ILPanelEditor editor, string path, string name = null, string label = null)
            : base(source, editor, path, BuildName(name, editor.Panel, source, ILSelectionRectangle.LineTag), label)
        {
            this.source = source;

            lines = new ILLinesWrapper(source.Lines, editor, Path, ILScreenObject.BorderTag, "Lines");
        }
Ejemplo n.º 2
0
        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");
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        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;
        }
Ejemplo n.º 5
0
        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;
        }
Ejemplo n.º 6
0
        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;
        }