/// <summary> /// Renders the focus overlay. /// </summary> /// <param name="skin">Skin to use.</param> protected override void RenderFocus(Skin.Base skin) { if (InputHandler.KeyboardFocus != this) return; if (!IsTabable) return; skin.DrawKeyboardHighlight(this, RenderBounds, 0); }
/// <summary> /// Renders the focus overlay. /// </summary> /// <param name="skin">Skin to use.</param> protected virtual void RenderFocus(Skin.Base skin) { if (InputHandler.Instance.KeyboardFocus != this) return; if (!IsTabable) return; skin.DrawKeyboardHighlight(this, RenderBounds, 3); }