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

Method sizeForWidth

outdated/win/Qt3/tileedit.cpp:287–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287QSize TrivialTileEditor::sizeForWidth(int w) const
288{
289 if ( w < 0 )
290 return QSize(TILE_X*32,TILE_Y*32);
291 else
292 return QSize(w,w*TILE_Y/TILE_X);
293}
294
295
296TilePalette::TilePalette( QWidget* parent ) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected