AppleWin
AppleWin copied to clipboard
Improve backend of Configuration GUI
Now that all cards (in slots 0 to 7) exist as C++ classes, then the backend of the GUI's config can be improved:
From https://github.com/AppleWin/AppleWin/pull/978#issuecomment-907599687, I said:
I know that a better way of supporting this GUI configuration is to create copies of the card objects for all the slots, then let the user configure them (eg. insert images into drives attached to a slot-5 card). Then if the user cancels, just delete the objects. And if the user OK's the config, then use these new objects and delete the old ones.
See also https://github.com/AppleWin/AppleWin/issues/1056#issuecomment-1065867673 where I talk about how the Configuration GUI for Disk & Harddisk being different to the other cards.
@tomcw Couple of semi-related questions:
- How hard is it to extend the GUI config dialog box?
- What are we using to compile the
.rc
file? Did MS drop support for the resource compiler?
I've been meaning to add a Debug
tab to the Configuration panel but wasn't sure what the state of the .rc
stuff was.
Hi Michael,
- Currently the GUI config is "at capacity" - see #853, where this issue tracks requests to improve this GUI.
- Yes - still using the resource compiler.
If you add a new Debug
tab, then depending on the width (literally the pixel width of the word "Debug"!) it could result in 2 rows of tabs, which I really don't like (IMO it's confusing when the row of tabs switches from top to bottom or vice versa).
Probably the workaround is to make all the property sheet pages slightly wider so this doesn't happen. Try it and see.
Thanks for the info. Been busy with debugger + disk QoL. Hoping to get a chance to play around with test driving a wider GUI dialog next month.