guiTypes = {
	containerWindowType = {
		name = "anomaly_view_window"
		size = { width = 469 height = 550 }
		orientation = center
		origo = center
		moveable = yes
		clipping = no

		background = {
			name = "moveable_hitbox_DONT_REMOVE_ME"
			quadTextureSprite = "GFX_invisible"
		}

		iconType = {
			name = "discovery_bg_top"
			spriteType = "GFX_discovery_view_top"
			position = { x = 0 y = 0 }
			orientation = upper_left
			alwaystransparent = yes
		}

		iconType = {
			name = "discovery_view_bottom"
			spriteType = "GFX_discovery_view_bottom"
			position = { x = 0 y = -278 }
			orientation = lower_left
			alwaystransparent = yes
		}

		buttonType = {
			name = "goto"
			quadTextureSprite = "GFX_fleetview_focus"
			position = { x = -79 y = 15 }
			pdx_tooltip = "GOTO_HOMEPLANET"
			orientation = "UPPER_RIGHT"
			shortCut = "q"
			actionShortcut = "focus_camera"
		}

		iconType = {
			name = "title_hex_bg"
			spriteType = "GFX_hex_bg"
			position = { x = -20 y = -544 }
			orientation = lower_left
			alwaystransparent = yes
		}

		instantTextBoxType = {
			name = "title"
			font = "cg_16b"
			position = { x = 9 y = 28 }
			maxWidth = 376
			maxHeight = 40
			fixedSize = yes
			format = left
			text_color_code = "E"
		}

		containerWindowType = {
			name = "portrait_window"
			position = { x= -224 y = 76 }
			size = { width = 448 height = 148 }
			moveable = no
			clipping = yes
			orientation = center_up

			buttonType = {
				name = "portrait"
				spriteType = "GFX_portrait_planet"
				position = { x = -10 y = -105 }
				alwaystransparent = yes
			}

			iconType = {
				name = "stripes_1"
				spriteType = "GFX_event_stripes_1"
				position = { x= 0 y = 0 }
				orientation = "UPPER_LEFT"
				alwaystransparent = yes
			}
		}

		containerWindowType = {
			name = "picture_window"
			position = { x= -234 y = 46 }
			size = { width = 448 height = 148 }
			moveable = no
			clipping = no
			orientation = center_up

			iconType = {
				name ="picture"
				spriteType = "GFX_event_frame"
				position = { x = 10 y = 7 }
				Orientation = "UPPER_LEFT"
				alwaystransparent = yes
			}

			iconType = {
				name = "stripes_1"
				spriteType = "GFX_event_stripes_1"
				position = { x= 12 y = 7 }
				orientation = "UPPER_LEFT"
				alwaystransparent = yes
			}

			iconType = {
				name = "picture_frame"
				quadTextureSprite = "GFX_event_frame"
				position = { x = 4 y = 2 }
				alwaystransparent = yes
			}

		}

		containerWindowType = {
			name = "anomaly_window"
			position = { x= -230 y = 195 }
			size = { width = 462 height = 395 }
			moveable = no
			clipping = no
			orientation = center_up

			iconType = {
				name = "header_hex_bg"
				spriteType = "GFX_hex_bg"
				position = { x = -20 y = -400 }
				orientation = lower_left
				alwaystransparent = yes
			}

			buttonType = {
				name = "picture_background"
				position = { x = 5 y = 35 }
				size = { x = 285 y = 105 }
				spriteType = "GFX_tiles_dark_area_cut_8"
				alwaystransparent = yes
			}

			buttonType = {
				name = "desc_background"
				position = { x= 0 y = 140 }
				size = { X = 462 Y = 160 }
				spriteType = "GFX_tiles_frame_light"
				alwaystransparent = yes
			}

			instantTextBoxType = {
				name = "header"
				font = "cg_16b"
				text = ""
				position = { x = 10 y = 18 }
				maxWidth = 256
				maxHeight = 20
				fixedSize = yes
			}

			instantTextBoxType = {
				name = "desc"
				font = "cg_16b"
				text = ""
				position = { x = 14 y = 152 }
				maxWidth = 435
				maxHeight = 95
				scrollbartype = "standardtext_slider_small"
			}

			buttonType = {
				name = "tts_button"
				position = { x = 426 y = 265 }
				spriteType = "GFX_button_tts_start"
				buttonFont = "cg_16b"
				shortCut = "t"
			}

			instantTextBoxType = {
				name = "level_label"
				font = "cg_16b"
				text = "ANOMALY_LEVEL"
				position = { x = -131 y = 40 }
				maxWidth = 140
				maxHeight = 20
				fixedSize = yes
				Orientation = "UPPER_RIGHT"
				alwaystransparent = yes
			}

			buttonType = {
				name = "level_background"
				spriteType = "GFX_value_slot"
				position = { x = 331 y = 56 }
			}

			instantTextBoxType = {
				name = "level"
				font = "cg_16b"
				text = "5"
				position = { x = -125 y = 62 }
				maxWidth = 115
				maxHeight = 20
				fixedSize = yes
				Orientation = "UPPER_RIGHT"
				format = left
				text_color_code = "Y"
				alwaystransparent = yes
			}

			iconType = {
				name = "level_icon"
				spriteType = "GFX_discovery_level_icon"
				position = { x = 295 y = 58 }
				alwaystransparent = yes
			}

			buttonType = {
				name = "level_duration_background"
				spriteType = "GFX_value_slot"
				position = { x = 331 y = 105 }
			}

			# lower
			instantTextBoxType = {
				name = "level_duration_label"
				font = "cg_16b"
				text = "ANOMALY_TIME"
				position = { x = -131 y = 89 }
				maxWidth = 140
				maxHeight = 20
				fixedSize = yes
				Orientation = "UPPER_RIGHT"
				alwaystransparent = yes
			}

			instantTextBoxType = {
				name = "level_duration"
				font = "cg_16b"
				text = "5"
				position = { x = -125 y = 111 }
				maxWidth = 100
				maxHeight = 20
				fixedSize = yes
				Orientation = "UPPER_RIGHT"
				format = left
				text_color_code = "Y"
				alwaystransparent = yes
			}

			iconType = {
				name = "level_duration_icon"
				spriteType = "GFX_mod_ship_anomaly_research_speed"
				position = { x = 300 y = 103 }
				alwaystransparent = yes
			}

			containerWindowType = {
				name = "leader_window"
				position = { x = 8 y = 29 }
				size = { width = 400 height = 200 }
				moveable = no
				clipping = no
				orientation = upper_left

				containerWindowType = {
					name = "portrait_window"
					position = { x= -2 y = 6 }
					size = { width = 400 height = 200 }
					moveable = no
					clipping = yes
					orientation = upper_left
				}
			}

			containerWindowType = {
				name = "no_leader_window"
				position = { x= 8 y = 34 }
				size = { width = 250 height = 100 }
				moveable = no
				clipping = no
				orientation = upper_left

				containerWindowType = {
					name = "leader_frame_box"
					size = { width = 87 height = 101 }
					position = { x = -8 y = 5 }

						background = {
							name = "leader_frame"
							spriteType = "GFX_tiles_frame_light"
						}
				}

				instantTextBoxType = {
					name = "no_leader"
					font = "cg_16b"
					text = "AV_NO_SCIENTIST"
					position = { x = 92 y = 12 }
					maxWidth = 160
					maxHeight = 20
					fixedSize = yes
					Orientation = "UPPER_LEFT"
					text_color_code = "H"
				}

				instantTextBoxType = {
					name = "desc"
					font = "cg_16b"
					text = "AV_NO_SCIENTIST_DESC"
					position = { x = 92 y = 36 }
					maxWidth = 190
					maxHeight = 70
					fixedSize = yes
					Orientation = "UPPER_LEFT"
				}
			}

			containerWindowType = {
				name = "progress_window"
				position = { x= -227 y = -148 }
				size = { width = 450 height = 50 }
				moveable = no
				clipping = yes
				orientation = center_down

				instantTextBoxType = {
					name = "progress_label"
					font = "cg_16b"
					text = "ANOMALY_RESEARCH_PROGRESS"
					position = { x = 9 y = 2 }
					maxWidth = 160
					maxHeight = 20
					fixedSize = yes
					Orientation = "UPPER_LEFT"
					text_color_code = "H"
				}

				iconType = {
					name = "progress_bar"
					spriteType = "GFX_queue_progressbar_100"
					position = { x = 10 y = 24 }
				}

				instantTextBoxType = {
					name = "progress_value"
					font = "cg_16b"
					text = "0%"
					position = { x = 13 y = 4 }
					maxWidth = 430
					maxHeight = 20
					fixedSize = yes
					Orientation = "UPPER_LEFT"
					text_color_code = "H"
					format = right
				}
			}
		}

		containerWindowType = {
			name = "select_leader_window"
			position = { x = -230 y = 210 }
			size = { width = 665 height = 285 }
			moveable = no
			clipping = no
			orientation = center_up

			background = {
				name = "picture_background"
				spriteType = "GFX_tile_outliner_bg"
				alwaystransparent = no
			}

			smoothListBoxType = {
				name = "list"
				position = { x = 11 y = 13 }
				orientation = upper_left
				size = { x = 645 y=260 }
				borderSize = { x=0 y=0 }
				scrollbartype = "standardlistbox_slider"
				spacing = 5
			}
		}

		instantTextBoxType = {
			name = "header"
			font = "malgun_goth_24"
			text = "ANOMALY"
			position = { x = -225 y = 4 }
			maxWidth = 200
			maxHeight = 20
			fixedSize = yes
			orientation = "CENTER_UP"
			format = left
		}

		buttonType = {
			name = "close"
			quadTextureSprite = "GFX_close"
			position = { x = -44 y = 15 }
			Orientation = "UPPER_RIGHT"
			shortCut = "ESCAPE"
			pdx_tooltip = "CLOSE_TITLE"
			clicksound = "back_click"
		}

		buttonType = {
			id = "ok"
			name = "ok"
			quadTextureSprite = "GFX_standard_button_142_34_button"
			position = { x = -237 y = -60  }
			orientation = "CENTER_DOWN"
			shortCut = "RETURN"
			text = "ANOMALY_VIEW_CLOSE"
			font = "cg_16b"
			borderSize = { x = 12 y = 12 }
			multiline = yes
			defaultSelection = yes
			navLeft = "research"
			navRight = "scientist"
			actionShortcut = "cancel"
		}

		buttonType = {
			id = "scientist"
			name = "scientist"
			quadTextureSprite = "GFX_standard_button_142_34_button"
			position = { x = -82 y = -60  }
			orientation = "CENTER_DOWN"
			text = "ANOMALY_CHANGE_SCIENTIST"
			font = "cg_16b"
			borderSize = { x = 12 y = 12 }
			multiline = yes
			navLeft = "ok"
			navRight = "research"
		}

		buttonType = {
			id = "research"
			name = "research"
			quadTextureSprite = "GFX_standard_button_142_34_button"
			position = { x = 73 y = -60  }
			orientation = "CENTER_DOWN"
			text = "INVESTIGATE"
			font = "cg_16b"
			borderSize = { x = 12 y = 12 }
			multiline = yes
			clicksound = "confirmation"
			navLeft = "scientist"
			navRight = "ok"
		}
	}

	containerWindowType = {
		name = "anomaly_view_leaders_entry"
		size = { width = 660 height = 100 }

		containerWindowType = {
			name = "selected"
			position = { x = 0 y = 0 }
			size = { width = 100% height = 100% }

			background = {
				name = "selected_bg"
				spriteType = "GFX_glow_tile_orange"
				alwaysTransparent = yes
			}
		}

		containerWindowType = {
			name = "leader_container"
			position = { x = 0 y = 5 }
			size = { width = 660 height = 100 }
			clipping = yes

			buttonType = {
				name = "large_assign_leader_button"
				spriteType = "GFX_leader_assign_entry_bg"
				position = { x = -9 y = -12 }
				size = { x = 640 y = 100 }
				oversound = "no_sound"
				clicksound = "select_click"
			}
		}
	}
}
