Пример #1
0
 public void attachChildrent(string text)
 {
     var c = new YAMMNode();
     c.setText(text);
     c.setParesent(this);
 }
Пример #2
0
        public void tryAdd(Action<YAMMNode> continuous)
        {
            var ui = cast<UIMM>();
            var pt = ui.mRoot.transformAbs(new PointF(100, 0));
            UI.Instance.input((int)pt.X, (int)pt.Y, str =>
            {
                var node = new YAMMNode();
                node.setText(str);
                appendChild(node);

                if (continuous != null)
                {
                    continuous(node);
                }
            });
        }
Пример #3
0
        public YAMMNode addNode(string name)
        {
            var node = new YAMMNode();
            node.setText(name);
            mCurrent.appendChild(node);

            return node;
        }