OSDN Git Service

123
[psychlops/silverlight.git] / dev4 / psychlops / core / graphic / module.cs
index a53a41a..b899cae 100644 (file)
@@ -147,20 +147,23 @@ namespace Psychlops
        {\r
                System.Collections.Generic.List<Figure> list;\r
                System.Windows.Controls.Canvas cnvs;\r
+               AppendFunc1 append_;\r
                bool AsyncBool;\r
                public double rotation;\r
                Point axis, scaling;\r
 \r
                public Group()\r
                {\r
+                       append_ = new AppendFunc1(append__);\r
                        list = new System.Collections.Generic.List<Figure>();\r
                        AsyncBool = false;\r
                        initialize__();\r
                        while (!AsyncBool) { }\r
                }\r
-               public Group append(Figure fig)\r
+               public Group append(Internal.PrimitiveFigure fig)\r
                {\r
                        list.Add(fig);\r
+                       append_(fig);\r
                        return this;\r
                }\r
 \r