| mp_traversals
    Terrible Traversals | 
A color picker class using grid color picking algorithm. More...
#include <GridColorPicker.h>
| Public Member Functions | |
| GridColorPicker (HSLAPixel gridColor, HSLAPixel backgroundColor, unsigned spacing) | |
| GridColorPicker constructor.  More... | |
| HSLAPixel | getColor (unsigned x, unsigned y) | 
| Picks the color for pixel (x, y).  More... | |
|  Public Member Functions inherited from ColorPicker | |
| virtual | ~ColorPicker () | 
| Class destructor.  More... | |
| Private Attributes | |
| HSLAPixel | gridColor | 
| HSLAPixel | backgroundColor | 
| unsigned | spacing | 
A color picker class using grid color picking algorithm.
| GridColorPicker::GridColorPicker | ( | HSLAPixel | gridColor, | 
| HSLAPixel | backgroundColor, | ||
| unsigned | spacing | ||
| ) | 
GridColorPicker constructor.
| 
 | virtual | 
Picks the color for pixel (x, y).
Color will be choosed as grid
| x | The x coordinate to pick a color for. | 
| y | The y coordinate to pick a color for. | 
Implements ColorPicker.
| 
 | private | 
| 
 | private | 
| 
 | private |