protected override void TileDrawer(int index, Cairo.Context cr) { base.TileDrawer(index, cr); int x = index % Width; int y = index / Width; cr.Save(); if (GetSelected(x, y)) { cr.SetSourceRGB(1.0, 0, 0); //cr.Rectangle(0, 0, TileWidth, TileHeight); cr.PaintWithAlpha(0.4); CairoHelper.DrawRectOutline(cr, 1, new Cairo.Rectangle(0, 0, TileWidth, TileHeight)); } cr.Restore(); }