guiTypes = {
	containerWindowType = {
		name = "diplomacy_voting_view"
		position = { x = -200 y = -250 }
		orientation = center
		size = { width = 430 height = 540 }
		moveable = yes

		backGround = {
			name = "background"	
			quadTextureSprite = "GFX_tile_outliner_bg"
		}
		
		buttonType = {
			name = "close"
			quadTextureSprite = "GFX_close"
			position = { x = -40 y = 10 }
			orientation = upper_right
			shortcut = "ESCAPE"
			clicksound = "back_click"
		}
		
		iconType = {
			name = "hex_bg"
			spriteType = "GFX_hex_bg"
			position = { x = -5 y = -10 }
			alwaysTransparent = yes
		}
		
		iconType = {
			name = "empire_header_line"
			quadTextureSprite = "GFX_line"
			position = { x = 12 y = 29 }
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "title"
			font = "malgun_goth_24"
			text = "VOTE"
			position = { x = 20 y = 10 }
			maxWidth = 400
			maxHeight = 40
			fixedSize = yes
			format = left
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "timeout"
			font = "cg_16b"
			text = "TIMEOUT"
			position = { x = -220 y = 60 }
			maxWidth = 200
			maxHeight = 40
			fixedSize = yes
			format = right
			orientation = upper_right
			alwaysTransparent = no
		}

		containerWindowType = {
			name = "vote_text_bg"
			size = { width = 400 height = 95}
			position = { x = 15 y = 85 }

			background = {
				name = "text_bg"
				spriteType = "GFX_dark_area_cut"
				alwaysTransparent = no
			}
		}

		instantTextBoxType = {
			name = "vote_type_text"
			font = "cg_16b"
			text = "VOTING_STYLE"
			format = left
			maxWidth = 200
			maxHeight = 30
			position = { x = 18 y = 60 }
			text_color_code = "H"
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "description"
			font = "cg_16b"
			text = "VOTE"
			position = { x = 20 y = 100 }
			maxWidth = 380
			maxHeight = 120
			fixedSize = yes
			format = centre
			alwaysTransparent = yes
			text_color_code = "E"
		}
		
		containerWindowType = {
			name = "allies_window"
			position = { x = 15 y = 190 }
			size = { width = 400 height = 290 }
			
			background = {
				name = "allies_background"
				spriteType = "GFX_tiles_dark_area_cut_8"
			}
				
			smoothListBoxType = {
				name = "allies"
				size = { x = 380 y = 270 }
				position = { x = 10 y = 10 }
				scrollbartype = "standardlistbox_slider"
			}
		}
		
		buttonType = {
			name = "vote_no"
			orientation = "LOWER_LEfT"
			position = { x = 0 y = -58 }
			quadTextureSprite = "GFX_standard_button_142_34_button"
			font = "cg_16b"
			text = "VOTE_NO"
			format = center
			clicksound = "button_federation_centralization_vote"
		}
			
		buttonType = {
			name = "vote_yes"
			orientation = "LOWER_RIGHT"
			position = { x = -166 y = -58 }
			quadTextureSprite = "GFX_standard_button_142_34_button"
			font = "cg_16b"
			text = "VOTE_YES"
			format = center
			clicksound = "button_federation_centralization_vote"
		}
	}
	
	containerWindowType = {
		name = "diplomacy_voting_view_entry"
		size = { width = 380 height = 50 }
		
		backGround = {
			name = "background"	
			quadTextureSprite = "GFX_advisor_frame"
		}
		
		iconType = {
			name = "icon"
			spriteType = "GFX_empire_flag_32"
			position = { x = 10 y = 10 }
		}
		
		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			text = "NAME"
			position = { x = 50 y = 15 }
			maxWidth = 380
			maxHeight = 40
			fixedSize = yes
			format = left
			alwaysTransparent = yes
		}
		
		iconType = {
			name = "status"
			position = { x = -45 y = 5 }
			orientation = UPPER_RIGHT
			spriteType = "GFX_alliance_vote_status"
		}
	}
	
		
	# For war votes
	
	containerWindowType = {
		name = "potential_ally_entry"
		position = { x = 0 y = 0 }
		size = { width = 30 height = 30 }

		buttonType = {
			name = "flag"
			quadTextureSprite = "GFX_empire_flag_32"
			position = { x = 0 y = 0  }
		}
	}
	
	containerWindowType = {
		name = "diplomacy_voting_view_action_declare_war"
		orientation = center
		origo = center
		size = { width = 830 height = 520 }
		moveable = yes

		backGround = {
			name = "background"	
			quadTextureSprite = "GFX_tile_outliner_bg"
		}
		
		buttonType = {
			name = "close"
			quadTextureSprite = "GFX_close"
			position = { x = -40 y = 10 }
			orientation = upper_right
			shortcut = "ESCAPE"
			clicksound = "back_click"
		}
		
		iconType = {
			name = "hex_bg"
			spriteType = "GFX_hex_bg"
			position = { x = -5 y = -10 }
			alwaysTransparent = yes
		}
		
		iconType = {
			name = "empire_header_line"
			quadTextureSprite = "GFX_line"
			position = { x = 12 y = 29 }
		}
		
		instantTextBoxType={
			name = "title"
			font = "malgun_goth_24"
			text = "VOTE"
			position = { x = 20 y = 10 }
			maxWidth = 400
			maxHeight = 40
			fixedSize = yes
			format = left
			alwaysTransparent = yes
		}

		### Code hook this in. / Majority, unanimous, etc.
		instantTextBoxType = {
			name = "vote_type_text"
			font = "cg_16b"
			text = "VOTING_STYLE"
			format = left
			maxWidth = 200
			maxHeight = 30
			position = { x = 25 y = 70 }
			text_color_code = "H"
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "timeout"
			font = "cg_16b"
			text = "TIMEOUT"
			position = { x = -5 y = 70 }
			maxWidth = 400
			maxHeight = 40
			fixedSize = yes
			format = right
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "description"
			font = "cg_16b"
			text = "VOTE"
			position = { x = 10 y = 100 }
			maxWidth = 400
			maxHeight = 40
			fixedSize = yes
			format = centre
			alwaysTransparent = yes
			text_color_code = "E"
		}
		
		containerWindowType = {
			name = "allies_window"
			position = { x = 15 y = 150 }
			size = { width = 400 height = 310 }
			
			background = {
				name = "allies_background"
				spriteType = "GFX_tiles_dark_area_cut_8"
			}
				
			smoothListBoxType = {
				name = "allies"
				size = { x = 380 y = 290 }
				position = { x = 10 y = 10 }
				scrollbartype = "standardlistbox_slider"
				#autohide_scrollbar = no
			}
		}
		
		buttonType = {
			name = "vote_no"
			orientation = "LOWER_LEfT"
			position = { x = 0 y = -58 }
			quadTextureSprite = "GFX_standard_button_142_34_button"
			font = "cg_16b"
			text = "VOTE_NO"
			format = center
		}
			
		buttonType = {
			name = "vote_yes"
			orientation = "LOWER_RIGHT"
			position = { x = -166 y = -58 }
			quadTextureSprite = "GFX_standard_button_142_34_button"
			font = "cg_16b"
			text = "VOTE_YES"
			format = center
		}

		containerWindowType = {
			name = "war_taget_information_window"
			position = { x = 425 y = 60 }
			size = { width = 390 height = 80 }

			background = {
				name = "war_target_background"
				spriteType = "GFX_tiles_dark_area_cut_8"
			}

			instantTextBoxType={
				name = "war_target_text"
				font = "cg_16b"
				text = "WAR_GOALS_VIEW_TARGET"
				position = { x = 10 y = 10 }
				maxWidth = 400
				maxHeight = 40
				fixedSize = yes
				format = left
				alwaysTransparent = yes
			}
			
			iconType = {
				name = "enemy_flag"
				spriteType = "GFX_empire_flag_32"
				position = { x = 10 y = 35 }
			}

			iconType = {
				name = "icon"
				spriteType = "GFX_relative_power_icon"
				position = { x= 45 y = 40  }
				alwaysTransparent = yes
				scale = .9
			}

			instantTextBoxType = {
				name = "power"
				font = "cg_16b"
				maxWidth = 148
				maxHeight = 20
				position = { x = 70 y = 43 }
				format = left
				alwaysTransparent = no
				text = "RELATIVE_POWER_TEXT"
			}

			instantTextBoxType={
				name = "war_target_allies_text"
				font = "cg_16b"
				text = "ALLIES"
				position = { x = -210 y = 10 }
				maxWidth = 200
				maxHeight = 40
				fixedSize = yes
				format = right
				alwaysTransparent = yes
				orientation = upper_right
			}

			### Entry For this Below - "war_target_allies_country_entry"
			overlappingElementsBoxType = {
				name = "war_target_allies"
				position = { x = -210 y = 39 }
				size = { x = 200 y = 35 }
				format = right
				orientation = upper_right
			}
		}
		
		# Duplicated in incoming_diplomacy_view_action_war_peace
		containerWindowType = {
			name = "war_goal"
			position = { x = 425 y = 150 }
			size = { width = 390 height = 310 }

			background = {
				name = "war_goal_background"
				spriteType = "GFX_tiles_dark_area_cut_8"
			}

			instantTextBoxType={
				name = "war_goal_name"
				position = { x = 84 y = 0 }
				maxWidth = 221
				maxHeight = 42
				fixedSize = yes
				font = "malgun_goth_24"
				multiline = no
				vertical_alignment = center
				format = center
			}

			iconType = {
				name = "war_goal_icon"
				position = { x = 25 y = 25 }
				centerPosition = yes
				spriteType = "GFX_alliance_vote_status"
			}

			instantTextBoxType={
				name = "war_goal_desc"
				position = { x = 10 y = 50 }
				maxWidth = 369
				maxHeight = 190
				font = "cg_16b"
				scrollbartype = "standardtext_slider"
			}
		}
	}

	containerWindowType = {
		name = "war_target_allies_country_entry"
		position = { x = 0 y = 0 }
		size = { width = 30 height = 30 }

		buttonType = {
			name = "flag"
			quadTextureSprite = "GFX_empire_flag_32"
			position = { x = 0 y = 0  }
		}
	}
}