Overhaul Tools > Options
panels
#653
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I first released PhotoDemon, I never imagined it'd someday have as complicated a
Tools > Options
panel as it does now!(I don't generally like shoving program options into a complex dialog like this - I'd rather just make a firm design choice and stick to it - but the longer I work on PD, the more I get requests for small features that really help one person but totally mess up someone else's workflow. Separate options do work well for implementing features like this, and it feels good to help where I can.)
Each
Tools > Options
sub-panel now exists as a separate window. (Before, they all existed together as a single, extremely complex window!) At run-time, I now "stitch" these separate panels onto the parent Options window if/when the user interacts with them.As noted in the commits comprising this pull request, this greatly decreases load-time of this dialog (particularly on older PCs), greatly simplifies the underlying code (it's finally organized!), and perhaps most importantly, it makes it much easier for me to expand available options in the future. And in fact - I've got some options I'm ready to implement right away, thanks to this change!