Berthold Stoeger 6d72871942 Cleanups to core/color.[c|hpp]
A number of small cleanups to the color-table:

1) Make the profile_color map of static linkage - it is not
used outside of this file.

2) Remove the third color, which originally was planned for
printing. It was not accessed anywhere.

3) Replace QVector<QColor> by std::array<QColor, 2>. Using a
reference-counted, copy-on-write, dynamic container for static
data seems like overkill. std::array<QColor, 2> has exactly the
same run-time impact as QColor[2], but allows for assignment.

4) Use brace-initialization and remove the unneeded COLOR macro.

5) Remove the fill_profile_color function. Simply use static
initialization.

6) Move #includes from .h to .cpp file.

7) Remove text_render_options(_t), which were not used anywhere.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-07-18 02:09:15 +03:00
..
2018-07-18 02:09:15 +03:00
2018-07-18 02:09:15 +03:00
2017-11-25 20:13:01 +01:00
2018-07-17 15:20:52 -07:00
2018-07-17 15:20:52 -07:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2018-05-27 23:18:01 +03:00
2018-07-14 08:32:30 +02:00
2018-07-04 02:27:36 +08:00
2017-05-26 15:44:36 -07:00
2018-04-28 20:11:22 +03:00
2018-07-12 08:08:00 -07:00
2017-04-29 13:32:55 -07:00
2018-07-04 02:27:36 +08:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00