﻿from lib.game.ui.general import UIElement, Rect, load_ui_image

DISPATCH_MISSION = UIElement(name='DISPATCH_MISSION')
DISPATCH_MISSION.description = "Dispatch Mission label in mission selection."
DISPATCH_MISSION.text_rect = Rect(0.5161893566920114, 0.26906075794253886, 0.6762007884536989, 0.3288781156104595)
DISPATCH_MISSION.button_rect = Rect(0.5460980355259717, 0.36742707944089725, 0.7262978255005824, 0.6837944377734552)
DISPATCH_MISSION.text = "DISPATCH MISSION"
DISPATCH_MISSION.text_threshold = 150

DISPATCH_MISSION_LABEL = UIElement(name='DISPATCH_MISSION_LABEL')
DISPATCH_MISSION_LABEL.description = "Dispatch Mission label inside mission."
DISPATCH_MISSION_LABEL.text_rect = Rect(0.04886624991138173, 0.012510757277901676, 0.2141117004690124, 0.07764521340519293)
DISPATCH_MISSION_LABEL.text = "DISPATCH MISSION"
DISPATCH_MISSION_LABEL.text_threshold = 150

DISPATCH_SECTOR_BUTTON = UIElement(name='DISPATCH_SECTOR_BUTTON')
DISPATCH_SECTOR_BUTTON.description = "Dispatch Mission: Dispatch button inside sector menu."
DISPATCH_SECTOR_BUTTON.text_rect = Rect(0.8638777481367997, 0.22918251949725849, 0.9506129167552847, 0.2757071310167523)
DISPATCH_SECTOR_BUTTON.button_rect = Rect(0.8638777481367997, 0.22918251949725849, 0.9506129167552847, 0.2757071310167523)
DISPATCH_SECTOR_BUTTON.text = "DISPATCH"
DISPATCH_SECTOR_BUTTON.text_threshold = 150

DISPATCH_SECTOR_CLOSE = UIElement(name='DISPATCH_SECTOR_CLOSE')
DISPATCH_SECTOR_CLOSE.description = "Dispatch Mission: Close (X) button inside sector menu."
DISPATCH_SECTOR_CLOSE.button_rect = Rect(0.9668258784516061, 0.13789178599912807, 0.97855315455397, 0.15916965080117987)

DISPATCH_DRAG_RIGHT_POSITION = UIElement(name='DISPATCH_DRAG_RIGHT_POSITION')
DISPATCH_DRAG_RIGHT_POSITION.description = "Dispatch Mission: position for dragging from the right."
DISPATCH_DRAG_RIGHT_POSITION.button_rect = Rect(0.9386494452217006, 0.1454382187621697, 0.9625763882888688, 0.17069443644418053)

DISPATCH_DRAG_LEFT_POSITION = UIElement(name='DISPATCH_DRAG_LEFT_POSITION')
DISPATCH_DRAG_LEFT_POSITION.description = "Dispatch Mission: position for dragging from the left."
DISPATCH_DRAG_LEFT_POSITION.button_rect = Rect(0.05410026870732481, 0.1454382187621697, 0.07204547600770095, 0.16670661259965244)

DISPATCH_ACQUIRE_SECTOR_1 = UIElement(name='DISPATCH_ACQUIRE_SECTOR_1')
DISPATCH_ACQUIRE_SECTOR_1.description = "Dispatch Mission: Acquire button in Sector 1."
DISPATCH_ACQUIRE_SECTOR_1.text_rect = Rect(0.20214822893542828, 0.521622934762648, 0.2657041714575939, 0.5561840747485578)
DISPATCH_ACQUIRE_SECTOR_1.button_rect = Rect(0.20214822893542828, 0.521622934762648, 0.2657041714575939, 0.5561840747485578)
DISPATCH_ACQUIRE_SECTOR_1.text = "ACQUIRE"
DISPATCH_ACQUIRE_SECTOR_1.text_threshold = 130

DISPATCH_ACQUIRE_OK_BUTTON = UIElement(name='DISPATCH_ACQUIRE_OK_BUTTON')
DISPATCH_ACQUIRE_OK_BUTTON.description = "Dispatch Mission: OK button after acquiring rewards in sector."
DISPATCH_ACQUIRE_OK_BUTTON.text_rect = Rect(0.47805579117871205, 0.742282520826533, 0.5251619603421994, 0.8060877023389817)
DISPATCH_ACQUIRE_OK_BUTTON.button_rect = Rect(0.47805579117871205, 0.742282520826533, 0.5251619603421994, 0.8060877023389817)
DISPATCH_ACQUIRE_OK_BUTTON.text = "OK"
DISPATCH_ACQUIRE_OK_BUTTON.text_threshold = 150
DISPATCH_ACQUIRE_OK_BUTTON.available_characters = "OK"

DISPATCH_NEXT_REWARD = UIElement(name='DISPATCH_NEXT_REWARD')
DISPATCH_NEXT_REWARD.description = "Dispatch Mission: next reward button while acquiring rewards."
DISPATCH_NEXT_REWARD.text_rect = Rect(0.5139462057794643, 0.7436117954413758, 0.6477875435614368, 0.8047584277241392)
DISPATCH_NEXT_REWARD.button_rect = Rect(0.5139462057794643, 0.7436117954413758, 0.6477875435614368, 0.8047584277241392)
DISPATCH_NEXT_REWARD.text = "NEXT REWARD"
DISPATCH_NEXT_REWARD.text_threshold = 120
