equal
deleted
inserted
replaced
252 SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
252 SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
253 } else { |
253 } else { |
254 SetTileSelectSize(1, 1); |
254 SetTileSelectSize(1, 1); |
255 } |
255 } |
256 |
256 |
257 DrawStationCoverageAreaText(4, 50, SCT_ALL, rad); |
257 int text_end = DrawStationCoverageAreaText(4, 50, SCT_ALL, rad) + 4; |
|
258 if (text_end > w->widget[2].bottom) { |
|
259 SetWindowDirty(w); |
|
260 ResizeWindowForWidget(w, 2, 0, text_end - w->widget[2].bottom); |
|
261 SetWindowDirty(w); |
|
262 } |
|
263 |
258 break; |
264 break; |
259 } |
265 } |
260 |
266 |
261 case WE_CLICK: |
267 case WE_CLICK: |
262 switch (e->we.click.widget) { |
268 switch (e->we.click.widget) { |