2025-01-29 23:13:09 +02:00

197 lines
2.7 KiB
Plaintext

script: "/example/examples/windows/window_language/window_language.gui_script"
fonts {
name: "text_bold"
font: "/example/assets/fonts/text_bold.font"
}
textures {
name: "druid_example"
texture: "/example/assets/druid_example.atlas"
}
nodes {
size {
x: 600.0
y: 580.0
}
type: TYPE_BOX
texture: "druid_example/empty"
id: "root"
adjust_mode: ADJUST_MODE_STRETCH
inherit_alpha: true
slice9 {
x: 16.0
y: 16.0
z: 16.0
w: 16.0
}
visible: false
}
nodes {
size {
x: 600.0
y: 580.0
}
color {
x: 0.31
y: 0.318
z: 0.322
}
type: TYPE_BOX
texture: "druid_example/ui_circle_32"
id: "window"
parent: "root"
inherit_alpha: true
slice9 {
x: 16.0
y: 16.0
z: 16.0
w: 16.0
}
}
nodes {
position {
y: 290.0
}
size {
x: 600.0
y: 92.0
}
color {
x: 0.631
y: 0.843
z: 0.961
}
type: TYPE_BOX
texture: "druid_example/ui_rounded_top_32"
id: "panel_header"
pivot: PIVOT_N
parent: "window"
inherit_alpha: true
slice9 {
x: 16.0
y: 16.0
z: 16.0
w: 16.0
}
}
nodes {
position {
y: -46.0
}
scale {
x: 1.5
y: 1.5
}
size {
x: 300.0
y: 50.0
}
color {
x: 0.31
y: 0.318
z: 0.322
}
type: TYPE_TEXT
text: "Language"
font: "text_bold"
id: "text_header"
outline {
x: 1.0
y: 1.0
z: 1.0
}
shadow {
x: 1.0
y: 1.0
z: 1.0
}
parent: "panel_header"
inherit_alpha: true
outline_alpha: 0.0
shadow_alpha: 0.0
}
nodes {
position {
x: 250.0
y: -46.0
}
size {
x: 100.0
y: 100.0
}
type: TYPE_BOX
id: "button_close"
parent: "panel_header"
inherit_alpha: true
visible: false
}
nodes {
color {
x: 0.31
y: 0.318
z: 0.322
}
type: TYPE_BOX
texture: "druid_example/icon_cross"
id: "icon_close"
parent: "button_close"
inherit_alpha: true
size_mode: SIZE_MODE_AUTO
}
nodes {
position {
y: -45.0
}
size {
x: 600.0
y: 470.0
}
type: TYPE_BOX
id: "content"
parent: "root"
inherit_alpha: true
visible: false
}
nodes {
size {
x: 260.0
y: 90.0
}
type: TYPE_BOX
id: "button_prefab"
parent: "content"
inherit_alpha: true
visible: false
}
nodes {
type: TYPE_TEMPLATE
id: "button"
parent: "button_prefab"
inherit_alpha: true
template: "/example/templates/button_text_white.gui"
}
nodes {
size {
x: 245.0
y: 75.0
}
type: TYPE_BOX
id: "button/root"
parent: "button"
overridden_fields: 4
template_node_child: true
}
nodes {
type: TYPE_TEXT
id: "button/text"
parent: "button/root"
template_node_child: true
}
layers {
name: "druid"
}
layers {
name: "text_bold"
}
material: "/builtins/materials/gui.material"
adjust_reference: ADJUST_REFERENCE_PARENT