Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ setImage
Method
setImage
outdated/win/Qt3/tileedit.cpp:188–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
186
}
187
188
void TrivialTileEditor::setImage( const QImage& i )
189
{
190
img = i;
191
setColor(pen.rgb()); // update penpixel
192
repaint(FALSE);
193
}
194
195
void TrivialTileEditor::paintEvent( QPaintEvent* e )
196
{
Callers
1
edit
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected