type = fancymenu_layout

layout-meta {
  identifier = skin_customization_screen
}

menu_background {
  background_type = color_fancymenu
  color = #313233
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  height = 25
  stretch_x = true
  source = [source:location]fancymenu:textures/widget/header.png
}

element {
  element_type = custom_button
  anchor_point = element
  anchor_point_element = 0
  width = 8
  height = 12
  x = 4
  y = 6
  backgroundnormal = [source:location]fancymenu:textures/icon/back.png
  backgroundhovered = [source:location]fancymenu:textures/icon/back_highlight.png
  label = 
  [executable_action_instance:2][action_type:mimicbutton] = title_screen:mc_titlescreen_options_button
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 0
  stretch_x = true
  y = 3
  interactable = false
  source = ^^^%n%**{"placeholder":"local","values":{"key":"menu.options"}}**%n%^^^
  source_mode = direct
  shadow = false
  scale = 1.5
  enable_scrolling = false
  base_color = #4c4c4c
}

element {
  element_type = custom_button
  anchor_point = bottom-centered
  width = 75
  height = 25
  x = -77
  y = -30
  label = {"placeholder":"local","values":{"key":"options.online"}}
  [executable_action_instance:0][action_type:opengui] = online_options_screen
}

element {
  element_type = custom_button
  anchor_point = bottom-centered
  width = 75
  height = 25
  x = 2
  y = -30
  label = {"placeholder":"local","values":{"key":"options.chat"}}
  [executable_action_instance:1][action_type:opengui] = chat_options_screen
}

vanilla_button {
  instance_identifier = 400974
  is_hidden = true
}