diff --git a/docs/ScreenExample.fx.yaml b/docs/ScreenExample.fx.yaml deleted file mode 100644 index 0c95ad28..00000000 --- a/docs/ScreenExample.fx.yaml +++ /dev/null @@ -1,2 +0,0 @@ -Screen: - Name: sadf diff --git a/docs/SimpleScreen.fx.yaml b/docs/SimpleScreen.fx.yaml new file mode 100644 index 00000000..f7294ea2 --- /dev/null +++ b/docs/SimpleScreen.fx.yaml @@ -0,0 +1,33 @@ +Screen: + Name: Screen1 + Fill: White + LoadingSpinnerColor: RGBA(56, 96, 178, 1) + Controls: + - Control: label + Name: Label1 + Properties: + Color: RGBA(0, 0, 0, 1) + DisabledColor: RGBA(166, 166, 166, 1) + BorderColor: RGBA(0, 18, 107, 1) + X: 30 + Y: 308 + Width: 560 + Height: 70 + ZIndex: 2 + Size: 21 + - Control: button + Name: Button1 + Properties: + DisabledBorderColor: RGBA(166, 166, 166, 1) + DisabledColor: RGBA(166, 166, 166, 1) + HoverColor: RGBA(255, 255, 255, 1) + Fill: RGBA(56, 96, 178, 1) + DisabledFill: RGBA(244, 244, 244, 1) + HoverFill: ColorFade(RGBA(56, 96, 178, 1), -20%) + FontWeight: FontWeight.Semibold + X: 170 + Y: 464 + Width: 280 + Height: 70 + ZIndex: 1 + Size: 24 diff --git a/docs/canvas-schema.json b/docs/canvas-schema.json index e3cc119f..8884bd94 100644 --- a/docs/canvas-schema.json +++ b/docs/canvas-schema.json @@ -20,11 +20,14 @@ "Name": { "type": "string" }, - "controls": { + "Controls": { "type": "array", "items": { "$ref": "#/$defs/ControlInfo" } + }, + "Properties": { + "type": "object" } } }