-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Toolbars #1217
base: develop
Are you sure you want to change the base?
Dynamic Toolbars #1217
Conversation
Layout Button functionality Another useful ability is to show a small menu on click. For example with an "Subtitle" button that would show track selection and style options. Basically a specific subset of the main large menu. We define the available buttons and the actions of each button. No customization for that. Again, just keep it simple. Let not waste a lot of effort on functionality that only a small group will use. SVG for volume slider? Next steps
|
Well, it is designed to allow it, but that doesn't mean we have to build an interface for it. The checkboxes would surely be easier to design the GUI for. But we do have the shader gui which is a model for ordering / selecting options, so it's a possibility. If you want to customize your toolbar, chances are you care about the order, I guess, but being able to pick which ones are there is definitely 75% of it. Maybe groups as well--forward and back could be married, as it would be quite odd to separate them.
Assigning right click to a button is fine, in fact some defaults might go a long way there (fast forward, skip forward, for example). It would be a nice feature, but I wouldn't expect most users to discover it on their own. So probably nothing important should be defaulted to the right click, but it could be a place to "hide" a custom action the user wants to do without having to design new buttons.
Agreed, I plan to implement it.
Agreed.
I see what you are saying--it takes one position in the GUI but two in the SVG? Yes, I'm sure that would work fine for visual. But I assume we keep the actual volume slider, as a single button might not be wide enough to granularly select volume? |
Pairs of buttons could be a single checkbox in the new options GUI. For current buttons that would be "skip next/previous" and "speed increase/decrease". They will be placed next to each other then as well.
MPC-BE shows both actions in the tooltip as
To clarify I actually mean that the slider is too buttons wide. So if buttons are 24x24, then volume is 48x24 pixels, both in GUI and in SVG. It could even be wider if you think that is needed. That is just a matter of defining the content of the SVG. So if volume is at 75%, we use the left 36 pixels of the "full" slider image, and the right 12 pixels of the "empty" slider images. That combined gives the 48 pixel wide image, which is visually filled at 75%. |
I was working on this and it seemed pretty broken. It turns out when I restored patch194, I didn't restore from the most recent commit, but rather the original commit...that final commit appears to be gone from my local branch, but I merged in from the old pr which still remembers the commit I had proposed. Seems ok again. |
No description provided.