| 118 | : Type( getRGBIndex(red, green, blue) ) |
| 119 | {} |
| 120 | int Color::red() const |
| 121 | { |
| 122 | return this->isValid() ? defaultPalette[this->getID()].rgbRed : 0; |
| 123 | } |
| 124 | int Color::green() const |
| 125 | { |
| 126 | return this->isValid() ? defaultPalette[this->getID()].rgbGreen : 0; |
no test coverage detected