Simple world tooltip.

This commit is contained in:
Paul Chote
2011-07-05 19:41:34 +12:00
parent 88d68f7790
commit 06990e356f
7 changed files with 178 additions and 25 deletions

View File

@@ -9,6 +9,7 @@
#endregion
using System;
using System.Drawing;
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Graphics;
@@ -36,7 +37,7 @@ namespace OpenRA.Mods.RA.Widgets
}
public override string GetCursor(int2 pos) { return null; }
public override Rectangle GetEventBounds() { return Rectangle.Empty; }
public override bool HandleKeyPress(KeyInput e)
{
if (World == null) return false;