Commit 22794860 authored by Leo Gordon's avatar Leo Gordon
Browse files

SemaphoreBoxes colours moved under "Colours" section

parent 0550d9ea
......@@ -18,6 +18,10 @@
"control" : "red",
"semablock" : "red",
},
"SemaphoreBoxes" : {
"ColourScheme" : "blues9", # Examples: "blues9" or "bugn7" or "orrd8" or "purples7" or "ylorbr9"
"ColourOffset" : 1,
},
},
"Fonts" : {
"node" : "Helvetica",
......@@ -25,11 +29,7 @@
},
"DisplayDetails" : 1,
"DisplayStretched" : 0,
"SemaphoreBoxes" : {
"Display" : 1,
"ColourScheme" : "blues9", # Examples: "blues9" or "bugn7" or "orrd8" or "purples7" or "ylorbr9"
"ColourOffset" : 1,
},
"DisplaySemaphoreBoxes" : 1,
}
}
......@@ -28,7 +28,7 @@ $Author: lg4 $
=head1 VERSION
$Revision: 1.14 $
$Revision: 1.15 $
=cut
......@@ -194,10 +194,10 @@ sub build {
}
}
if($self->config->get('Graph', 'SemaphoreBoxes', 'Display') ) {
if($self->config->get('Graph', 'DisplaySemaphoreBoxes') ) {
$self->graph->subgraphs( \%subgraph_allocation );
$self->graph->colour_scheme( $self->config->get('Graph', 'SemaphoreBoxes', 'ColourScheme') );
$self->graph->colour_offset( $self->config->get('Graph', 'SemaphoreBoxes', 'ColourOffset') );
$self->graph->colour_scheme( $self->config->get('Graph', 'Colours', 'SemaphoreBoxes', 'ColourScheme') );
$self->graph->colour_offset( $self->config->get('Graph', 'Colours', 'SemaphoreBoxes', 'ColourOffset') );
}
return $self->graph();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment