From: Lars W. <lwi...@ea...> - 2003-02-20 10:23:09
|
It works well on my system. It's a good thing that the performance is better now; the more systems it runs on the better. I have added an extra method to the MapListener so that the map can also be refreshed entirely. This is necessary when scrolling or when repositioning the map if the user clicks on it. I hope these complete refreshes aren't too slow on most systems because I see no other way to do this. As long as we don't call the refresh method too much things will be okay, I think. Lars On Wednesday 19 February 2003 15:12, David King wrote: > I have just committed a number of changes in screen repainting > to improve response time. The screen repainter in GUI now > respects the clipping rectangle passed by Swing, and the > various callers of refresh() now provide what I hope are > good rectangles to be refreshed. It seems to work, but there > are undoubtedly some loose ends; at least the mechanism is > there now. It is very much faster on my low-end test system > (which should be good enough for strategy games). But there > may very well be problems where something in the game state > changes and I didn't add a proper refresh to get it onto the > screen, so watch for them. > > David > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Freecol-developers mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freecol-developers |