git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1213 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-13 17:35:07 +00:00
parent f7bff84ce2
commit c77a2588bd
21 changed files with 184 additions and 206 deletions

View File

@@ -15,13 +15,12 @@ namespace OpenRa.Game
readonly GraphicsDevice device;
Texture texture;
public Size Size { get { return bitmap.Size; } }
public Sheet(Size size, GraphicsDevice d)
{
bitmap = new Bitmap(size.Width, size.Height);
device = d;
//using (Graphics g = Graphics.FromImage(bitmap))
// g.FillRectangle(Brushes.Fuchsia, 0, 0, size.Width, size.Height);
}
public Texture Texture