UIHelper.drawDarkBox(g, x, y += 3, 24, 20);
img = ImageManager.getGfx(r.getGfxBase() + "-small");
img.draw(x + 3, y, r.getColor());
String value = resourceMap.get(r).toString();
Label lbl = this.labels.get(r);
final int zoneHeight = 15;
UIHelper.drawDarkBox(g, x + 24, y, lbl.getWidth() + 4, zoneHeight);
lbl.setPosition(x + 24, y);
lbl.setText(value);
lbl.setVisible(true);
y += 20;
}
}