Maxime Coste
|
b5693c6253
|
Refactor option_from_string to return directly the option value
|
2018-05-27 13:00:50 +10:00 |
|
Net
|
74202fab45
|
Rename br* colors to bright-*
|
2017-10-24 23:08:22 -04:00 |
|
Net
|
2b44e93f79
|
Support bright named colors
|
2017-10-22 14:30:49 -04:00 |
|
Maxime Coste
|
d486ea84e5
|
Constexprify various hash functions
|
2017-10-20 12:21:22 +08:00 |
|
Maxime Coste
|
63b1d0c353
|
Rename some string conversion function to the common 'to_string'
|
2017-09-12 11:31:57 +08:00 |
|
Maxime Coste
|
bbefde9379
|
Move Colors enum class as NamedColor enum inside Color struct
|
2015-04-25 10:47:39 +01:00 |
|
Maxime Coste
|
74ecf4976e
|
Fix Color constructor not constexpr
|
2015-03-21 16:32:07 +00:00 |
|
Maxime Coste
|
bbfcfe4242
|
constexprify Color (in)equality operator
|
2015-03-20 19:03:41 +00:00 |
|
Maxime Coste
|
8714c41403
|
Do not hash rgb values for non rgb colors
|
2015-02-10 22:53:37 +00:00 |
|
Maxime Coste
|
ebecd60eb8
|
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
|
2014-12-16 18:57:19 +00:00 |
|
Maxime Coste
|
3a817e2f96
|
Cleanup includes
|
2014-11-12 21:27:07 +00:00 |
|
Maxime Coste
|
d78a586126
|
Do not allow using color names as face names
|
2014-08-19 23:16:21 +01:00 |
|
Maxime Coste
|
a32b49acd1
|
Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
|
2014-07-11 00:27:43 +01:00 |
|
Maxime Coste
|
d5453152b3
|
Color,ColorPair: always pass by copy
|
2013-07-26 00:54:58 +02:00 |
|
Maxime Coste
|
56ab33c9d6
|
support specifying colors with RGB components
|
2013-05-13 14:25:05 +02:00 |
|
Maxime Coste
|
a80cee0d2c
|
Add support for tuple Options, implement LineAndFlag using that
|
2013-03-29 19:35:48 +01:00 |
|
Maxime Coste
|
d02133d382
|
extract parse_color to color.cc as str_to_color, and add color_to_str
|
2013-03-25 23:35:59 +01:00 |
|
Maxime Coste
|
f677d4ba32
|
Use a ColorPair in DisplayAtoms instead of separate fg/bg colors
|
2013-03-06 20:28:02 +01:00 |
|
Maxime Coste
|
227c66cf61
|
use Colors and Attributes are char
|
2012-10-23 22:53:56 +02:00 |
|
Maxime Coste
|
5cf947f845
|
Add a ColorRegistry class responsible of color parsing and supporting aliases
colalias command permits to define names for color pairs
|
2012-09-17 19:01:13 +02:00 |
|