1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/External/Aga.Controls/Tree/DrawContext.cs Sun May 27 15:16:19 2012 +0000
1.3 @@ -0,0 +1,60 @@
1.4 +using System;
1.5 +using System.Collections.Generic;
1.6 +using System.Text;
1.7 +using System.Drawing;
1.8 +using Aga.Controls.Tree.NodeControls;
1.9 +
1.10 +namespace Aga.Controls.Tree
1.11 +{
1.12 + public struct DrawContext
1.13 + {
1.14 + private Graphics _graphics;
1.15 + public Graphics Graphics
1.16 + {
1.17 + get { return _graphics; }
1.18 + set { _graphics = value; }
1.19 + }
1.20 +
1.21 + private Rectangle _bounds;
1.22 + public Rectangle Bounds
1.23 + {
1.24 + get { return _bounds; }
1.25 + set { _bounds = value; }
1.26 + }
1.27 +
1.28 + private Font _font;
1.29 + public Font Font
1.30 + {
1.31 + get { return _font; }
1.32 + set { _font = value; }
1.33 + }
1.34 +
1.35 + private DrawSelectionMode _drawSelection;
1.36 + public DrawSelectionMode DrawSelection
1.37 + {
1.38 + get { return _drawSelection; }
1.39 + set { _drawSelection = value; }
1.40 + }
1.41 +
1.42 + private bool _drawFocus;
1.43 + public bool DrawFocus
1.44 + {
1.45 + get { return _drawFocus; }
1.46 + set { _drawFocus = value; }
1.47 + }
1.48 +
1.49 + private NodeControl _currentEditorOwner;
1.50 + public NodeControl CurrentEditorOwner
1.51 + {
1.52 + get { return _currentEditorOwner; }
1.53 + set { _currentEditorOwner = value; }
1.54 + }
1.55 +
1.56 + private bool _enabled;
1.57 + public bool Enabled
1.58 + {
1.59 + get { return _enabled; }
1.60 + set { _enabled = value; }
1.61 + }
1.62 + }
1.63 +}