- (Hopefully) improved readability of colored entities inside the schedulables tree and resource list

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1091 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-09-11 00:40:34 +00:00
parent 753f5db241
commit afd292142e
4 changed files with 15 additions and 15 deletions

View file

@ -119,15 +119,15 @@ GlobalPreferences::get_schedulable_color(Schedulable::state st) const
switch(st)
{
case Schedulable::state_running:
return "green";
return "ForestGreen";
case Schedulable::state_ready:
return "yellow";
return "GoldenRod";
case Schedulable::state_blocked:
return "red";
case Schedulable::state_terminated:
return "DimGray";
return "DarkSlateGray";
case Schedulable::state_future:
return "LightGrey";
return "Gray";
default:
return "black";
}
@ -139,15 +139,15 @@ GlobalPreferences::get_request_color(Request::state st) const
switch(st)
{
case Request::state_allocated:
return "green";
return "ForestGreen";
case Request::state_allocable:
return "yellow";
return "GoldenRod";
case Request::state_unallocable:
return "red";
case Request::state_exhausted:
return "DimGray";
return "DarkSlateGray";
case Request::state_future:
return "LightGrey";
return "Gray";
default:
return "black";
}