mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
Update example with new brand one
This commit is contained in:
36
example/examples/basic/hotkey/basic_hotkey.gui
Normal file
36
example/examples/basic/hotkey/basic_hotkey.gui
Normal file
@@ -0,0 +1,36 @@
|
||||
fonts {
|
||||
name: "text_bold"
|
||||
font: "/example/assets/fonts/text_bold.font"
|
||||
}
|
||||
nodes {
|
||||
size {
|
||||
x: 200.0
|
||||
y: 100.0
|
||||
}
|
||||
type: TYPE_BOX
|
||||
id: "root"
|
||||
inherit_alpha: true
|
||||
size_mode: SIZE_MODE_AUTO
|
||||
visible: false
|
||||
}
|
||||
nodes {
|
||||
size {
|
||||
x: 700.0
|
||||
y: 100.0
|
||||
}
|
||||
color {
|
||||
x: 0.522
|
||||
y: 0.522
|
||||
z: 0.522
|
||||
}
|
||||
type: TYPE_TEXT
|
||||
text: "Press \"SHIFT\" + \"X\" to trigger hotkey"
|
||||
font: "text_bold"
|
||||
id: "text"
|
||||
parent: "root"
|
||||
inherit_alpha: true
|
||||
outline_alpha: 0.0
|
||||
shadow_alpha: 0.0
|
||||
}
|
||||
material: "/builtins/materials/gui.material"
|
||||
adjust_reference: ADJUST_REFERENCE_PARENT
|
Reference in New Issue
Block a user