
guiTypes = {
	# 1 width
	containerWindowType = {
		name = "bpv_width_1"
		size = { width = 285 height = 178 }
		background = {
			name = "districts_window_background"
			spriteType = "GFX_dark_area"
			alwaysTransparent = yes
		}
		buttonType = {
			name = "selection_highlight"
			spriteType = "GFX_glow_tile_orange_no_padding"
			size = { x = 285 y = 178 }
			alwaysTransparent = yes
		}
		buttonType = {
			name = "district_button"
			size = { x = 285 y = 178 }
			quadTextureSprite = "GFX_district_hover"
			clicksound = "menu_slide_open"
		}
		instantTextBoxType = {
			size = { width = 190 height = 31 }
			name = "name"
			font = "font_text_14"
			text = "District Name"
			position = { x = 10 y = 5 }
			maxWidth = 190
			maxHeight = 34
			fixedSize = yes
			truncate = yes
			format = left
			vertical_alignment = top
			alwaysTransparent = yes
		}
		instantTextBoxType = {
			name = "triggered_name"
			font = "font_text_14"
			text = "Triggered Name"
			position = { x = 10 y = 20 } ##BPV##
			maxWidth = 190
			maxHeight = 20
			fixedSize = yes
			truncate = yes
			format = left
			vertical_alignment = top
			text_color_code = "Y"
			alwaysTransparent = yes
		}
		buttonType = {
			name = "build_district"
			position = { x = -93 y = -6 }
			orientation = upper_right
			spriteType = "GFX_button_animated_75_24"
			buttonFont = "font_text_14"
			buttonText = "BUILD_DISTRICT_BUTTON"
			borderSize = { x = 8 y = 0 }
			oversound = "mouse_over"
			pdx_tooltip = "BUILD_DISTRICT"
			clicksound = "ui_queuing_district"
		}
		buttonType = {
			name = "district_icon_frame"
			quadTextureSprite = "GFX_tiles_frame_extra_light"
			position = { x = 8 y = 48 }
			size = { x = 79 y = 79 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "district_icon"
			spriteType = "GFX_district_unknown"
			position = { x = 9 y = 49 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "district_overlay_icon"
			spriteType = "GFX_resource_energy_large"
			position = { x = 60 y = 48 }
			alwaysTransparent = yes
		}
		iconType = {
			name = "progressbar"
			spriteType = "GFX_district_progressbar"
			position = { x = 8 y = 117 }
			alwaysTransparent = yes
		}
		instantTextBoxType = {
			name = "not_surveyed"
			font = "font_header_20"
			text = "UNKNOWN_SHORT"
			position = { x = 8 y = 135 }
			maxWidth = 79
			maxHeight = 20
			fixedSize = yes
			format = center
			vertical_alignment = center
			alwaysTransparent = yes
		}
		containerWindowType = {
			name = "district_box"
			size = { width = -5 height = 28 }
			position = { x = 60 y = 150 } ##BPV##
			gridBoxType = {
				name = "district_box_grid"
				position = { x = 0 y = 0 }
				size = { width = -10 height = 45 }
				format = "UPPER_LEFT"
				slotSize = { width = 24 height = 10 }
				max_slots_horizontal = 6 ##BPV##
				max_slots_vertical = 2 ##BPV##
				add_horizontal = no ##BPV##
			}
		}
		# Passed 30 Cubes, Number Box is shown. Replaces the bottom 6 cubes.
		containerWindowType = {
			name = "planet_district_cap_container"
			size = { width = 46 height = 28 }
			position = { x = 8 y = 140 } ##BPV##
			iconType = {
				name = "cap_background"
				spriteType = "GFX_district_any_big"
				position = { x = 0 y = 0 }
				scale = 1
			}
			instantTextBoxType = {
				name = "num_districts_text"
				font = "font_text_14"
				text = "10"
				position = { x = 0 y = 0 }
				maxWidth = 46
				maxHeight = 28
				fixedSize = yes
				format = center
				vertical_alignment = center
			}
		}
		# Zone
		containerWindowType = { ##BPV##
			name = "zone"
			size = { width = @[secondary_district_slot_h * 52 + 12] height = @[secondary_district_slot_v * 52  + 2] }
			position = { x = 83 y = 32 }
			clipping = yes
			verticalScrollbar = "right_vertical_slider_thick"
			smooth_scrolling = yes
			background = {
				name = "zone"
				spriteType = "GFX_invisible"
			}
			buttonType = {
				name = "zone_info_button"
				position = { x = 0 y = 0 }
				size = { x = @[secondary_district_slot_h * 52 + 8] y = @[secondary_district_slot_v * 52 + 8] }
				quadTextureSprite = "GFX_district_hover"
				clicksound = "menu_slide_open"
			}
			buttonType = {
				name = "selection_highlight"
				spriteType = "GFX_glow_tile_orange_no_padding"
				position = { x = 0 y = 0 }
				size = { x = @[secondary_district_slot_h * 52 + 8] y = @[secondary_district_slot_v * 52 * ROW_FACTOR + 8] }
				alwaysTransparent = yes
			}
			# Buildings
			gridBoxType = {
				name = "buildings_box"
				position = { x = 5 y = 5 }
				size = { width = -5 height = -5 }
				format = "UPPER_LEFT"
				slotSize = { width = 49 height = 49 }
				add_horizontal = yes
				max_slots_horizontal = @secondary_district_slot_h
				# max_slots_vertical = 999

			}
			containerWindowType = {
				name = "zoneBG"
				size = { width = @[secondary_district_slot_h * 52 + 12] height = @[secondary_district_slot_v * 52 *4  + 2] }
				background = {
					name = "zoneBGBG"
					spriteType = "GFX_invisible"
					alwaysTransparent = yes
				}
			}
			iconType = {
				name = "progressbar"
				spriteType = "GFX_zone_smaller_progressbar"
				position = { x = 25 y = 92 }
				alwaysTransparent = yes
			}
			buttonType = {
				name = "zone_button"
				position = { x = 20 y = 36 }
				spriteType = "GFX_new_zone"
				clicksound = "menu_slide_open"
			}
			instantTextBoxType = {
				name = "zone_available"
				font = "font_text_14"
				text = "zone_available"
				position = { x = 40 y = 16 }
				maxWidth = 125
				maxHeight = 77
				fixedSize = yes
				format = center
				vertical_alignment = center
				alwaysTransparent = yes
			}
			instantTextBoxType = {
				name = "zone_unavailable"
				font = "font_text_14"
				text = ""
				position = { x = 20 y = 0 }
				maxWidth = 165
				maxHeight = 77
				fixedSize = yes
				format = center
				vertical_alignment = center
				alwaysTransparent = yes
			}
		}
	}
}