Skip to content
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

fix #544 Inactive buttons [Linux] #588

Merged
merged 1 commit into from
Feb 12, 2019
Merged

fix #544 Inactive buttons [Linux] #588

merged 1 commit into from
Feb 12, 2019

Conversation

rghvdberg
Copy link
Contributor

No description provided.

@baconpaul
Copy link
Collaborator

Cool. But this or has more commits than just the fix. Maybe best to close it and submit from a branch with just your change and not the other 4 commits?

@esaruoho
Copy link
Collaborator

@baconpaul loox like he fixed it.

@baconpaul
Copy link
Collaborator

Yup! Don’t suppose you can test on Mac that mute and solo still work with this branch could you? If not I can do so later tonight or tomorrow

@baconpaul
Copy link
Collaborator

Confirms this works on mac.

@baconpaul
Copy link
Collaborator

And confirms it works on windows. Will update commit comment and merge.

@baconpaul baconpaul merged commit 40e18d1 into surge-synthesizer:master Feb 12, 2019
baconpaul pushed a commit to baconpaul/surge that referenced this pull request Jul 10, 2019
…#588)

Solo, Mute, and other CSwitchControl buttons were inactive on Linux because CScalableBitmap returns size 0,0 for all bitmaps on Linux. This diff doesn't solve that problem but accommodates it by making CSwitchControl work like the other switch controls; using a constructor specified size (in this case the size of the view rectangle) to determine how much to translate the switching image. This makes solo, mute, and others work on Linux.

Closes surge-synthesizer#544 by making those buttons inactive.

Former-commit-id: a2a858c26719c32a55904661ee9b7ca12eefdc66 [formerly 40e18d1]
Former-commit-id: 40ef5151482e5843a0503ce5d2fb87d0a0d19eaa
Former-commit-id: df1b0bc9beb018eb159d39e1000c085d465c2378
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.

3 participants