Add an aspect ratio correction flag to VqaPlayerWidget.

This commit is contained in:
Paul Chote
2014-10-08 13:20:42 +13:00
parent df5b7d4497
commit 6b1505b71d
4 changed files with 47 additions and 17 deletions

View File

@@ -79,6 +79,7 @@ namespace OpenRA
void Render(Action a);
}
public enum TextureScaleFilter { Nearest, Linear }
public interface ITexture
{
void SetData(Bitmap bitmap);
@@ -86,6 +87,7 @@ namespace OpenRA
void SetData(byte[] colors, int width, int height);
byte[] GetData();
Size Size { get; }
TextureScaleFilter ScaleFilter { get; set; }
}
public interface IFrameBuffer