Skip to content

Make the oscilloscope colors available as properties - #4512

Merged
michaelgregorius merged 1 commit into
LMMS:stable-1.2from
michaelgregorius:4459-stable-1.2
Aug 16, 2018
Merged

Make the oscilloscope colors available as properties#4512
michaelgregorius merged 1 commit into
LMMS:stable-1.2from
michaelgregorius:4459-stable-1.2

Conversation

@michaelgregorius

Copy link
Copy Markdown
Contributor

Fix #4459 by making the oscilloscope colors available as properties so that they can be changed via style sheets. Adjust the existing styles to use the colors that have been hard coded previously.

Cleanup the paintEvent method of VisualizationWidget, e.g. by extracting a method to determine the color to use for the line and by pulling variables to the place where they are used. Fix some Clang warnings.

Make the oscilloscope colors available as properties so that they can be
changed via style sheets. Adjust the existing styles to use the colors
that have been hard coded previously.

Cleanup the paintEvent method of VisualizationWidget, e.g. by extracting
a method to determine the color to use for the line and by pulling
variables to the place where they are used. Fix some Clang warnings.
@michaelgregorius

michaelgregorius commented Jul 31, 2018

Copy link
Copy Markdown
Contributor Author

I have split this into #4512 which is intended to go into stable-1.2 and #4513 which is intended to go into master. Closing this one now.

Edit: Comment was intended to go to #4509.

@michaelgregorius

Copy link
Copy Markdown
Contributor Author

Oops, closed the wrong PR. 😄

@michaelgregorius
michaelgregorius merged commit 160488c into LMMS:stable-1.2 Aug 16, 2018
@michaelgregorius
michaelgregorius deleted the 4459-stable-1.2 branch August 16, 2018 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant