mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 18:37:44 +02:00
480 lines
6.6 KiB
Plaintext
480 lines
6.6 KiB
Plaintext
script: "/example/examples/general/data_list/data_list.gui_script"
|
|
fonts {
|
|
name: "game"
|
|
font: "/example/assets/fonts/game.font"
|
|
}
|
|
textures {
|
|
name: "kenney"
|
|
texture: "/example/assets/images/kenney.atlas"
|
|
}
|
|
background_color {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 300.0
|
|
y: 415.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 600.0
|
|
y: 830.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: "kenney/empty"
|
|
id: "root"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 360.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 0.7
|
|
y: 0.7
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 800.0
|
|
y: 100.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "The default DataList component. Click on node to mark checkbox. The mark info is saved in element data"
|
|
font: "game"
|
|
id: "text_hint"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
outline {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
shadow {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: true
|
|
parent: "root"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 1.0
|
|
shadow_alpha: 0.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 300.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 500.0
|
|
y: 650.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 0.8
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: ""
|
|
id: "data_list_view"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_N
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "root"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_STENCIL
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 500.0
|
|
y: 650.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 0.8
|
|
y: 1.0
|
|
z: 0.8
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: ""
|
|
id: "data_list_content"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_N
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "data_list_view"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 450.0
|
|
y: 80.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: "kenney/button_green"
|
|
id: "prefab"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "root"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 20.0
|
|
y: 20.0
|
|
z: 20.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_MANUAL
|
|
}
|
|
nodes {
|
|
position {
|
|
x: -50.0
|
|
y: 8.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 300.0
|
|
y: 50.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_TEXT
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
text: "Record: 1"
|
|
font: "game"
|
|
id: "text"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
outline {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
shadow {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
line_break: false
|
|
parent: "prefab"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
alpha: 1.0
|
|
outline_alpha: 0.0
|
|
shadow_alpha: 0.0
|
|
template_node_child: false
|
|
text_leading: 1.0
|
|
text_tracking: 0.0
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 175.0
|
|
y: 6.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 49.0
|
|
y: 49.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: "kenney/back_green"
|
|
id: "icon"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "prefab"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_AUTO
|
|
}
|
|
nodes {
|
|
position {
|
|
x: 0.0
|
|
y: 2.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
rotation {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
scale {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
size {
|
|
x: 21.0
|
|
y: 20.0
|
|
z: 0.0
|
|
w: 1.0
|
|
}
|
|
color {
|
|
x: 1.0
|
|
y: 1.0
|
|
z: 1.0
|
|
w: 1.0
|
|
}
|
|
type: TYPE_BOX
|
|
blend_mode: BLEND_MODE_ALPHA
|
|
texture: "kenney/checkmark"
|
|
id: "checkbox"
|
|
xanchor: XANCHOR_NONE
|
|
yanchor: YANCHOR_NONE
|
|
pivot: PIVOT_CENTER
|
|
adjust_mode: ADJUST_MODE_FIT
|
|
parent: "icon"
|
|
layer: ""
|
|
inherit_alpha: true
|
|
slice9 {
|
|
x: 0.0
|
|
y: 0.0
|
|
z: 0.0
|
|
w: 0.0
|
|
}
|
|
clipping_mode: CLIPPING_MODE_NONE
|
|
clipping_visible: true
|
|
clipping_inverted: false
|
|
alpha: 1.0
|
|
template_node_child: false
|
|
size_mode: SIZE_MODE_AUTO
|
|
}
|
|
layers {
|
|
name: "image"
|
|
}
|
|
layers {
|
|
name: "text"
|
|
}
|
|
material: "/builtins/materials/gui.material"
|
|
adjust_reference: ADJUST_REFERENCE_PARENT
|
|
max_nodes: 512
|