AppleWin icon indicating copy to clipboard operation
AppleWin copied to clipboard

Improve backend of Configuration GUI

Open tomcw opened this issue 2 years ago • 3 comments

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 avatar Feb 26 '23 22:02 tomcw

@tomcw Couple of semi-related questions:

  1. How hard is it to extend the GUI config dialog box?
  2. 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.

Michaelangel007 avatar Mar 19 '23 17:03 Michaelangel007

Hi Michael,

  1. Currently the GUI config is "at capacity" - see #853, where this issue tracks requests to improve this GUI.
  2. 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.

tomcw avatar Mar 26 '23 17:03 tomcw

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.

Michaelangel007 avatar Apr 27 '23 06:04 Michaelangel007