Mouse interaction

This commit is contained in:
Paul Chote
2010-03-14 17:49:59 +13:00
parent 287d5a0399
commit ca2630ffab
6 changed files with 57 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ namespace OpenRA.Widgets
{
string collection = "dialog";
Rectangle r = new Rectangle(X,Y,Width,Height);
Rectangle r = Bounds;
renderer.Device.EnableScissor(r.Left, r.Top, r.Width, r.Height);
string[] images = { "border-t", "border-b", "border-l", "border-r", "corner-tl", "corner-tr", "corner-bl", "corner-br", "background" };