moel@345: using System; moel@345: using System.Collections.Generic; moel@345: using System.Text; 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 DrawContext moel@345: { moel@345: private Graphics _graphics; moel@345: public Graphics Graphics moel@345: { moel@345: get { return _graphics; } moel@345: set { _graphics = 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 Font _font; moel@345: public Font Font moel@345: { moel@345: get { return _font; } moel@345: set { _font = value; } moel@345: } moel@345: moel@345: private DrawSelectionMode _drawSelection; moel@345: public DrawSelectionMode DrawSelection moel@345: { moel@345: get { return _drawSelection; } moel@345: set { _drawSelection = value; } moel@345: } moel@345: moel@345: private bool _drawFocus; moel@345: public bool DrawFocus moel@345: { moel@345: get { return _drawFocus; } moel@345: set { _drawFocus = value; } moel@345: } moel@345: moel@345: private NodeControl _currentEditorOwner; moel@345: public NodeControl CurrentEditorOwner moel@345: { moel@345: get { return _currentEditorOwner; } moel@345: set { _currentEditorOwner = value; } moel@345: } moel@345: moel@345: private bool _enabled; moel@345: public bool Enabled moel@345: { moel@345: get { return _enabled; } moel@345: set { _enabled = value; } moel@345: } moel@345: } moel@345: }