| 285 | } |
| 286 | |
| 287 | QSize 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 | |
| 296 | TilePalette::TilePalette( QWidget* parent ) : |
nothing calls this directly
no outgoing calls
no test coverage detected