void Label::OnPaint(RenderTarget& target, RenderQueue& queue) const { Widget::OnPaint(target, queue); queue.SetColor(GetTextColor()); target.Draw(mCaption); }
void Widget::OnPaint(RenderTarget& target, RenderQueue& queue) const { queue.SetColor(GetColor()); target.Draw(Shape::Rectangle(0, 0, mSize.x, mSize.y, GetColor(), 1.f, GetBorderColor())); }