1 // Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
4 using System
.Collections
.Generic
;
7 using Aga
.Controls
.Tree
.NodeControls
;
9 namespace Aga
.Controls
.Tree
11 public struct DrawContext
13 private Graphics _graphics
;
14 public Graphics Graphics
16 get { return _graphics; }
17 set { _graphics = value; }
20 private Rectangle _bounds
;
21 public Rectangle Bounds
23 get { return _bounds; }
24 set { _bounds = value; }
31 set { _font = value; }
34 private DrawSelectionMode _drawSelection
;
35 public DrawSelectionMode DrawSelection
37 get { return _drawSelection; }
38 set { _drawSelection = value; }
41 private bool _drawFocus
;
44 get { return _drawFocus; }
45 set { _drawFocus = value; }
48 private NodeControl _currentEditorOwner
;
49 public NodeControl CurrentEditorOwner
51 get { return _currentEditorOwner; }
52 set { _currentEditorOwner = value; }
55 private bool _enabled
;
58 get { return _enabled; }
59 set { _enabled = value; }