External/Aga.Controls/Tree/IRowLayout.cs
author moel.mich
Wed, 18 Jul 2012 19:45:59 +0000
changeset 366 667c75cad937
permissions -rw-r--r--
Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large.
     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 }