File diff r5069:e99ecf2f674b → r5070:6da414a78d0e
town_gui.c
Show inline comments
 
@@ -207,13 +207,13 @@ static void TownAuthorityWndProc(Window 
 
		SetWindowDirty(w);
 
		break;
 
	}
 
}
 

	
 
static const WindowDesc _town_authority_desc = {
 
	-1, -1, 317, 222,
 
	WDP_AUTO, WDP_AUTO, 317, 222,
 
	WC_TOWN_AUTHORITY,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
 
	_town_authority_widgets,
 
	TownAuthorityWndProc
 
};
 

	
 
@@ -301,13 +301,13 @@ static const Widget _town_view_widgets[]
 
{ WWT_PUSHTXTBTN,   RESIZE_NONE,    13,    86,   171,   138,   149, STR_2020_LOCAL_AUTHORITY, STR_2021_SHOW_INFORMATION_ON_LOCAL},
 
{ WWT_PUSHTXTBTN,   RESIZE_NONE,    13,   172,   259,   138,   149, STR_0130_RENAME,          STR_200C_CHANGE_TOWN_NAME},
 
{   WIDGETS_END},
 
};
 

	
 
static const WindowDesc _town_view_desc = {
 
	-1, -1, 260, 150,
 
	WDP_AUTO, WDP_AUTO, 260, 150,
 
	WC_TOWN_VIEW,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
 
	_town_view_widgets,
 
	TownViewWndProc
 
};
 

	
 
@@ -324,13 +324,13 @@ static const Widget _town_view_scen_widg
 
{ WWT_PUSHTXTBTN,   RESIZE_NONE,    13,    86,   171,   138,   149, STR_023C_EXPAND,   STR_023B_INCREASE_SIZE_OF_TOWN},
 
{ WWT_PUSHTXTBTN,   RESIZE_NONE,    13,   172,   259,   138,   149, STR_0290_DELETE,   STR_0291_DELETE_THIS_TOWN_COMPLETELY},
 
{   WIDGETS_END},
 
};
 

	
 
static const WindowDesc _town_view_scen_desc = {
 
	-1, -1, 260, 150,
 
	WDP_AUTO, WDP_AUTO, 260, 150,
 
	WC_TOWN_VIEW,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
 
	_town_view_scen_widgets,
 
	TownViewWndProc
 
};
 

	
 
@@ -502,13 +502,13 @@ static void TownDirectoryWndProc(Window 
 
		w->vscroll.cap += e->we.sizing.diff.y / 10;
 
		break;
 
	}
 
}
 

	
 
static const WindowDesc _town_directory_desc = {
 
	-1, -1, 208, 202,
 
	WDP_AUTO, WDP_AUTO, 208, 202,
 
	WC_TOWN_DIRECTORY,0,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 
	_town_directory_widgets,
 
	TownDirectoryWndProc
 
};