message: Convert `isPointInRect` to `contains` in MapViewStateDraw
diff: @@ -192,11 +192,11 @@ void MapViewState::drawResourceInfo()
  r.drawSubImage(mUiIcons, (x + offsetX) * 10, y, 176 + (std::clamp(mCurrentMorale, 1, 999) / 200) * constants::RESOURCE_ICON_SIZE, 0, constants::RESOURCE_ICON_SIZE, constants::RESOURCE_ICON_SIZE);
  r.drawText(*MAIN_FONT, string_format("%i", mPopulation.size()), (x + offsetX) * 10 + margin, textY, 255, 255, 255);
  - bool isMouseInPopPanel = isPointInRect(MOUSE_COORDS.x(), MOUSE_COORDS.y(), 675, 1, 75, 19);
  + bool isMouseInPopPanel = NAS2D::Rectangle{675, 1, 75, 19}.contains(MOUSE_COORDS);
  bool shouldShowPopPanel = mPinPopulationPanel || isMouseInPopPanel;
  if(shouldShowPopPanel) { mPopulationPanel.update(); }
  - bool isMouseInResourcePanel = isPointInRect(MOUSE_COORDS.x(), MOUSE_COORDS.y(), 0, 1, static_cast<int>(mResourceBreakdownPanel.width()), 19);
  + bool isMouseInResourcePanel = NAS2D::Rectangle{0, 1, static_cast<int>(mResourceBreakdownPanel.width()), 19}.contains(MOUSE_COORDS);
  bool shouldShowResourcePanel = mPinResourcePanel || isMouseInResourcePanel;
  if (shouldShowResourcePanel) { mResourceBreakdownPanel.update(); }
  @@ -204,7 +204,7 @@ void MapViewState::drawResourceInfo()
  r.drawSubImage(mUiIcons, r.width() - 80, y, 128, 0, constants::RESOURCE_ICON_SIZE, constants::RESOURCE_ICON_SIZE);
  r.drawText(*MAIN_FONT, string_format("%i", mTurnCount), r.width() - 80 + margin, textY, 255, 255, 255);
  - bool isMouseInMenu = isPointInRect(MOUSE_COORDS, MENU_ICON);
  + bool isMouseInMenu = MENU_ICON.contains(MOUSE_COORDS);
  int menuGearHighlightOffsetX = isMouseInMenu ? 144 : 128;
  r.drawSubImage(mUiIcons, MENU_ICON.x() + constants::MARGIN_TIGHT, MENU_ICON.y() + constants::MARGIN_TIGHT, menuGearHighlightOffsetX, 32, constants::RESOURCE_ICON_SIZE, constants::RESOURCE_ICON_SIZE);
  @@ -246,7 +246,7 @@ void MapViewState::drawRobotInfo()
  }
  bool MapViewState::drawNavIcon(Renderer& r, const NAS2D::Rectangle_2d& currentIconBounds, const NAS2D::Rectangle_2d& subImageBounds, const NAS2D::Color& iconColor, const NAS2D::Color& iconHighlightColor) {
  - bool isMouseInIcon = isPointInRect(MOUSE_COORDS, currentIconBounds);
  + bool isMouseInIcon = currentIconBounds.contains(MOUSE_COORDS);
  NAS2D::Color color = isMouseInIcon ? iconHighlightColor : iconColor;
  r.drawSubImage(mUiIcons, currentIconBounds.x(), currentIconBounds.y(), subImageBounds.x(), subImageBounds.y(), subImageBounds.width(), subImageBounds.height(), color.red(), color.green(), color.blue(), color.alpha());
  return isMouseInIcon;
  