Repository navigation
App icon option as a tray icon - #125
Merged
Merged
Conversation
TrayIconConverter.Pick decides between the device icon and the volume glyphs; Convert loads what it names. The thresholds and the order no device > mute > volume are now covered by tests.
ThemeNameConverter becomes EnumNameConverter: the key prefix comes in as the ConverterParameter, so other settings boxes can use it.
The General page's tray switch becomes a drop-down: the volume level, the default device's icon or the Volumey icon, which never changes. The choice is stored as WindowSettings.TrayIcon; files with the old DisplayDeviceIconAtTray switch, and 1.5.4 settings, open with the device icon when it was on. The app icon is read once at the tray size for the primary screen's scale. Closes #109.
Icon(stream, 28, 28) returns the nearest frame of icon.ico (24 px at 175 %), which Windows stretched to 28 px and blurred. ReadIconOfSize uses the file's own frame when it has that size and otherwise scales the 256 px frame down with high quality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #109