window = { name = "window_court_visuals" size = { 670 100% } parentanchor = top|right position = { 30 30 } movable = no visible = "[CourtVisualsWindow.GetRoyalCourtWindow.IsActiveVisualsTab]" layer = middle using = Animation_ShowHide_Quick margin_widget = { name = "visuals" size = { 100% 100% } margin_bottom = 200 state = { name = _show using = Animation_FadeIn_Quick using = Sound_WindowShow_Standard position_x = 25 } state = { name = _hide using = Animation_FadeOut_Quick using = Sound_WindowHide_Standard position_x = 75 } using = Window_Background vbox = { using = Window_Margins margin_bottom = 50 header_pattern = { visible = yes layoutpolicy_horizontal = expanding blockoverride "header_text" { text = "COURT_VISUALS" } blockoverride "button_close" { visible = no } } scrollbox = { layoutpolicy_horizontal = expanding layoutpolicy_vertical = expanding blockoverride "scrollbox_content" { spacing = 5 datamodel = "[CourtVisualsWindow.GetCourtVisuals]" item = { button_standard = { layoutpolicy_horizontal = expanding min_height = 110 max_height = 110 framesize = { 252 80 } scissor = yes enabled = yes datacontext = "[CourtVisualSettingItem]" onclick = "[CourtVisualsWindow.ApplyCourtVisual( CourtVisualSettingItem.Self )]" clicksound = "event:/DLC/EP1/SFX/UI/inventory_artifact_place" widget = { size = { 0 0 } parentanchor = right|vcenter proportional_icon = { size = { 300 110 } texture = "[CourtVisualSettingItem.GetBackground]" alpha = 0.5 using = Mask_Rough_Edges parentanchor = right|vcenter modify_texture = { texture = "gfx/interface/component_masks/mask_fade_horizontal.dds" blend_mode = alphamultiply } } } widget = { size = {100% 100%} visible = "[ObjectsEqual( CourtVisualsWindow.GetActiveCourtVisualItem, CourtVisualSettingItem.Self )]" highlight_icon = { scale = 0.5 parentanchor = top|right position = {-5 0} texture = "gfx/interface/window_military/military_banner_green_icon_bg.dds" } icon_flat_standard_gold = { parentanchor = top|right position = {-14 12} size = {22 22} texture = "gfx/interface/icons/flat_icons/army_select.dds" } } margin_widget = { size = {100% 100%} margin = { 10 10 } text_single = { visible = "[CourtVisualSettingItem.IsDefault]" parentanchor = bottom|right text = "default" using = Font_Size_Small default_format = "#help" } hbox = { parentanchor = left|vcenter vbox = { name = "text" margin_left = 15 text_label_left = { layoutpolicy_horizontal = expanding text = "[CourtVisualSettingItem.GetName]" autoresize = yes max_width = 350 using = Font_Size_Medium default_format = "#high" alwaystransparent = yes } text_multi = { layoutpolicy_horizontal = expanding text = "[CourtVisualSettingItem.GetDescription]" autoresize = yes max_width = 350 using = Font_Size_Small default_format = "#flavor" alwaystransparent = yes } } expand = {} } } } } } } margin_widget = { min_height = 100 margin_top = 30 button_standard_big = { parentanchor = top|hcenter text = "CHARACTER_RESET_FILTERS" onclick = "[CourtVisualsWindow.ResetCourtVisualToDefault]" } } } } }