/** Draws hilight ring over slot. */ protected virtual void drawRing() { if (RingColor != Color.clear && RingSprite != null) { Color oldColor = SmartUI.Color; SmartUI.Color = RingColor; SmartUI.DrawSliced(new Rect(X, Y, Width, Height), RingSprite, new RectOffset(4, 4, 4, 4)); SmartUI.Color = oldColor; } }