Public Member Functions | |
| def | __init__ (self) | 
| Initializer.  More... | |
| def | add (self, name, color) | 
| Add.  More... | |
| def | lookup (self, name) | 
| Lookup name.  More... | |
Static Public Attributes | |
| list | default_colors = [Color(1, 0, 0), Color(0, 1, 0), Color(0, 0, 1), Color(1, 1, 0), Color(1, 0, 1), Color(0, 1, 1)] | 
| default colors XXX add more  More... | |
Private Attributes | |
| __colors | |
| colors  More... | |
| def grid.Colors.__init__ | ( | self | ) | 
| def grid.Colors.add | ( | self, | |
| name, | |||
| color | |||
| ) | 
Add.
| self | this object | 
| name | name of the color | 
| color | color value | 
Definition at line 481 of file grid.py.
References grid.Colors.__colors.
Referenced by grid.Colors.lookup().
 Here is the caller graph for this function:| def grid.Colors.lookup | ( | self, | |
| name | |||
| ) | 
Lookup name.
| self | this object | 
| name | name | 
Definition at line 489 of file grid.py.
References grid.Colors.__colors, grid.Colors.add(), and grid.Colors.default_colors.
 Here is the call graph for this function:
      
  | 
  private | 
colors
Definition at line 480 of file grid.py.
Referenced by grid.Colors.add(), grid.TopLegendRenderer.draw(), and grid.Colors.lookup().
      
  | 
  static | 
default colors XXX add more
Definition at line 474 of file grid.py.
Referenced by grid.Colors.lookup().