AVA2 cross-platform client parity baseline
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
import app
|
||||
import item
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "Sash_AbsorbtionWindow",
|
||||
"x" : (SCREEN_WIDTH - 205)/2,
|
||||
"y" : (SCREEN_HEIGHT - 270)/2,
|
||||
"style" : ("movable", "float", "animate",),
|
||||
"width" : 205,
|
||||
"height" : 270,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : 205,
|
||||
"height" : 270,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
"x" : 6,
|
||||
"y" : 6,
|
||||
"width" : 190,
|
||||
"color" : "yellow",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"TitleName",
|
||||
"type":"text",
|
||||
"x":95,
|
||||
"y":3,
|
||||
"text":uiScriptLocale.SASH_ABSORB,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Sash_Combine",
|
||||
"type" : "image",
|
||||
"x" : 9,
|
||||
"y" : 35,
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "Acce/Acce_absorb.tga",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "SashSlot",
|
||||
"type" : "slot",
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
"width" : 190,
|
||||
"height" : 200,
|
||||
"slot" : (
|
||||
{
|
||||
"index" : 0,
|
||||
"x" : 26,
|
||||
"y" : 41,
|
||||
"width" : 31,
|
||||
"height" : 31
|
||||
},
|
||||
{
|
||||
"index" : 1,
|
||||
"x" : 125,
|
||||
"y" : 8,
|
||||
"width" : 31,
|
||||
"height" : 96
|
||||
},
|
||||
{
|
||||
"index" : 2,
|
||||
"x" : 75,
|
||||
"y" : 126,
|
||||
"width" : 31,
|
||||
"height" : 31
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "AcceptButton",
|
||||
"type" : "button",
|
||||
"x" : 40,
|
||||
"y" : 235,
|
||||
"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" : 114,
|
||||
"y" : 235,
|
||||
"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",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
Reference in New Issue
Block a user