302 GetString(buffer, STR_HEIGHTMAP_SIZE); |
302 GetString(buffer, STR_HEIGHTMAP_SIZE); |
303 DrawStringRightAligned(326, 91, STR_HEIGHTMAP_SIZE, 0x10); |
303 DrawStringRightAligned(326, 91, STR_HEIGHTMAP_SIZE, 0x10); |
304 |
304 |
305 DrawString( 12, 91, STR_HEIGHTMAP_NAME, 0x10); |
305 DrawString( 12, 91, STR_HEIGHTMAP_NAME, 0x10); |
306 SetDParam(0, _heightmap_str); |
306 SetDParam(0, _heightmap_str); |
307 DrawStringTruncated(114, 91, STR_ORANGE, 0x10, 326 - 114 - GetStringWidth(buffer) - 5); |
307 DrawStringTruncated(114, 91, STR_ORANGE, 0x10, 326 - 114 - GetStringBoundingBox(buffer).width - 5); |
308 |
308 |
309 /* TODO -- Remove next 2 lines if 32 widget limit is removed */ |
309 /* TODO -- Remove next 2 lines if 32 widget limit is removed */ |
310 DrawFrameRect(114, 196, 219, 207, 12, 0); |
310 DrawFrameRect(114, 196, 219, 207, 12, 0); |
311 DrawString(222, 197, STR_0225, 0x10); |
311 DrawString(222, 197, STR_0225, 0x10); |
312 DrawString( 12, 197, STR_TREE_PLACER, 0); |
312 DrawString( 12, 197, STR_TREE_PLACER, 0); |