moel@345: using System;
moel@345: using System.Collections.Generic;
moel@345: using System.Text;
moel@345: using System.Windows.Forms;
moel@345: using System.Drawing;
moel@345: using Aga.Controls.Tree.NodeControls;
moel@345: 
moel@345: namespace Aga.Controls.Tree
moel@345: {
moel@345: 	public struct EditorContext
moel@345: 	{
moel@345: 		private TreeNodeAdv _currentNode;
moel@345: 		public TreeNodeAdv CurrentNode
moel@345: 		{
moel@345: 			get { return _currentNode; }
moel@345: 			set { _currentNode = value; }
moel@345: 		}
moel@345: 
moel@345: 		private Control _editor;
moel@345: 		public Control Editor
moel@345: 		{
moel@345: 			get { return _editor; }
moel@345: 			set { _editor = value; }
moel@345: 		}
moel@345: 
moel@345: 		private NodeControl _owner;
moel@345: 		public NodeControl Owner
moel@345: 		{
moel@345: 			get { return _owner; }
moel@345: 			set { _owner = value; }
moel@345: 		}
moel@345: 
moel@345: 		private Rectangle _bounds;
moel@345: 		public Rectangle Bounds
moel@345: 		{
moel@345: 			get { return _bounds; }
moel@345: 			set { _bounds = value; }
moel@345: 		}
moel@345: 
moel@345: 		private DrawContext _drawContext;
moel@345: 		public DrawContext DrawContext
moel@345: 		{
moel@345: 			get { return _drawContext; }
moel@345: 			set { _drawContext = value; }
moel@345: 		}
moel@345: 	}
moel@345: }