N3OW/N3OW/gui/dynasty_customization_window.gui
2025-10-30 11:25:16 +00:00

110 lines
2.3 KiB
Text

window = {
name = "dynasty_customization_window"
size = { 100% 100% }
movable = no
layer = middle
using = Window_Background_No_Edge
state = {
name = _show
using = Animation_FadeIn_Standard
using = Sound_WindowShow_Standard
using = CoatOfArmsDesignerAnimationResetState
}
state = {
name = _hide
using = Animation_FadeOut_Standard
using = Sound_WindowHide_Standard
}
vbox = {
header_pattern = {
datacontext = "[DynastyCustomizationWindow.GetDynasty]"
layoutpolicy_horizontal = expanding
blockoverride "header_text"
{
text = "CUSTOMIZE_DYNASTY_HEADER"
}
blockoverride "button_close"
{
onclick = "[DynastyCustomizationWindow.Close]"
}
}
vbox = {
layoutpolicy_horizontal = expanding
layoutpolicy_vertical = expanding
margin = { 10 5 }
spacing = 10
hbox = {
name = "content"
layoutpolicy_horizontal = expanding
layoutpolicy_vertical = expanding
spacing = 10
vbox = {
name = "details_input"
layoutpolicy_vertical = expanding
minimumsize = { 300 -1 }
spacing = 10
vbox = {
layoutpolicy_horizontal = expanding
margin = { 10 5 }
margin_bottom = 8
spacing = 10
background = {
using = Background_Area_With_Header
}
text_single = {
layoutpolicy_horizontal = expanding
text = "CUSTOMIZATION_NAMING_HEADER"
}
editbox_standard_with_label = {
layoutpolicy_horizontal = expanding
blockoverride "editbox_label"
{
text = "DYNASTY_CUSTOMIZATION_NAME_FIELD"
}
blockoverride "editbox_properties"
{
text = "[DynastyCustomizationWindow.GetDynastyNameText]"
ontextedited = "[DynastyCustomizationWindow.OnEditDynastyNameText]"
}
}
}
expand = {}
}
vbox_coa_designer = {
datacontext = "[DynastyCustomizationWindow.GetCoatOfArmsDesigner]"
datacontext = "[DynastyCustomizationWindow.GetDynasty.GetDynast]"
layoutpolicy_horizontal = expanding
layoutpolicy_vertical = expanding
}
}
button_primary = {
name = "finish_button"
text = "FINISH"
enabled = "[DynastyCustomizationWindow.CanClickFinish]"
tooltip = "[DynastyCustomizationWindow.GetCanClickFinishText]"
onclick = "[DynastyCustomizationWindow.OnClickFinish]"
}
}
}
}