From: Brett L. <wak...@gm...> - 2007-08-02 18:48:04
|
On Thu, 2007-08-02 at 20:36 +0200, Erik Vos wrote: > > This is exactly the kind of "bad pop-up" that I was talking about a > > couple of weeks ago. > > > > This needs to somehow be a part of the Options UI. Deciding whether to > > have an optional 6 train is not a question that's important enough to > > merit interrupting the start of a game. > > > > There are a couple of ways we can go about this: > > > > 1. A new section (JPanel) is added to the existing Options dialog, and > > shows any available variants, and is not visible if no variants are > > found. > > This is about what happens, except that (1) the original contents of that > window have been removed > (the alternative being to disable everything before adding the new stuff) > and (2) it is moved 200x200 pixels to make it somewhat better accessible. > And, yes, it is briefly out of sight. > It should be easy to tweak it your way - go ahead, I would say. > You're misunderstanding my meaning. This isn't at all what happens. By new JPanel, I'm meaning a new JPanel within Options(), this does not mean a modal popup dialog. > > 2. A new button on the Options dialog that then pops up the variant > > selector dialog. > > That button already exists: it is the New Game button. > Wrong answer. New Game needs to start a new game *immediately*. If we're going the button route, then it needs to be a *different* button that shows the variant options. This button needs to only toggle the variant values, and not be in between the user and starting a new game. This requires two separate UI paths: First: Options() presented -> User hits New Game button -> New game is started, code just assumes no optional 6 train (i.e. the default value is used). Second: Options() presented -> User clicks Variants button -> Variants dialog is presented -> User selects variant options and hits an OK button -> User is returned to Options() -> User clicks New Game button -> New Game starts. ---Brett. Darth Vader: Commander, tear this ship apart until you've found those plans. And bring me the passengers, I want them alive! |