From: Erik V. <eri...@xs...> - 2010-01-20 20:02:36
|
I have added a new nonmodal MessageDialog, which is now used to display server-generated messages after a player action. Not yet in other cases. A few remarks on the nonmodal dialogs: 1. All windows are now accessible when such a dialog is displayed. I have not taken much effort yet to make sure that all actions in those windows are disabled. But be warned that doing anything else but answering the dialog may wreak havoc to your game. To remind you, the dialog will always stay on top anyway. 2. The layout is simpler, no icon is yet included, as it is in the previously (and still to some extent) used standard dialogs. Any beautification can come later. 3. The nonmodal dialogs will appear on a different, fixed position (400,400). Not sure if that is to everyone's taste, but these dialogs are no longer children of another window and can therefore not be positioned relative to any other window. Erik. |