client/bin_original/UIScript/SafeboxWindow.py

82 lines
1.5 KiB
Python
Raw Permalink Normal View History

import uiScriptLocale
window = {
"name" : "SafeboxWindow",
"x" : 100,
"y" : 20,
"style" : ("movable", "float",),
"width" : 176,
"height" : 250,
"children" :
(
{
"name" : "board",
"type" : "board",
"x" : 0,
"y" : 0,
"width" : 176,
"height" : 250,
"children" :
(
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 7,
"width" : 161,
"color" : "yellow",
"children" :
(
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.SAFE_TITLE, "text_horizontal_align":"center" },
),
},
## Button
{
"name" : "ChangePasswordButton",
"type" : "button",
"x" : 0,
"y" : 58,
"text" : uiScriptLocale.SAFE_CHANGE_PASSWORD,
"horizontal_align" : "center",
"vertical_align" : "bottom",
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
},
{
"name" : "ExitButton",
"type" : "button",
"x" : 0,
"y" : 37,
"text" : uiScriptLocale.CLOSE,
"horizontal_align" : "center",
"vertical_align" : "bottom",
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
},
),
},
),
}