/*****************************************************************************
 * 
 * ReoGrid - .NET Spreadsheet Control
 * 
 * http://reogrid.net/
 *
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
 * PURPOSE.
 *
 * Author: Jing <lujing at unvell.com>
 *
 * Copyright (c) 2012-2016 Jing <lujing at unvell.com>
 * Copyright (c) 2012-2016 unvell.com, all rights reserved.
 * 
 ****************************************************************************/

#if COMMENT

using unvell.ReoGrid.Rendering;

namespace unvell.ReoGrid.Views
{
	internal class CommentViewport : Viewport
	{
		public CommentViewport(IViewportController vc)
			: base(vc)
		{
		}

		public override void DrawView(CellDrawingContext dc)
		{
			if (this.sheet.cellComments != null)
			{
				foreach (var comment in this.sheet.cellComments.Values)
				{
					
				}
			}
		}

		public override IView GetViewByPoint(Graphics.Point p)
		{
			return GetChildrenByPoint(p);
		}
	}
}

#endif // COMMENT