message: Use local variables for capacity bar size and position
diff: @@ -18,9 +18,6 @@ using namespace NAS2D;
  namespace {
  - static int CAPACITY_BAR_WIDTH = 0;
  - static int CAPACITY_BAR_POSITION_X = 0;
  -
  static float CAPACITY_PERCENT = 0.0f;
  static std::string WH_COUNT;
  @@ -275,9 +272,6 @@ void WarehouseReport::_resized(Control*)
  lstProducts.position({Utility<Renderer>::get().center().x + 10, lstProducts.positionY()});
  btnTakeMeThere.position({Utility<Renderer>::get().size().x - 150, positionY() + 35});
  -
  - CAPACITY_BAR_WIDTH = mRect.width / 2 - 30 - fontMediumBold.width("Capacity Used");
  - CAPACITY_BAR_POSITION_X = 20 + fontMediumBold.width("Capacity Used");
  }
  @@ -368,6 +362,9 @@ void WarehouseReport::drawLeftPanel(Renderer& renderer)
  renderer.drawText(fontMedium, WH_COUNT, NAS2D::Point{mRect.width / 2 - 10 - COUNT_WIDTH, positionY() + 35}, textColor);
  renderer.drawText(fontMedium, WH_CAPACITY, NAS2D::Point{mRect.width / 2 - 10 - CAPACITY_WIDTH, positionY() + 57}, textColor);
  + const auto CAPACITY_BAR_WIDTH = mRect.width / 2 - 30 - fontMediumBold.width("Capacity Used");
  + const auto CAPACITY_BAR_POSITION_X = 20 + fontMediumBold.width("Capacity Used");
  +
  drawBasicProgressBar(CAPACITY_BAR_POSITION_X, positionY() + 84, CAPACITY_BAR_WIDTH, 20, CAPACITY_PERCENT);
  }
  