public override void Draw() { _rectangleElement.NormalizedScreenPosition = NormalizedScreenPosition; _rectangleElement.AbsoluteSize = GetMenuItemAbsoluteSize(); _rectangleElement.Color = IsFocused ? _focusedBackgroundColor : _unfocusedBackgroundColor; _rectangleElement.Draw(); _textElement.NormalizedScreenPosition = NormalizedScreenPosition; _textElement.Color = IsFocused ? _focusedTextColor : _unfocusedTextColor; _textElement.Message = _getDisplayText(); _textElement.Draw(); }
public override void Draw(Graphics graphics) { IsInvalidated = false; _rectangle.Draw(graphics); }
internal void DrawSelectionRectangle(Graphics g) { _selectionArea.Draw(g); }