mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
b238ec3403
The intent is for every color to be stored in a rgba instance The rgba class now stores the color in a 32 bit integer to save space This also removes the unused class rgb and moves everything else into a cpp file. Many functions also had weird template parameters. For example alpha_channel<unsigned short int> would give a 2 byte number with the alpha channel byte in both bytes. color_util::hex would return a hex string with alpha channel if unsigned short int was given and without if unsigned char was given. Even more curiously those parameters were passed to *_channel and the result nevertheless truncated to 8bits. |
||
---|---|---|
.. | ||
actions.hpp | ||
bspwm.hpp | ||
cache.hpp | ||
color.hpp | ||
command.hpp | ||
concurrency.hpp | ||
env.hpp | ||
factory.hpp | ||
file.hpp | ||
functional.hpp | ||
http.hpp | ||
i3.hpp | ||
inotify.hpp | ||
io.hpp | ||
math.hpp | ||
memory.hpp | ||
mixins.hpp | ||
process.hpp | ||
scope.hpp | ||
socket.hpp | ||
string.hpp | ||
throttle.hpp | ||
time.hpp |