Exemple #1
0
        public DocumentCanvas(Gwen.Control.Base parent)
            : base(parent)
       {
	        ShouldDrawBackground = true;
            
	        m_SelectionLayer = new SelectionLayer( this );
           /* m_SelectionLayer.PropertiesChanged += OnPropertiesChanged;
            m_SelectionLayer.HierachyChanged  +=  OnHierachyChanged;

            ControlFactory::Base* pControlFactory = Gwen::ControlFactory::Find( "DesignerCanvas" );
            UserData.Set( "ControlFactory", pControlFactory );*/
        }
Exemple #2
0
        public DocumentCanvas(Gwen.Control.Base parent)
            : base(parent)
        {
            ShouldDrawBackground = true;

            m_SelectionLayer = new SelectionLayer( this );
               /* m_SelectionLayer.PropertiesChanged += OnPropertiesChanged;
            m_SelectionLayer.HierachyChanged  +=  OnHierachyChanged;

            ControlFactory::Base* pControlFactory = Gwen::ControlFactory::Find( "DesignerCanvas" );
            UserData.Set( "ControlFactory", pControlFactory );*/
        }