Commit Graph

13 Commits (8db2e41049109ad0a7af957fb5b82642612740f2)

Author SHA1 Message Date
Christopher Snowhill 8db2e41049 [Event Handling] Add context to all observers
Add context field to all observers that support it, in case it's useful.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-15 16:47:43 -07:00
Christopher Snowhill 60a7052868 Fix volume control tooltip appearance on the left
Increasing the threshold for the width of the tooltip to the right of
its intended location to a more generous value, makes it appear on the
left side sooner rather than later, but should fix positioning issues.

Fixes #226

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-09 22:51:39 -08:00
Christopher Snowhill 85c7073649 Reformat my own source code with clang-format
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-06 21:49:27 -08:00
Christopher Snowhill 54ccad7c5d Volume Slider: Fix appearance of tooltip
Tooltip should appear on the left side when the volume bar is close to
the right side of the screen.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-01-30 14:05:12 -08:00
Christopher Snowhill 808710b881 Volume Control: Fix linear 100% range control
Range is now linear on 100%, like it should be.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-01-30 00:18:07 -08:00
Dzmitry Neviadomski 050a3d3112 Scale VolumeSlider linearly if volume is limited.
Fixes #198
2022-01-29 05:57:19 +03:00
Christopher Snowhill 7a0c1d230e Volume control: Make preamp optional, defaulting to a limit of 100% volume 2022-01-17 22:41:26 -08:00
Christopher Snowhill 297b6247cc Show volume slider tooltip on the left side of the slider if it would otherwise run off the screen 2022-01-16 00:15:56 -08:00
Dzmitry Neviadomski 9b9e2d2c42 Show Volume slider in NSPopover instead of CGWindow.
Also perform Haptic feedback when volume slider is at 100%.
2021-01-08 00:35:52 +03:00
Dzmitry Neviadomski 76bdebd058 Update volume slider to use NSPopover. 2021-01-07 06:48:40 +03:00
Chris Moeller 0e3644177e Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
vspader bafb6485f4 Tooltip for volume slider now includes a %. 2009-02-28 10:18:32 -08:00
vspader a2f360177e Organized things a little better. 2009-02-22 14:57:02 -08:00