AVA2 cross-platform client parity baseline

This commit is contained in:
shen
2026-10-06 00:53:42 -07:00
commit 9f748eb05a
3271 changed files with 1275528 additions and 0 deletions
@@ -0,0 +1,114 @@
import uiScriptLocale
TEMPORARY_HEIGHT = 16
window = {
"name" : "InputDialog_WithDescription",
"x" : 0,
"y" : 0,
"style" : ("movable", "float", "animate",),
"width" : 170,
"height" : 106 + TEMPORARY_HEIGHT,
"children" :
(
{
"name" : "Board",
"type" : "board_with_titlebar",
"x" : 0,
"y" : 0,
"width" : 170,
"height" : 106 + TEMPORARY_HEIGHT,
"title" : "",
"children" :
(
## Text
{
"name" : "Description1",
"type" : "text",
"text" : "",
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"x" : 0,
"y" : 34,
},
{
"name" : "Description2",
"type" : "text",
"text" : "",
"horizontal_align" : "center",
"text_horizontal_align" : "center",
"x" : 0,
"y" : 34 + TEMPORARY_HEIGHT,
},
## Input Slot
{
"name" : "InputSlot",
"type" : "slotbar",
"x" : 0,
"y" : 51 + TEMPORARY_HEIGHT,
"width" : 90,
"height" : 18,
"horizontal_align" : "center",
"children" :
(
{
"name" : "InputValue",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 90,
"height" : 18,
"input_limit" : 12,
},
),
},
## Button
{
"name" : "AcceptButton",
"type" : "button",
"x" : - 61 - 5 + 30,
"y" : 74 + TEMPORARY_HEIGHT,
"horizontal_align" : "center",
"text" : uiScriptLocale.OK,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
{
"name" : "CancelButton",
"type" : "button",
"x" : 5 + 30,
"y" : 74 + TEMPORARY_HEIGHT,
"horizontal_align" : "center",
"text" : uiScriptLocale.CANCEL,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
),
},
),
}