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

Method setCurrent

outdated/win/Qt3/tileedit.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void TilePickerTab::setCurrent(const QImage& i)
113{
114 int ox = last_pick%TILES_ACROSS * TILE_X;
115 int oy = last_pick/TILES_ACROSS * TILE_Y;
116 bitBlt( &image, ox, oy, &i );
117 bitBlt( &pixmap, ox, oy, &i );
118 repaint( ox, oy, TILE_X, TILE_Y, FALSE );
119}
120
121QSize TilePickerTab::sizeHint() const
122{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected