-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove Track Fade #8
Comments
Appears to be hard-coded here: This could be tackled a similar way as the grid enhancement, by adding custom qproperty tags. Example commit here: LMMS@aaa798c |
@tresf I'm looking into this. |
Yes, that's the automation pattern. I've played with different gradients and placement of the center point. Unfortunately the different tracks doesn't use precisely the same method/style, so it's not going to be a totally straight forward mission. Here are the rest: |
@zonkmachine Great findings. My opinion from a code simplicity and re-usability perspective is that we treat all track gradients the same and adjust the underlying colors to work with it. This may be pragmatic and not practical, but I think it would help us settle on a consistent track style moving forward and also help decisions down the road with the color-assignable tracks. |
I agree. So, a worst case scenario that the gradient part should be able to handle would be from https:/LMMS/lmms/blob/master/src/gui/AutomationPatternView.cpp#L319:L323 QLinearGradient lin2grad( 0, min, 0, max );
lin2grad.setColorAt( 1, fgColor().darker( m_gradientTop ) );
lin2grad.setColorAt( gradientCenter(), fgColor() );
lin2grad.setColorAt( 0, fgColor().darker( m_gradientBottom ) ); I've never made a theme so I don't know what an artist, @RebeccaDeField with friends, expects to find. ;-) |
From a design standpoint, I was planning on something with a similar aesthetic to the picture bellow (the picture is of tracks designed by someone else that I liked), but that would just be for the Overall, I agree with @tresf that the most important part of this is that we simplify the code and give people better control over how it looks. |
@RebeccaDeField Su-per-cool... |
Sure, I didn't tackle the issue because I thought you were working on it. I already had a concept for this in my head, so it shouldn't be too hard. |
👍 |
So the way I wanna solve this is to add a boolean |
@Umcaruje Would it be possible for me to make the tracks slightly transparent with that setup or just flat/solid? |
@RebeccaDeField When I set a transparent color for a TCO, I get a glitched pattern, because there isn't anything drawn under the TCO: Anyways, I'll look into that somewhat later, and focus on getting rid of the gradients first. The transparency issue is a bit out of scope of this issue, so if you could open up an issue on the main tracker about it (since it affects all themes), that would be great. |
@Umcaruje That makes sense. Thank you for trying for me. In that case, I will just come up with another idea for the look of the tracks based on the capabilities now currently available. I did not have my mind set on anything, so this won't be much of an issue. |
Ok, well anything is possible. I'm done with the gradients, and now am adding custom properties for the color of muted tracks as well as the selected ones. If you need anything else themeable, let me know. |
@Umcaruje I understand anything is possible, but I don't want to take coders away from important tasks just because the first design idea that came to mind was difficult when I could easily come up with something else. I hope that makes sense. Thanks, will do :) |
@RebeccaDeField @tresf @zonkmachine PR LMMS#2574 should fix this. Comments and review welcome. |
When you add colors to tracks in the code, it automatically adds a black fade overlay on the bottom. @HDDigitizerMusic and I would like to remove it, but we do not see where/how.
I've @mentioned the coders that have volunteered to assist with coding for this theme. I know you're all busy, but if you have time, I would really appreciate some assistance on this.
@Umcaruje
@tresf
@diizy
@Sti2nd
The text was updated successfully, but these errors were encountered: