External/Aga.Controls/Tree/IRowLayout.cs
author moel.mich
Sun, 23 Sep 2012 18:37:43 +0000
changeset 380 573f1fff48b2
permissions -rw-r--r--
Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Drawing;
     5 
     6 namespace Aga.Controls.Tree
     7 {
     8 	internal interface IRowLayout
     9 	{
    10 		int PreferredRowHeight
    11 		{
    12 			get;
    13 			set;
    14 		}
    15 
    16 		int PageRowCount
    17 		{
    18 			get;
    19 		}
    20 
    21 		int CurrentPageSize
    22 		{
    23 			get;
    24 		}
    25 
    26 		Rectangle GetRowBounds(int rowNo);
    27 
    28 		int GetRowAt(Point point);
    29 
    30 		int GetFirstRow(int lastPageRow);
    31 
    32 		void ClearCache();
    33 	}
    34 }