From: brett l. <wak...@gm...> - 2006-05-30 22:56:48
|
On 5/30/06, Erik Vos <eri...@hc...> wrote: > OK, it now works, although the visual appearance has not really > improved, to put it mildly. But I guess that is a matter of fine-tuning. > I have not looked at the code yet. Yeah, I know. Part of this is an issue with the BufferedImageTranscoder. Put simply, we're parsing the SVG, then rasterizing it, then displaying the rasterized version. This is definitely not the ideal way of handling image rendering. However, first I want to take a look at implementing a Scale class that allows us to dynamically set the tile scale. I think that will make dealing with the rendering issues a lot easier. It will also allow me to move all of the explicit number values we have floating around into a single place. > > In the meantime I have been working on the Stock Round view/model interface, > with the goal to let the GUI only enable allowed actions. > So if you have only $80, buy-buttons for companies with a higher price > will not be highlighted, etc. Similar when you own 60% or are at a > certificate limit. > > Next thing will be to apply the same procedure to selling (not done yet). > The check for bankruptcy will then become very simple: you must raise > cash but the list of shares allowed to be sold is empty. > Makes sense. I think this is a great way to achieve this. ---Brett |