forked from metin2/client
51 lines
744 B
Python
51 lines
744 B
Python
|
import uiScriptLocale
|
||
|
|
||
|
WEB_WIDTH = 780
|
||
|
WEB_HEIGHT = 560
|
||
|
|
||
|
window = {
|
||
|
"name" : "MallWindow",
|
||
|
|
||
|
"x" : 0,
|
||
|
"y" : 0,
|
||
|
|
||
|
"width" : WEB_WIDTH + 20,
|
||
|
"height" : WEB_HEIGHT + 40,
|
||
|
|
||
|
"children" :
|
||
|
(
|
||
|
{
|
||
|
"name" : "board",
|
||
|
"type" : "board",
|
||
|
"style" : ("attach",),
|
||
|
|
||
|
"x" : 0,
|
||
|
"y" : 0,
|
||
|
|
||
|
"width" : WEB_WIDTH + 20,
|
||
|
"height" : WEB_HEIGHT + 40,
|
||
|
|
||
|
"children" :
|
||
|
(
|
||
|
## Title
|
||
|
{
|
||
|
"name" : "TitleBar",
|
||
|
"type" : "titlebar",
|
||
|
"style" : ("attach",),
|
||
|
|
||
|
"x" : 8,
|
||
|
"y" : 7,
|
||
|
|
||
|
"width" : WEB_WIDTH + 10,
|
||
|
"color" : "yellow",
|
||
|
|
||
|
"children" :
|
||
|
(
|
||
|
{ "name":"TitleName", "type":"text", "x":50, "y":3, "text":uiScriptLocale.SYSTEM_MALL, "text_horizontal_align":"center" },
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
}
|