C# Class ImageGlass.ImageListView.ImageListViewRenderers.MeerkatRenderer

A renderer to celebrate the release of Ubuntu 10.10 Maverick Meerkat.
Inheritance: ImageListView.ImageListViewRenderer
Datei anzeigen Open project: d2phap/ImageGlass

Public Methods

Method Description
DrawColumnExtender ( Graphics g, Rectangle bounds ) : void

Draws the extender after the last column.

DrawColumnHeader ( Graphics g, ImageListView column, ColumnState state, Rectangle bounds ) : void

Draws the column headers.

DrawGalleryImage ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void

Draws the large preview image of the focused item in Gallery mode.

DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void

Draws the specified item on the given graphics.

InitializeGraphics ( Graphics g ) : void

Initializes the System.Drawing.Graphics used to draw control elements.

MeasureItem ( View view ) : Size

Returns item size for the given view mode.

Method Details

DrawColumnExtender() public method

Draws the extender after the last column.
public DrawColumnExtender ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
bounds System.Drawing.Rectangle The bounding rectangle of extender column in client coordinates.
return void

DrawColumnHeader() public method

Draws the column headers.
public DrawColumnHeader ( Graphics g, ImageListView column, ColumnState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
column ImageListView The ImageListViewColumnHeader to draw.
state ColumnState The current view state of column.
bounds System.Drawing.Rectangle The bounding rectangle of column in client coordinates.
return void

DrawGalleryImage() public method

Draws the large preview image of the focused item in Gallery mode.
public DrawGalleryImage ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
image Image The image to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the preview area.
return void

DrawItem() public method

Draws the specified item on the given graphics.
public DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
state ItemState The current view state of item.
bounds System.Drawing.Rectangle The bounding rectangle of item in client coordinates.
return void

InitializeGraphics() public method

Initializes the System.Drawing.Graphics used to draw control elements.
public InitializeGraphics ( Graphics g ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
return void

MeasureItem() public method

Returns item size for the given view mode.
public MeasureItem ( View view ) : Size
view View The view mode for which the measurement should be made.
return System.Drawing.Size