message: Use packed parameter types in Slider::draw
diff: @@ -357,23 +357,14 @@ void Slider::draw()
  if (mDisplayPosition && mMouseHoverSlide)
  {
  std::string textHover = std::to_string(static_cast<int>(thumbPosition())) + " / " + std::to_string(static_cast<int>(mLength));
  - int x = 0, y = 0;
  const auto boxSize = SLD_FONT->size(textHover) + NAS2D::Vector{4, 4};
  + const auto boxPosition = (mSliderType == SliderType::Vertical) ?
  + NAS2D::Point{mSlideBar.x + mSlideBar.width + 2, mMousePosition.y - boxSize.y} :
  + NAS2D::Point{mMousePosition.x + 2, mSlideBar.y - 2 - boxSize.y};
  - if (mSliderType == SliderType::Vertical)
  - {
  - x = mSlideBar.x + mSlideBar.width + 2;
  - y = mMousePosition.y - boxSize.y;
  - }
  - else
  - {
  - x = mMousePosition.x + 2;
  - y = mSlideBar.y - 2 - boxSize.y;
  - }
  -
  - renderer.drawBox(NAS2D::Rectangle{x, y, boxSize.x, boxSize.y}, NAS2D::Color{255, 255, 255, 180});
  - renderer.drawBoxFilled(NAS2D::Rectangle{x + 1, y + 1, boxSize.x - 2, boxSize.y - 2}, NAS2D::Color{0, 0, 0, 180});
  - renderer.drawText(*SLD_FONT, textHover, NAS2D::Point{x + 2, y + 2}, NAS2D::Color{220, 220, 220});
  + renderer.drawBox(NAS2D::Rectangle{boxPosition.x, boxPosition.y, boxSize.x, boxSize.y}, NAS2D::Color{255, 255, 255, 180});
  + renderer.drawBoxFilled(NAS2D::Rectangle{boxPosition.x + 1, boxPosition.y + 1, boxSize.x - 2, boxSize.y - 2}, NAS2D::Color{0, 0, 0, 180});
  + renderer.drawText(*SLD_FONT, textHover, NAS2D::Point{boxPosition.x + 2, boxPosition.y + 2}, NAS2D::Color{220, 220, 220});
  }
  }
  