023408d33e
to change the enable/disable status of other parameters worked fine for the text mode interface but poorly for the wxWindows gui. So I implemented it a different way. Now in every boolean parameter, there is a field called dependent_list which is a list of parameters which are enabled/disabled by that boolean. Having this list available allows both the text mode CI and the wxWindows CI to know which fields should be enabled and disabled as a result of a boolean changing value. - I've made this change in many of the parameters, in the init code of main.cc. When I add a dependent_list, I no longer need the "handler" so I remove the call to set_handler and the cases in the handler functions. - in the process, I also made the serial and parallel port init code into loops, instead of hardcoded initialization. Now if you change the number of serial/parallel ports in bochs.h the correct number of ports will be initialized and the menus will grow/shrink accordingly. - fixed up a few names to improve the look of ParamDialog generated dialogs. |
||
---|---|---|
bochs | ||
bochs-performance | ||
CVSROOT | ||
sfsite |