author | moel.mich |
Sat, 08 Jun 2013 17:06:00 +0000 | |
changeset 392 | 4b43228a9894 |
permissions | -rw-r--r-- |
moel@345 | 1 |
using System; |
moel@345 | 2 |
using System.Collections.Generic; |
moel@345 | 3 |
using System.Text; |
moel@345 | 4 |
using System.Drawing; |
moel@345 | 5 |
using Aga.Controls.Tree.NodeControls; |
moel@345 | 6 |
|
moel@345 | 7 |
namespace Aga.Controls.Tree |
moel@345 | 8 |
{ |
moel@345 | 9 |
public struct DrawContext |
moel@345 | 10 |
{ |
moel@345 | 11 |
private Graphics _graphics; |
moel@345 | 12 |
public Graphics Graphics |
moel@345 | 13 |
{ |
moel@345 | 14 |
get { return _graphics; } |
moel@345 | 15 |
set { _graphics = value; } |
moel@345 | 16 |
} |
moel@345 | 17 |
|
moel@345 | 18 |
private Rectangle _bounds; |
moel@345 | 19 |
public Rectangle Bounds |
moel@345 | 20 |
{ |
moel@345 | 21 |
get { return _bounds; } |
moel@345 | 22 |
set { _bounds = value; } |
moel@345 | 23 |
} |
moel@345 | 24 |
|
moel@345 | 25 |
private Font _font; |
moel@345 | 26 |
public Font Font |
moel@345 | 27 |
{ |
moel@345 | 28 |
get { return _font; } |
moel@345 | 29 |
set { _font = value; } |
moel@345 | 30 |
} |
moel@345 | 31 |
|
moel@345 | 32 |
private DrawSelectionMode _drawSelection; |
moel@345 | 33 |
public DrawSelectionMode DrawSelection |
moel@345 | 34 |
{ |
moel@345 | 35 |
get { return _drawSelection; } |
moel@345 | 36 |
set { _drawSelection = value; } |
moel@345 | 37 |
} |
moel@345 | 38 |
|
moel@345 | 39 |
private bool _drawFocus; |
moel@345 | 40 |
public bool DrawFocus |
moel@345 | 41 |
{ |
moel@345 | 42 |
get { return _drawFocus; } |
moel@345 | 43 |
set { _drawFocus = value; } |
moel@345 | 44 |
} |
moel@345 | 45 |
|
moel@345 | 46 |
private NodeControl _currentEditorOwner; |
moel@345 | 47 |
public NodeControl CurrentEditorOwner |
moel@345 | 48 |
{ |
moel@345 | 49 |
get { return _currentEditorOwner; } |
moel@345 | 50 |
set { _currentEditorOwner = value; } |
moel@345 | 51 |
} |
moel@345 | 52 |
|
moel@345 | 53 |
private bool _enabled; |
moel@345 | 54 |
public bool Enabled |
moel@345 | 55 |
{ |
moel@345 | 56 |
get { return _enabled; } |
moel@345 | 57 |
set { _enabled = value; } |
moel@345 | 58 |
} |
moel@345 | 59 |
} |
moel@345 | 60 |
} |