mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Update examples
This commit is contained in:
@@ -91,6 +91,18 @@ nodes {
|
||||
inherit_alpha: true
|
||||
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 {
|
||||
position {
|
||||
x: 220.0
|
||||
@@ -112,12 +124,28 @@ nodes {
|
||||
x: -85.0
|
||||
y: -32.5
|
||||
}
|
||||
scale {
|
||||
x: 0.5
|
||||
y: 0.5
|
||||
}
|
||||
type: TYPE_TEMPLATE
|
||||
id: "button_profiler"
|
||||
parent: "NE_Anchor"
|
||||
inherit_alpha: true
|
||||
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 {
|
||||
position {
|
||||
x: -200.0
|
||||
|
@@ -4025,6 +4025,109 @@ nodes {
|
||||
parent: "example_memory_panel/memory_panel/content"
|
||||
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 {
|
||||
position {
|
||||
x: -20.0
|
||||
|
@@ -11,93 +11,93 @@ nodes {
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_TEMPLATE
|
||||
id: "memory_panel"
|
||||
id: "fps_panel"
|
||||
parent: "root"
|
||||
inherit_alpha: true
|
||||
template: "/druid/widget/fps_panel/fps_panel.gui"
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/root"
|
||||
parent: "memory_panel"
|
||||
id: "fps_panel/root"
|
||||
parent: "fps_panel"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_TEMPLATE
|
||||
id: "memory_panel/mini_graph"
|
||||
parent: "memory_panel/root"
|
||||
id: "fps_panel/mini_graph"
|
||||
parent: "fps_panel/root"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/root"
|
||||
parent: "memory_panel/mini_graph"
|
||||
id: "fps_panel/mini_graph/root"
|
||||
parent: "fps_panel/mini_graph"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/header"
|
||||
parent: "memory_panel/mini_graph/root"
|
||||
id: "fps_panel/mini_graph/header"
|
||||
parent: "fps_panel/mini_graph/root"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_TEXT
|
||||
id: "memory_panel/mini_graph/text_header"
|
||||
parent: "memory_panel/mini_graph/header"
|
||||
id: "fps_panel/mini_graph/text_header"
|
||||
parent: "fps_panel/mini_graph/header"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/icon_drag"
|
||||
parent: "memory_panel/mini_graph/header"
|
||||
id: "fps_panel/mini_graph/icon_drag"
|
||||
parent: "fps_panel/mini_graph/header"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/content"
|
||||
parent: "memory_panel/mini_graph/root"
|
||||
id: "fps_panel/mini_graph/content"
|
||||
parent: "fps_panel/mini_graph/root"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/prefab_line"
|
||||
parent: "memory_panel/mini_graph/content"
|
||||
id: "fps_panel/mini_graph/prefab_line"
|
||||
parent: "fps_panel/mini_graph/content"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/mini_graph/color_low"
|
||||
parent: "memory_panel/mini_graph/content"
|
||||
id: "fps_panel/mini_graph/color_low"
|
||||
parent: "fps_panel/mini_graph/content"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/content"
|
||||
parent: "memory_panel/root"
|
||||
id: "fps_panel/content"
|
||||
parent: "fps_panel/root"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_TEXT
|
||||
id: "memory_panel/text_min_fps"
|
||||
parent: "memory_panel/content"
|
||||
id: "fps_panel/text_min_fps"
|
||||
parent: "fps_panel/content"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_TEXT
|
||||
id: "memory_panel/text_fps"
|
||||
parent: "memory_panel/content"
|
||||
id: "fps_panel/text_fps"
|
||||
parent: "fps_panel/content"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/line_second_1"
|
||||
parent: "memory_panel/content"
|
||||
id: "fps_panel/line_second_1"
|
||||
parent: "fps_panel/content"
|
||||
template_node_child: true
|
||||
}
|
||||
nodes {
|
||||
type: TYPE_BOX
|
||||
id: "memory_panel/line_second_2"
|
||||
parent: "memory_panel/content"
|
||||
id: "fps_panel/line_second_2"
|
||||
parent: "fps_panel/content"
|
||||
template_node_child: true
|
||||
}
|
||||
material: "/builtins/materials/gui.material"
|
||||
|
Reference in New Issue
Block a user