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

Method TileEditor

outdated/win/Qt3/tileedit.cpp:351–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351TileEditor::TileEditor(QWidget* parent) :
352 QVBox(parent),
353 editor(this),
354 palette(this)
355{
356 connect( &palette, SIGNAL(pick(QRgb)),
357 &editor, SLOT(setColor(QRgb)) );
358 connect( &editor, SIGNAL(pick(QRgb)),
359 &palette, SLOT(setColor(QRgb)) );
360 connect( &editor, SIGNAL(edited(const QImage&)),
361 this, SIGNAL(edited(const QImage&)) );
362}
363
364void TileEditor::edit(const QImage& i)
365{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected