External/Aga.Controls/Tree/DrawContext.cs
author moel.mich
Mon, 02 Jul 2012 21:14:40 +0000
changeset 357 fb8dc26f65a4
permissions -rw-r--r--
Added mainboard specific configurations for the following Gigabyte mainboards: EX58-UD3R, G41M-Combo, G41MT-S2, G41MT-S2P, GA-MA770T-UD3P, GA-MA785GM-US2H, GA-MA78LM-S2H, GA-MA790X-UD3P, H55-USB3, H55N-USB3, H61M-DS2 REV 1.2, H61M-USB3-B3 REV 2.0, H67A-USB3-B3, P55A-UD3, P67A-UD3-B3, P67A-UD3R-B3, Z68A-D3H-B3, Z68AP-D3, Z68X-UD3H-B3.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Drawing;
     5 using Aga.Controls.Tree.NodeControls;
     6 
     7 namespace Aga.Controls.Tree
     8 {
     9 	public struct DrawContext
    10 	{
    11 		private Graphics _graphics;
    12 		public Graphics Graphics
    13 		{
    14 			get { return _graphics; }
    15 			set { _graphics = value; }
    16 		}
    17 
    18 		private Rectangle _bounds;
    19 		public Rectangle Bounds
    20 		{
    21 			get { return _bounds; }
    22 			set { _bounds = value; }
    23 		}
    24 
    25 		private Font _font;
    26 		public Font Font
    27 		{
    28 			get { return _font; }
    29 			set { _font = value; }
    30 		}
    31 
    32 		private DrawSelectionMode _drawSelection;
    33 		public DrawSelectionMode DrawSelection
    34 		{
    35 			get { return _drawSelection; }
    36 			set { _drawSelection = value; }
    37 		}
    38 
    39 		private bool _drawFocus;
    40 		public bool DrawFocus
    41 		{
    42 			get { return _drawFocus; }
    43 			set { _drawFocus = value; }
    44 		}
    45 
    46 		private NodeControl _currentEditorOwner;
    47 		public NodeControl CurrentEditorOwner
    48 		{
    49 			get { return _currentEditorOwner; }
    50 			set { _currentEditorOwner = value; }
    51 		}
    52 
    53 		private bool _enabled;
    54 		public bool Enabled
    55 		{
    56 			get { return _enabled; }
    57 			set { _enabled = value; }
    58 		}
    59 	}
    60 }