From: Brett L. <wak...@ea...> - 2005-11-09 23:26:22
|
No worries... I'm working on fixing the painting issues for the tile overlays. Don't let that stop you from committing changes as well. I was actually looking at the sizing problem yesterday as well, and thinking that we needed to set the size based on number of hexes. I'm glad you've done that. :-) The only real change I've made so far is disabling overlay painting until I get the painting code to adjust for the changes to the clipping area that happens while scrolling. Also, I reworked the upgrades panel a bit. Now it repaints when you click the outer window frame rather than needing you to resize the window. I suspect there's some place we're not calling repaint() that we need to. ---Brett. -----Original Message----- From: Erik Vos <eri...@hc...> Sent: Nov 9, 2005 5:26 PM To: rai...@li... Subject: [Rails-devel] Map size & position I have committed some minor changes that better size and position the map. The size is now dependent on the number of hexes, and the map is positioned closer to the left and upper edges. To achieve this, some setting have been moved from HexMap to its subclasses. I see that Brett is also working on the map, so I'll leave it now. Erik. |