| 177 | } |
| 178 | |
| 179 | void TrivialTileEditor::setColor( QRgb rgb ) |
| 180 | { |
| 181 | pen = rgb; |
| 182 | for (penpixel = 0; |
| 183 | penpixel<img.numColors()-1 && (img.color(penpixel)&0xffffff)!=(pen.rgb()&0xffffff); |
| 184 | penpixel++) |
| 185 | continue; |
| 186 | } |
| 187 | |
| 188 | void TrivialTileEditor::setImage( const QImage& i ) |
| 189 | { |
no outgoing calls
no test coverage detected