protected override void DrawContents(Gdk.Drawable d, Cairo.Context g, int width, int height, bool screenChanged) { BattleEvent e = BattleState.ActiveAbility; if (e != null) { g.SelectFontFace(Text.MONOSPACE_FONT, FontSlant.Normal, FontWeight.Bold); g.SetFontSize(24); string msg = e.GetStatus(); TextExtents te = g.TextExtents(msg); Text.ShadowedText(g, msg, X + (W / 2) - (te.Width / 2), Y + 32); } }