MCPcopy Create free account
hub / github.com/NetHack/NetHack / setColor

Method setColor

outdated/win/Qt3/tileedit.cpp:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void 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
188void TrivialTileEditor::setImage( const QImage& i )
189{

Callers 2

NetHackQtMapWindow2Method · 0.80
NetHackQtMapWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected