| 110 | } |
| 111 | |
| 112 | void 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 | |
| 121 | QSize TilePickerTab::sizeHint() const |
| 122 | { |
nothing calls this directly
no outgoing calls
no test coverage detected