1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/include/drawtypes
TheDoctor314 55eb19fdc7
feat(ramp): Allow specifying ramp weights (#2505)
* feat(ramp) Implement ramp weights

*Add test for ramp weights

*[drawtypes/ramp] Implement ramp weights

Simply clone `label_t` weight no. of times in the icon list
This helps us not to change any of the calculations.

*Fix silly bug

Forgot to add a hyphen for the `weight` parameter.

Co-authored-by: Patrick Ziegler <p.ziegler96@gmail.com>

*doc: add #1750 to CHANGELOG

* Fix compile error in ramp test

Use std::make_shared.
2021-09-22 21:46:20 +02:00
..
animation.hpp fix(battery): animation framerate 2020-01-23 23:45:56 +01:00
iconset.hpp refactor: Remove all mentions of icon_t 2019-04-08 09:01:48 +02:00
label.hpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
progressbar.hpp Load rgba from config instead of strings. 2020-11-27 22:08:03 +01:00
ramp.hpp feat(ramp): Allow specifying ramp weights (#2505) 2021-09-22 21:46:20 +02:00