295 { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |
303 { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |
296 { WWT_CAPTION, RESIZE_NONE, 13, 11, 247, 0, 13, STR_2005, STR_018C_WINDOW_TITLE_DRAG_THIS}, |
304 { WWT_CAPTION, RESIZE_NONE, 13, 11, 247, 0, 13, STR_2005, STR_018C_WINDOW_TITLE_DRAG_THIS}, |
297 { WWT_STICKYBOX, RESIZE_NONE, 13, 248, 259, 0, 13, 0x0, STR_STICKY_BUTTON}, |
305 { WWT_STICKYBOX, RESIZE_NONE, 13, 248, 259, 0, 13, 0x0, STR_STICKY_BUTTON}, |
298 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 14, 105, 0x0, STR_NULL}, |
306 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 14, 105, 0x0, STR_NULL}, |
299 { WWT_INSET, RESIZE_NONE, 13, 2, 257, 16, 103, 0x0, STR_NULL}, |
307 { WWT_INSET, RESIZE_NONE, 13, 2, 257, 16, 103, 0x0, STR_NULL}, |
300 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 106, 137, 0x0, STR_NULL}, |
308 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 106, 147, 0x0, STR_NULL}, |
301 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 0, 85, 138, 149, STR_00E4_LOCATION, STR_200B_CENTER_THE_MAIN_VIEW_ON}, |
309 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 0, 85, 148, 159, STR_00E4_LOCATION, STR_200B_CENTER_THE_MAIN_VIEW_ON}, |
302 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 86, 171, 138, 149, STR_2020_LOCAL_AUTHORITY, STR_2021_SHOW_INFORMATION_ON_LOCAL}, |
310 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 86, 171, 148, 159, STR_2020_LOCAL_AUTHORITY, STR_2021_SHOW_INFORMATION_ON_LOCAL}, |
303 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 172, 259, 138, 149, STR_0130_RENAME, STR_200C_CHANGE_TOWN_NAME}, |
311 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 172, 259, 148, 159, STR_0130_RENAME, STR_200C_CHANGE_TOWN_NAME}, |
304 { WIDGETS_END}, |
312 { WIDGETS_END}, |
305 }; |
313 }; |
306 |
314 |
307 static const WindowDesc _town_view_desc = { |
315 static const WindowDesc _town_view_desc = { |
308 WDP_AUTO, WDP_AUTO, 260, 150, |
316 WDP_AUTO, WDP_AUTO, 260, 160, |
309 WC_TOWN_VIEW, WC_NONE, |
317 WC_TOWN_VIEW, WC_NONE, |
310 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
318 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
311 _town_view_widgets, |
319 _town_view_widgets, |
312 TownViewWndProc |
320 TownViewWndProc |
313 }; |
321 }; |
316 { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |
324 { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |
317 { WWT_CAPTION, RESIZE_NONE, 13, 11, 172, 0, 13, STR_2005, STR_018C_WINDOW_TITLE_DRAG_THIS}, |
325 { WWT_CAPTION, RESIZE_NONE, 13, 11, 172, 0, 13, STR_2005, STR_018C_WINDOW_TITLE_DRAG_THIS}, |
318 { WWT_STICKYBOX, RESIZE_NONE, 13, 248, 259, 0, 13, 0x0, STR_STICKY_BUTTON}, |
326 { WWT_STICKYBOX, RESIZE_NONE, 13, 248, 259, 0, 13, 0x0, STR_STICKY_BUTTON}, |
319 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 14, 105, 0x0, STR_NULL}, |
327 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 14, 105, 0x0, STR_NULL}, |
320 { WWT_INSET, RESIZE_NONE, 13, 2, 257, 16, 103, 0x0, STR_NULL}, |
328 { WWT_INSET, RESIZE_NONE, 13, 2, 257, 16, 103, 0x0, STR_NULL}, |
321 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 106, 137, 0x0, STR_NULL}, |
329 { WWT_PANEL, RESIZE_NONE, 13, 0, 259, 106, 147, 0x0, STR_NULL}, |
322 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 0, 85, 138, 149, STR_00E4_LOCATION, STR_200B_CENTER_THE_MAIN_VIEW_ON}, |
330 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 0, 85, 148, 159, STR_00E4_LOCATION, STR_200B_CENTER_THE_MAIN_VIEW_ON}, |
323 { WWT_EMPTY, RESIZE_NONE, 0, 0, 0, 0, 0, 0x0, STR_NULL}, |
331 { WWT_EMPTY, RESIZE_NONE, 0, 0, 0, 0, 0, 0x0, STR_NULL}, |
324 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 173, 247, 0, 13, STR_0130_RENAME, STR_200C_CHANGE_TOWN_NAME}, |
332 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 173, 247, 0, 13, STR_0130_RENAME, STR_200C_CHANGE_TOWN_NAME}, |
325 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 86, 171, 138, 149, STR_023C_EXPAND, STR_023B_INCREASE_SIZE_OF_TOWN}, |
333 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 86, 171, 148, 159, STR_023C_EXPAND, STR_023B_INCREASE_SIZE_OF_TOWN}, |
326 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 172, 259, 138, 149, STR_0290_DELETE, STR_0291_DELETE_THIS_TOWN_COMPLETELY}, |
334 { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 172, 259, 148, 159, STR_0290_DELETE, STR_0291_DELETE_THIS_TOWN_COMPLETELY}, |
327 { WIDGETS_END}, |
335 { WIDGETS_END}, |
328 }; |
336 }; |
329 |
337 |
330 static const WindowDesc _town_view_scen_desc = { |
338 static const WindowDesc _town_view_scen_desc = { |
331 WDP_AUTO, WDP_AUTO, 260, 150, |
339 WDP_AUTO, WDP_AUTO, 260, 160, |
332 WC_TOWN_VIEW, WC_NONE, |
340 WC_TOWN_VIEW, WC_NONE, |
333 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
341 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
334 _town_view_scen_widgets, |
342 _town_view_scen_widgets, |
335 TownViewWndProc |
343 TownViewWndProc |
336 }; |
344 }; |