コード例 #1
0
        public rMindBaseController(rMindCanvasController parent)
        {
            Name     = "root";
            m_parent = parent;

            m_items_state = new rMindControllerState()
            {
                DragedItem = null,
                ZoomFactor = 1,
                Saved      = false
            };

            m_magnet         = new rMindMagnet();
            m_items          = new List <rMindBaseElement>();
            m_wire_list      = new List <rMindBaseWire>();
            m_selected_items = new List <rMindBaseElement>();
        }