guiTypes = {
	containerWindowType = {
		name = "LoadGameScreen"
		position = { x= -635 y = -355 }
		size = { width=1270 height=710 }
		orientation = center
		
		background = {
			name ="background"
			quadTextureSprite = "GFX_tile_large_bg_solid"
		}
		
		iconType = {
			name = "hex_bg"
			spriteType = "GFX_hex_bg"
			position = { x = -5 y = -5 }
			alwaysTransparent = yes
		}
	
		iconType = {
			name = "empire_header_line"
			quadTextureSprite = "GFX_line_long"
			position = { x = 10 y = 35 }
		}
		
		instantTextBoxType = {
			name = "load_label"
			font = "large_title_font"
			position = { x= 26 y= 8 }
			maxWidth = 300
			maxHeight = 16
			text = "MAIN_LOAD"
		}	
		
		buttonType = {
			name = "hide"
			font = "malgun_goth_24"
			spriteType = "GFX_standard_button_large_211_40"
			buttonText = "CANCEL"
			shortCut = "ESCAPE"
			position = { x = -3 y = -63 }
			orientation = LOWER_LEFT
			actionShortCut = "cancel"
			clicksound = back_click
		}

		buttonType = {
			name = "delete_toggle"
			spriteType = "GFX_gamesetup_delete"
			position = { x = 230 y = -51 }
			orientation = LOWER_LEFT
			pdx_tooltip = "DELETE_SAVEGAME_TOGGLE"
		}
		
		instantTextBoxType={
			name = "nosaves_label"
			font = "malgun_goth_24"
			position = { x= -100 y= 0 }
			maxWidth = 200
			maxHeight = 16
			text = "LOAD_GAME_NO_FILES"
			alwaysTransparent = yes
			orientation = "CENTER"
		}
		
		instantTextBoxType={
			name = "syncing_label"
			font = "malgun_goth_24"
			position = { x=280 y= -45 }
			maxWidth = 200
			maxHeight = 16
			text = "LOAD_GAME_SYNC_FILES"
			alwaysTransparent = yes
			orientation = lower_left
		}
		
		smoothListBoxType = {
			name ="list"
			position = { x=7 y=70 }
			orientation = "UPPER_LEFT"
			priority = 100
			size = { x=617 y=578 }
			borderSize = { x=0 y=0 }
			scrollbartype = "standardlistbox_slider"
			spacing = -5
		}

		containerWindowType = {
			name = "selected_window"
			size = { width = 620 height = 640 }
			position = { x= 650 y = 65  }
			orientation = upper_left 
			moveable = no
			clipping = yes
			
			containerWindowType = {
				name = "background_box"
				size = { width = 614 height = 587 }
				position = { x = 0 y = 0 }
				
					background = {
						name = "leader_frame"
						spriteType = "GFX_tiles_frame_light"
						alwaysTransparent = yes
					}
			}	

			containerWindowType = {
				name = "portrait_window"
				size = { width = 160 height = 190 }
				position = { x = 12 y = 10 }
				orientation = upper_left 
				moveable = no
				clipping = yes

				buttonType = {
					name = "leader_type_bg"
					quadTextureSprite = "GFX_leader_bg_ruler"
					position = { x = 0 y = 2 }
					scale = 0.5
					alwaystransparent = yes
				}

				iconType = {
					name = "portrait"
					position = { x = -85 y = -20 }
					spriteType = "GFX_portrait_character"
					scale = 0.58
					alwaystransparent = yes
				}			
			}

			containerWindowType = {
				name = "leader_frame_box"
				size = { width = 170 height = 198 }
				position = { x = 7 y = 7 }
				
					background = {
						name = "leader_frame"
						spriteType = "GFX_clean_frame_area"
						alwaysTransparent = yes
					}
			}	
			
			instantTextBoxType={
				name = "name"
				font = "large_title_font"
				position = { x= 184 y= 10 }
				maxWidth = 310
				maxHeight = 16
				text = "NAME_OF_SAVEGAME"
				alwaysTransparent = yes
				fixedsize = yes
			}
			
			instantTextBoxType={
				name = "date"
				font = "cg_16b"
				position = { x= 185 y= 45 }
				maxWidth = 200
				maxHeight = 16
				text = "1337.11.11"
				alwaysTransparent = yes
				text_color_code = "E"
			}
			
			iconType = {
				name ="fleets_icon"
				spriteType = "GFX_ship_class_medium"
				position = { x= 178 y = 65 }
				frame = 3
			}
			
			instantTextBoxType={
				name = "fleets"
				font = "malgun_goth_24"
				position = { x= 215 y= 70 }
				maxWidth = 55
				maxHeight = 20
				text = "70"
			}
			
			iconType = {
				name ="planets_icon"
				spriteType = "GFX_ship_class_medium"
				position = { x= 275 y = 65 }
				frame = 5
			}

			instantTextBoxType={
				name = "planets"
				font = "malgun_goth_24"
				position = { x= 315 y= 70 }
				maxWidth = 55
				maxHeight = 20
				text = "33"
			}

			iconType = {
				name = "flag"
				spriteType = "GFX_empire_flag_128"
				position = { x = 482 y = -5 }
				alwaysTransparent = yes
				orientation = "UPPER_LEFT"
				#scale = 0.9
			}

			instantTextBoxType={
				name = "saves_label"
				font = "malgun_goth_24"
				position = { x= 17 y= 223 }
				maxWidth = 200
				maxHeight = 16
				text = "LOAD_GAME_SELECTED_SAVES"
				alwaysTransparent = yes
			}	
			
			smoothListBoxType = {
				name ="list"
				position = { x=8 y=250 }
				orientation = "UPPER_LEFT"
				priority = 100
				size = { x=580 y=328 }
				borderSize = { x=0 y=0 }
				scrollbartype = "standardlistbox_slider"
				spacing = -4
			}	

			buttonType = {
				name = "load_selected"
				quadTextureSprite = "GFX_standard_button_large_211_40"
				position = { x = 384 y = 582 }
				buttonFont = "malgun_goth_24"
				buttonText = "LOAD_SELECTED_SAVE"
				shortcut = "RETURN"
				clicksound = confirm_click
			}
		}
	}

	containerWindowType = {
		name = "LoadGameSessionEntry"
		position = { x = 0 y = 0 }
		size = { width = 620 height = 102 }
		orientation = upper_left
		clipping = yes

		buttonType = {
			name = "select"
			quadTextureSprite = "GFX_tiles_frame_light"
			size = { x = 620 y = 102 }
			position = { x = 0 y = -5 }
			clicksound = "outliner_click_tab"
			oversound = no_sound
		}

		containerWindowType = {
			name = "selected_overlay"
			size = { width = 620 height = 102 }
			position = { x = 0 y = -5 }
			background = {
				name = "selected_bg"
				spriteType = "GFX_glow_tile_orange"
				alwaysTransparent = yes
			}
		}

		containerWindowType = {
			name = "portrait_window"
			size = { width = 74 height = 88 }
			position = { x = 7 y = 1 }
			orientation = upper_left 
			moveable = no
			clipping = yes

			buttonType = {
				name = "leader_type_bg"
				quadTextureSprite = "GFX_leader_bg_ruler"
				position = { x = 0 y = 2 }
				scale = 0.23
				alwaystransparent = yes
			}		
			
			iconType = {
				name = "portrait"
				position = { x = -40 y = -10 }
				spriteType = "GFX_portrait_character"
				scale = 0.27
				alwaystransparent = yes
			}		
		}

		containerWindowType = {
			name = "leader_frame_box"
			size = { width = 83 height = 96 }
			position = { x = 3 y = -2 }
			
			background = {
				name = "leader_frame"
				spriteType = "GFX_clean_frame_area"
				alwaysTransparent = yes
			}
		}		
		
		instantTextBoxType={
			name = "name"
			font = "malgun_goth_24"
			position = { x= 135 y= 5 }
			maxWidth = 510
			maxHeight = 16
			fixedSize = yes
			text = ""
			alwaysTransparent = yes
		}
		
		instantTextBoxType={
			name = "date"
			font = "cg_16b"
			position = { x= 135 y= 30 }
			maxWidth = 100
			maxHeight = 16
			text = ""
			alwaysTransparent = yes
			text_color_code = "E"
		}
		
		instantTextBoxType={
			name = "save_name"
			font = "cg_16b"
			position = { x= -255 y= 30 }
			maxWidth = 240
			maxHeight = 16
			text = ""
			#alwaysTransparent = yes
			#vertical_alignment = bottom
			fixedsize = yes
			Orientation = "UPPER_RIGHT"
			format = right
		}
				
		iconType = {
			name = "flag"
			spriteType = "GFX_empire_flag_64"
			orientation = "UPPER_LEFT"
			position = { x = 80 y = 1 }
			alwaysTransparent = yes
			scale = 0.75
		}

		iconType = {
			name = "cloud_file"
			spriteType = "GFX_cloud_file"
			Orientation = "LOWER_LEFT"
			position = { x = 582 y = -95 }
			pdx_tooltip = "CLOUD_SAVE"
			tooltip_mode_enabled = yes
		}

		iconType = {
			name = "ironman_icon"
			spriteType = "GFX_ironman_icon"
			Orientation = "LOWER_LEFT"
			position = { x = 95 y = -50 }
			tooltip_mode_enabled = yes
		}		

		iconType = {
			name = "incompatible_save"
			spriteType = "GFX_incompatible_save_icon"
			Orientation = "LOWER_LEFT"
			position = { x = 552 y = -97 }
			tooltip_mode_enabled = yes
		}

		buttonType = {
			name = "load_latest"
			quadTextureSprite = "GFX_button_animated_265_34"
			position = { x= -290 y = -64 }
			orientation = "LOWER_RIGHT"
			buttonFont = "cg_16b"
			buttonText = "LOAD_LAST_SAVED"
		}
	
		#iconType = {
		#	name ="preview"
		#	spriteType = "GFX_game_preview"
		#	position = { x= 455 y = 11 }
		#	alwaysTransparent = yes
		#}
		
		buttonType = {
			name = "delete"
			quadTextureSprite = "GFX_fleetview_delete"
			position = { x = -47 y = -52 }
			orientation = "LOWER_RIGHT"
			pdx_tooltip = "DELETE_SAVEGAME"
		}
	}

	containerWindowType = {
		name = "LoadSaveGameEntry"
		position = { x= 0 y = 0 }
		size = { width=581 height=58 }
		orientation = center
		
		buttonType = {
			name = "select"
			quadTextureSprite = "GFX_tiles_frame_light"
			position = { x= 0 y = 0 }
			size = { x=581 y=58 }
			clicksound = "select_click"
			oversound = no_sound

		}

		containerWindowType = {
			name = "selected_overlay"
			size = { width = 581 height = 58 }
			position = { x = 0 y = 0 } 
			background = {
				name = "selected_bg"
				spriteType = "GFX_glow_tile_orange"
				alwaysTransparent = yes
			}
		}

		instantTextBoxType={
			name = "name"
			font = "cg_16b"
			position = { x = 12 y = 10 }
			maxWidth = 240
			maxHeight = 10
			text = ""
			text_color_code = "E"
			fixedsize = yes
		}
		
		iconType = {
			name ="fleets_icon"
			spriteType = "GFX_ship_class_small"
			position = { x= 8 y = 25 }
			frame = 3
		}
		
		instantTextBoxType={
			name = "fleets"
			font = "cg_16b"
			position = { x = 35 y = 30 }
			maxWidth = 40
			maxHeight = 20
			text = "" # amount set in code
		}
		
		iconType = {
			name ="planets_icon"
			spriteType = "GFX_ship_class_small"
			position = { x = 80 y = 24 }
			frame = 5
		}

		instantTextBoxType={
			name = "planets"
			font = "cg_16b"
			position = { x = 110 y = 30 }
			maxWidth = 40
			maxHeight = 20
			text = "" # amount set in code
		}

		iconType = {
			name = "ironman_icon"
			spriteType = "GFX_ironman_icon"
			Orientation = "UPPER_RIGHT"
			position = { x = -130 y = 10 }
			tooltip_mode_enabled = yes
		}

		iconType = {
			name = "incompatible_save"
			spriteType = "GFX_incompatible_save_icon"
			Orientation = "UPPER_RIGHT"
			position = { x = -102 y = 18 }
			tooltip_mode_enabled = yes
		}

		iconType = {
			name = "cloud_file"
			spriteType = "GFX_cloud_file"
			Orientation = "UPPER_RIGHT"	
			position = { x = -73 y = 20 }
			tooltip_mode_enabled = yes
		}

		instantTextBoxType={
			name = "date"
			font = "cg_16b"
			position = { x = -220 y = 10 }
			maxWidth = 080
			maxHeight = 20
			text = "xxxx.xx.xx"
			orientation = "UPPER_RIGHT"
			format = right
			text_color_code = "E"
		}

		instantTextBoxType={
			name = "filename"
			font = "cg_16b"
			position = { x = -340 y = 30 }
			maxWidth = 200
			maxHeight = 20
			text = "xxxx.sav"
			orientation = "UPPER_RIGHT"
			format = right
			fixedsize = yes
		}

		buttonType = {
			name = "delete"
			quadTextureSprite = "GFX_fleetview_delete"
			position = { x = -48 y = 10 }
			orientation = "UPPER_RIGHT"
			pdx_tooltip = "DELETE_SAVEGAME"
		}
	}
}
