-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
…ool panel UX Fixes #333 This (giant) pull request brings the biggest overhaul to PhotoDemon's main toolbox since on-canvas tools were first added to the project many years ago. Tool panels are now aligned at the top of PhotoDemon's canvas, like all other mainstream photo editors. The tool panel box itself has been shrunk vertically vs the old design, freeing up additional space for the image canvas itself. Each tool panel exposes the most commonly used settings directly on the panel. Advanced and/or esoteric settings are now accessibly via "flyout panels", which expand beneath the tool panel with a single click on the associated title-bar (or when a control in that group receives focus). Here's an animation of the paintbrush tool's flyout panels, for example: ![capture-new-toolpanels](https://user-images.githubusercontent.com/1930029/144650858-520ab58a-08f3-42ab-bbdd-deb7f0c81a2d.png) Flyout panels collapse automatically when you navigate away from them. If you want to maintain persistent access to a panel, a "pin" button is provided on each - just click it to force that flyout panel to stay open, even when you interact with the canvas and/or menu items. (Flyout panels will still close when you switch to a new tool or open a new panel, by necessity.) All tool panels are now 100% navigable by keyboard. Tab order has been manually verified for each panel, and *all* settings on *all* panels are now reachable without the mouse. All tool panels now (finally!) support a minimum screen resolution of 1024 pixels. This limitation may make them feel "sparse" at larger resolutions. I have some ideas for resolving this (possibly by automatically moving esoteric settings out of flyout panels and into the toolbar itself if the screen is large enough - but this remains TODO pending further study). As an added bonus, this branch includes a large set of in-progress work on PhotoDemon's selection tools, preparing them for multiple selections (so you can merge subsequent selections together). This work is *not* complete, but I needed to merge it because selection tools have received a number of UI changes to prepare for this feature. A bunch of other selection improvements are part of this branch, and once this tool panel work is complete, I can continue hacking away at multiple selection support. (I mention this because a new "selection combine mode" UI is now available, but disabled. Don't be alarmed by that!) I have tested the new tool panel design on XP, Win 10, and Win 11. Win 7 testing will be performed soon. If you encounter weirdness on Vista or Win 8, please let me know as I no longer keep those VMs around for testing.
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.