polybar-dwm/tests/unit_tests
patrick96 b238ec3403 Move most color_util functions into rgba class
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.
2020-11-27 22:08:03 +01:00
..
components fix(config_parser): Gracefully handle BOM (#2166) 2020-08-15 12:02:23 +02:00
drawtypes test(iconset): Add failing fuzzy match test 2020-03-19 20:52:41 +01:00
utils Move most color_util functions into rgba class 2020-11-27 22:08:03 +01:00