Jouni
|
52992c588a
|
Replace math_util min and max with std::min and std::max (#2579)
|
2022-01-23 21:14:55 +01:00 |
patrick96
|
93ab639c8a
|
fix: unbounded_percentage always rounded down
For example if lower / upper = 0.019 (1.9%), it would return 1% instead
of 2%
Fixes #2399
|
2021-03-03 22:48:17 +01:00 |
joaquin garmendia
|
bb15e33a2a
|
fix(alsa): Remove upper bound to get_volume (#2184)
Fixes #2173
* feat(alsa): Remove upper bound to get_volume
* Add tests. Trim unnecessary function.
|
2020-09-20 14:26:17 +02:00 |
Jérôme BOULMIER
|
31a25af3d3
|
fix(tray): fix offset for negative percentage (#1669)
tray-offset-{x,y} were clamped between [0, max_value] rather than [-max_value, max_value]. Therefore negative percentage were ignored.
Fixes #1666
|
2019-03-22 09:55:08 +01:00 |
Michael Carlberg
|
5e1886a312
|
wip(refactor): Cairo drawing
|
2017-01-24 07:11:14 +01:00 |
Michael Carlberg
|
c2ac7fde67
|
refactor: Filesize strings
|
2017-01-12 20:28:44 +01:00 |
Michael Carlberg
|
5c9bfc147c
|
fix(xbacklight): Lower inc/dec value to 5 and fix flooring
|
2017-01-11 04:40:10 +01:00 |
Michael Carlberg
|
c5bc338ae3
|
feat(math_util): Templated min/max
|
2016-11-26 13:09:29 +01:00 |
Michael Carlberg
|
8db3e79919
|
refactor(clang-format): Apply fixes
|
2016-11-25 14:17:41 +01:00 |
Michael Carlberg
|
d6a5212ef3
|
fix(volume): Handle alsa playback range
Ref #174
|
2016-11-20 23:49:08 +01:00 |
Michael Carlberg
|
fd57ab0f3d
|
fix: project rename
|
2016-11-19 06:26:07 +01:00 |
Michael Carlberg
|
bc67e64e79
|
feat: Add math_util::percentage_to_value
|
2016-10-25 07:05:01 +02:00 |
Michael Carlberg
|
56b4657c3f
|
feat: New module xbacklight
Better implementation for showing backlight information.
This one is using the XRandR extension instead of
reading from the raw file handlers.
|
2016-10-19 14:46:44 +02:00 |
Michael Carlberg
|
d359ab6057
|
refactor: Application rewrite
|
2016-10-10 14:52:57 +02:00 |
Michael Carlberg
|
39d3f61497
|
refactor(core): Clean-up
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
|
2016-06-02 01:32:06 +02:00 |
Michael Carlberg
|
eeefb3c610
|
init(git): Base commit
|
2016-05-19 20:23:45 +02:00 |