message: Vectorize drawBox calls
diff: @@ -433,8 +433,8 @@ void Slider::draw()
  _y = static_cast<int>(mSlideBar.y() - 2.0f) - _h;
  }
  - r.drawBox(static_cast<float>(_x), static_cast<float>(_y), static_cast<float>(_w), static_cast<float>(_h), 255, 255, 255, 180);
  - r.drawBoxFilled(static_cast<float>(_x) + 1.0f, static_cast<float>(_y) + 1.0f, static_cast<float>(_w) - 2.0f, static_cast<float>(_h) - 2.0f, 0, 0, 0, 180);
  + r.drawBox(NAS2D::Rectangle{_x, _y, _w, _h}, NAS2D::Color{255, 255, 255, 180});
  + r.drawBoxFilled(NAS2D::Rectangle{_x + 1, _y + 1, _w - 2, _h - 2}, NAS2D::Color{0, 0, 0, 180});
  r.drawText(*SLD_FONT, textHover, static_cast<float>(_x) + 2.0f, static_cast<float>(_y) + 2.0f, 220, 220, 220);
  }
  }
  