mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Update examples
This commit is contained in:
parent
c00fb3590c
commit
c0abfd350e
@ -91,6 +91,18 @@ nodes {
|
|||||||
inherit_alpha: true
|
inherit_alpha: true
|
||||||
template: "/example/templates/button_text_blue.gui"
|
template: "/example/templates/button_text_blue.gui"
|
||||||
}
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "button_view_code/root"
|
||||||
|
parent: "button_view_code"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEXT
|
||||||
|
id: "button_view_code/text"
|
||||||
|
parent: "button_view_code/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
nodes {
|
nodes {
|
||||||
position {
|
position {
|
||||||
x: 220.0
|
x: 220.0
|
||||||
@ -112,12 +124,28 @@ nodes {
|
|||||||
x: -85.0
|
x: -85.0
|
||||||
y: -32.5
|
y: -32.5
|
||||||
}
|
}
|
||||||
|
scale {
|
||||||
|
x: 0.5
|
||||||
|
y: 0.5
|
||||||
|
}
|
||||||
type: TYPE_TEMPLATE
|
type: TYPE_TEMPLATE
|
||||||
id: "button_profiler"
|
id: "button_profiler"
|
||||||
parent: "NE_Anchor"
|
parent: "NE_Anchor"
|
||||||
inherit_alpha: true
|
inherit_alpha: true
|
||||||
template: "/example/templates/button_text_yellow.gui"
|
template: "/example/templates/button_text_yellow.gui"
|
||||||
}
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "button_profiler/root"
|
||||||
|
parent: "button_profiler"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEXT
|
||||||
|
id: "button_profiler/text"
|
||||||
|
parent: "button_profiler/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
nodes {
|
nodes {
|
||||||
position {
|
position {
|
||||||
x: -200.0
|
x: -200.0
|
||||||
|
@ -4025,6 +4025,109 @@ nodes {
|
|||||||
parent: "example_memory_panel/memory_panel/content"
|
parent: "example_memory_panel/memory_panel/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEMPLATE
|
||||||
|
id: "example_fps_panel"
|
||||||
|
parent: "widgets"
|
||||||
|
inherit_alpha: true
|
||||||
|
template: "/example/examples/widgets/fps_panel/example_fps_panel.gui"
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/root"
|
||||||
|
parent: "example_fps_panel"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEMPLATE
|
||||||
|
id: "example_fps_panel/fps_panel"
|
||||||
|
parent: "example_fps_panel/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/root"
|
||||||
|
parent: "example_fps_panel/fps_panel"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEMPLATE
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph"
|
||||||
|
parent: "example_fps_panel/fps_panel/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/root"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/header"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEXT
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/text_header"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/header"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/icon_drag"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/header"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/content"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/prefab_line"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/mini_graph/color_low"
|
||||||
|
parent: "example_fps_panel/fps_panel/mini_graph/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/content"
|
||||||
|
parent: "example_fps_panel/fps_panel/root"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEXT
|
||||||
|
id: "example_fps_panel/fps_panel/text_min_fps"
|
||||||
|
parent: "example_fps_panel/fps_panel/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_TEXT
|
||||||
|
id: "example_fps_panel/fps_panel/text_fps"
|
||||||
|
parent: "example_fps_panel/fps_panel/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/line_second_1"
|
||||||
|
parent: "example_fps_panel/fps_panel/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
|
nodes {
|
||||||
|
type: TYPE_BOX
|
||||||
|
id: "example_fps_panel/fps_panel/line_second_2"
|
||||||
|
parent: "example_fps_panel/fps_panel/content"
|
||||||
|
template_node_child: true
|
||||||
|
}
|
||||||
nodes {
|
nodes {
|
||||||
position {
|
position {
|
||||||
x: -20.0
|
x: -20.0
|
||||||
|
@ -11,93 +11,93 @@ nodes {
|
|||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_TEMPLATE
|
type: TYPE_TEMPLATE
|
||||||
id: "memory_panel"
|
id: "fps_panel"
|
||||||
parent: "root"
|
parent: "root"
|
||||||
inherit_alpha: true
|
inherit_alpha: true
|
||||||
template: "/druid/widget/fps_panel/fps_panel.gui"
|
template: "/druid/widget/fps_panel/fps_panel.gui"
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/root"
|
id: "fps_panel/root"
|
||||||
parent: "memory_panel"
|
parent: "fps_panel"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_TEMPLATE
|
type: TYPE_TEMPLATE
|
||||||
id: "memory_panel/mini_graph"
|
id: "fps_panel/mini_graph"
|
||||||
parent: "memory_panel/root"
|
parent: "fps_panel/root"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/root"
|
id: "fps_panel/mini_graph/root"
|
||||||
parent: "memory_panel/mini_graph"
|
parent: "fps_panel/mini_graph"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/header"
|
id: "fps_panel/mini_graph/header"
|
||||||
parent: "memory_panel/mini_graph/root"
|
parent: "fps_panel/mini_graph/root"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_TEXT
|
type: TYPE_TEXT
|
||||||
id: "memory_panel/mini_graph/text_header"
|
id: "fps_panel/mini_graph/text_header"
|
||||||
parent: "memory_panel/mini_graph/header"
|
parent: "fps_panel/mini_graph/header"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/icon_drag"
|
id: "fps_panel/mini_graph/icon_drag"
|
||||||
parent: "memory_panel/mini_graph/header"
|
parent: "fps_panel/mini_graph/header"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/content"
|
id: "fps_panel/mini_graph/content"
|
||||||
parent: "memory_panel/mini_graph/root"
|
parent: "fps_panel/mini_graph/root"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/prefab_line"
|
id: "fps_panel/mini_graph/prefab_line"
|
||||||
parent: "memory_panel/mini_graph/content"
|
parent: "fps_panel/mini_graph/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/mini_graph/color_low"
|
id: "fps_panel/mini_graph/color_low"
|
||||||
parent: "memory_panel/mini_graph/content"
|
parent: "fps_panel/mini_graph/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/content"
|
id: "fps_panel/content"
|
||||||
parent: "memory_panel/root"
|
parent: "fps_panel/root"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_TEXT
|
type: TYPE_TEXT
|
||||||
id: "memory_panel/text_min_fps"
|
id: "fps_panel/text_min_fps"
|
||||||
parent: "memory_panel/content"
|
parent: "fps_panel/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_TEXT
|
type: TYPE_TEXT
|
||||||
id: "memory_panel/text_fps"
|
id: "fps_panel/text_fps"
|
||||||
parent: "memory_panel/content"
|
parent: "fps_panel/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/line_second_1"
|
id: "fps_panel/line_second_1"
|
||||||
parent: "memory_panel/content"
|
parent: "fps_panel/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
nodes {
|
nodes {
|
||||||
type: TYPE_BOX
|
type: TYPE_BOX
|
||||||
id: "memory_panel/line_second_2"
|
id: "fps_panel/line_second_2"
|
||||||
parent: "memory_panel/content"
|
parent: "fps_panel/content"
|
||||||
template_node_child: true
|
template_node_child: true
|
||||||
}
|
}
|
||||||
material: "/builtins/materials/gui.material"
|
material: "/builtins/materials/gui.material"
|
||||||
|
@ -10,6 +10,7 @@ height = 1080
|
|||||||
display_profiles = /builtins/render/default.display_profilesc
|
display_profiles = /builtins/render/default.display_profilesc
|
||||||
dynamic_orientation = 1
|
dynamic_orientation = 1
|
||||||
high_dpi = 1
|
high_dpi = 1
|
||||||
|
update_frequency = 60
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
title = druid
|
title = druid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user