Hi Adrian,
ok then the change is as simple as
Status Color::read_hsva_vals(const char *str)
{
if (strlen(str) == 0)
to
if (strlen(str) < 2)
This has the side effect of making h/H available for a color operation
if ever needed.
On 11/7/2023 1:11 PM, Adrian Rossiter wrote:
> The use of "x" and "X" for invisible might be undocumented. It could
> be mentioned where "invisible" is mentioned in 'off_util -H col_names'
...
resources. Other names: 'invisible' corresponds to transparent black,
and is used to indicate that display elements should be excluded from
display; 'none' is a colour with no colour data, setting an element to
this colour removes any colour data for the element
would be
and is used to indicate that display elements should be excluded from
display (a colour value of 'x' can also be used for invisible); 'none' is a
colour with no colour data, setting an element to...
The col_val help for the x format is
(e.g. orange is 'xFF8000')
could also be
(e.g. orange is 'xFF8000', 'x' alone, is transparent black and is a
shortcut for 'invisible')
Roger