mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
* added serializer for Size type * updated type names of Gui classes * throw more specific FormatException when deserializing json elements fails * fixed Control deserializer
36 lines
779 B
JSON
36 lines
779 B
JSON
{
|
|
"Skin": "Content/adventure-gui-skin.json",
|
|
"Controls": [
|
|
{
|
|
"Type": "StackPanel",
|
|
"Name": "MainPanel",
|
|
"HorizontalAlignment": "Centre",
|
|
"VerticalAlignment": "Bottom",
|
|
"Margin": "0 0 0 50",
|
|
"Controls": [
|
|
{
|
|
"Type": "Button",
|
|
"Name": "PlayButton",
|
|
"Width": "200",
|
|
"Text": "Play",
|
|
"Style": "white-button"
|
|
},
|
|
{
|
|
"Type": "Button",
|
|
"Name": "OptionsButton",
|
|
"Width": "200",
|
|
"Text": "Options",
|
|
"Style": "white-button"
|
|
},
|
|
{
|
|
"Type": "Button",
|
|
"Name": "QuitButton",
|
|
"Width": "200",
|
|
"Text": "Quit",
|
|
"Style": "white-button"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|