- import uiScriptLocale
- import localeInfo
- LOCALE_PATH = uiScriptLocale.LOGIN_PATH
- #SERVER_BOARD_HEIGHT = 180 + 390
- #SERVER_LIST_HEIGHT = 171 + 350
- SERVER_BOARD_HEIGHT = 220 + 100
- SERVER_LIST_HEIGHT = 171 + 100
- SERVER_BOARD_WEIGHT = 375
- window = {
- "name" : "LoginWindow",
- "sytle" : ("movable",),
- "x" : 0,
- "y" : 0,
- "width" : SCREEN_WIDTH,
- "height" : SCREEN_HEIGHT,
- "children" :
- (
- ## Board
- {
- "name" : "bg1", "type" : "expanded_image", "x" : 0, "y" : 0,
- "x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
- "image" : "locale/es/ui/login/serverlist.sub",
- },
- {
- "name" : "bg2", "type" : "expanded_image", "x" : 0, "y" : 0,
- "x_scale" : float(SCREEN_WIDTH) / 1024.0, "y_scale" : float(SCREEN_HEIGHT) / 768.0,
- "image" : "locale/es/ui/login/login.sub",
- },
- ## VirtualKeyboard
- {
- 'name' : 'VirtualKeyboard',
- 'type' : 'thinboard',
- 'x' : (SCREEN_WIDTH - 564) / 2,
- 'y' : SCREEN_HEIGHT - 300-50,
- 'width' : 600,
- 'height' : 250,
- 'children' :
- (
- {
- 'name' : 'key_at',
- 'type' : 'toggle_button',
- 'x' : 40+15,
- 'y' : 186,
- 'default_image' : 'locale/es/ui/login/vkey/key_at.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_at_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_at_over.tga',
- },
- {
- 'name' : 'key_backspace',
- 'type' : 'button',
- 'x' : 498+15,
- 'y' : 186,
- 'default_image' : 'locale/es/ui/login/vkey/key_backspace.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_backspace_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_backspace_over.tga',
- },
- {
- 'name' : 'key_enter',
- 'type' : 'button',
- 'x' : 439+15,
- 'y' : 186,
- 'default_image' : 'locale/es/ui/login/vkey/key_enter.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_enter_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_enter_over.tga',
- },
- {
- 'name' : 'key_shift',
- 'type' : 'toggle_button',
- 'x' : 86+15,
- 'y' : 186,
- 'default_image' : 'locale/es/ui/login/vkey/key_shift.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_shift_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_shift_over.tga',
- },
- {
- 'name' : 'key_space',
- 'type' : 'button',
- 'x' : 145+15,
- 'y' : 186,
- 'default_image' : 'locale/es/ui/login/vkey/key_space.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_space_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_space_over.tga',
- },
- {
- 'name' : 'key_1',
- 'type' : 'button',
- 'x' : 40+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_2',
- 'type' : 'button',
- 'x' : 80+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_3',
- 'type' : 'button',
- 'x' : 120+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_4',
- 'type' : 'button',
- 'x' : 160+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_5',
- 'type' : 'button',
- 'x' : 200+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_6',
- 'type' : 'button',
- 'x' : 240+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_7',
- 'type' : 'button',
- 'x' : 280+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_8',
- 'type' : 'button',
- 'x' : 320+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_9',
- 'type' : 'button',
- 'x' : 360+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_10',
- 'type' : 'button',
- 'x' : 400+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_11',
- 'type' : 'button',
- 'x' : 440+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_12',
- 'type' : 'button',
- 'x' : 480+15,
- 'y' : 24,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_13',
- 'type' : 'button',
- 'x' : 40+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_14',
- 'type' : 'button',
- 'x' : 80+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_15',
- 'type' : 'button',
- 'x' : 120+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_16',
- 'type' : 'button',
- 'x' : 160+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_17',
- 'type' : 'button',
- 'x' : 200+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_18',
- 'type' : 'button',
- 'x' : 240+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_19',
- 'type' : 'button',
- 'x' : 280+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_20',
- 'type' : 'button',
- 'x' : 320+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_21',
- 'type' : 'button',
- 'x' : 360+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_22',
- 'type' : 'button',
- 'x' : 400+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_23',
- 'type' : 'button',
- 'x' : 440+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_24',
- 'type' : 'button',
- 'x' : 480+15,
- 'y' : 63,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_25',
- 'type' : 'button',
- 'x' : 60+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_26',
- 'type' : 'button',
- 'x' : 100+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_27',
- 'type' : 'button',
- 'x' : 140+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_28',
- 'type' : 'button',
- 'x' : 180+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_29',
- 'type' : 'button',
- 'x' : 220+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_30',
- 'type' : 'button',
- 'x' : 260+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_31',
- 'type' : 'button',
- 'x' : 300+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_32',
- 'type' : 'button',
- 'x' : 340+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_33',
- 'type' : 'button',
- 'x' : 380+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_34',
- 'type' : 'button',
- 'x' : 420+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_35',
- 'type' : 'button',
- 'x' : 460+15,
- 'y' : 104,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_36',
- 'type' : 'button',
- 'x' : 60+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_37',
- 'type' : 'button',
- 'x' : 100+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_38',
- 'type' : 'button',
- 'x' : 140+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_39',
- 'type' : 'button',
- 'x' : 180+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_40',
- 'type' : 'button',
- 'x' : 220+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_41',
- 'type' : 'button',
- 'x' : 260+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_42',
- 'type' : 'button',
- 'x' : 300+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_43',
- 'type' : 'button',
- 'x' : 340+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_44',
- 'type' : 'button',
- 'x' : 380+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_45',
- 'type' : 'button',
- 'x' : 420+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- {
- 'name' : 'key_46',
- 'type' : 'button',
- 'x' : 460+15,
- 'y' : 144,
- 'default_image' : 'locale/es/ui/login/vkey/key_normal.tga',
- 'down_image' : 'locale/es/ui/login/vkey/key_normal_dn.tga',
- 'over_image' : 'locale/es/ui/login/vkey/key_normal_over.tga',
- },
- )
- },
- ## ConnectBoard
- {
- "name" : "ConnectBoard",
- "type" : "thinboard",
- "x" : -130-45,
- "y" : (SCREEN_HEIGHT - 400 - 35-50),
- "width" : 208,
- "height" : 30,
- "horizontal_align" : "center",
- "children" :
- (
- {
- "name" : "ConnectName",
- "type" : "text",
- "x" : 15,
- "y" : 0,
- "vertical_align" : "center",
- "text_vertical_align" : "left",
- "text" : uiScriptLocale.LOGIN_DEFAULT_SERVERADDR,
- },
- {
- "name" : "SelectConnectButton",
- "type" : "button",
- "x" : 150,
- "y" : 0,
- "vertical_align" : "center",
- "default_image" : "d:/ymir work/ui/public/small_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/small_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/small_button_03.sub",
- "text" : uiScriptLocale.LOGIN_SELECT_BUTTON,
- },
- ),
- },
- ## LoginBoard
- {
- "name" : "LoginBoard",
- "type" : "image",
- "x" : -130-45,
- "y" : (SCREEN_HEIGHT - 400-50),
- "horizontal_align" : "center",
- "image" : LOCALE_PATH + "loginwindow.sub",
- "children" :
- (
- {
- "name" : "ID_EditLine",
- "type" : "editline",
- "x" : 77,
- "y" : 16,
- "width" : 120,
- "height" : 18,
- "input_limit" : 16,
- "enable_codepage" : 0,
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- },
- {
- "name" : "Password_EditLine",
- "type" : "editline",
- "x" : 77,
- "y" : 43,
- "width" : 120,
- "height" : 18,
- "input_limit" : 16,
- "secret_flag" : 1,
- "enable_codepage" : 0,
- "r" : 1.0,
- "g" : 1.0,
- "b" : 1.0,
- "a" : 1.0,
- },
- {
- "name" : "LoginButton",
- "type" : "button",
- "x" : 15,
- "y" : 65,
- "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",
- "text" : uiScriptLocale.LOGIN_CONNECT,
- },
- {
- "name" : "LoginExitButton",
- "type" : "button",
- "x" : 105,
- "y" : 65,
- "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",
- "text" : uiScriptLocale.LOGIN_EXIT,
- },
- ),
- },
- ## AccountBoard
- {
- "name" : "AccountBoard",
- "type" : "thinboard",
- "x" : 150-28,
- "y" : (SCREEN_HEIGHT - 435-50),
- "width" : 388,
- "height" : 30,
- "horizontal_align" : "center",
- "children" :
- (
- {
- "name" : "AccountSave",
- "type" : "text",
- "x" : 0,
- "y" : 0,
- "vertical_align" : "center",
- "horizontal_align" : "center",
- "text_vertical_align" : "center",
- "text_horizontal_align" : "center",
- "text" : uiScriptLocale.ACCOUNT_SAVED,
- },
- ),
- },
- ## AccountBoard2
- {
- "name" : "AccountBoard2",
- "type" : "thinboard",
- "x" : 150-28,
- "y" : (SCREEN_HEIGHT - 400-50),
- "width" : 388,
- "height" : 97,
- "horizontal_align" : "center",
- "children" :
- (
- {
- "name" : "saveAccount",
- "type" : "button",
- "x" : 295,
- "y" : -12,
- "vertical_align" : "center",
- "text": uiScriptLocale.SAVE_THE_ACCOUNT,
- "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" : "deleteAccount",
- "type" : "button",
- "x" : 295,
- "y" : 12,
- "vertical_align" : "center",
- "text": uiScriptLocale.DELETE_THE_ACCOUNT,
- "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" : "pass1",
- "type" : "button",
- "x" : 15,
- "y" : 6,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass2",
- "type" : "button",
- "x" : 15,
- "y" : 21,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass3",
- "type" : "button",
- "x" : 15,
- "y" : 36,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass4",
- "type" : "button",
- "x" : 15,
- "y" : 51,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass5",
- "type" : "button",
- "x" : 15,
- "y" : 66,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass6",
- "type" : "button",
- "x" : 100+5,
- "y" : 6,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass7",
- "type" : "button",
- "x" : 100+5,
- "y" : 21,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass8",
- "type" : "button",
- "x" : 100+5,
- "y" : 36,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass9",
- "type" : "button",
- "x" : 100+5,
- "y" : 51,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass10",
- "type" : "button",
- "x" : 100+5,
- "y" : 66,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass11",
- "type" : "button",
- "x" : 185+10,
- "y" : 6,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass12",
- "type" : "button",
- "x" : 185+10,
- "y" : 21,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass13",
- "type" : "button",
- "x" : 185+10,
- "y" : 36,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass14",
- "type" : "button",
- "x" : 185+10,
- "y" : 51,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- {
- "name" : "pass15",
- "type" : "button",
- "x" : 185+10,
- "y" : 66,
- "text_horizontal_align" : "right",
- "default_image" : "locale/es/ui/login/not_valid.dds",
- "over_image" : "locale/es/ui/login/not_valid.dds",
- "down_image" : "locale/es/ui/login/valid.dds",
- },
- ),
- },
- ## ServerBoard
- {
- "name" : "ServerBoard",
- "type" : "thinboard",
- "x" : 0,
- "y" : SCREEN_HEIGHT - SERVER_BOARD_HEIGHT - 72-50,
- "width" : 375,
- "height" : SERVER_BOARD_HEIGHT,
- "horizontal_align" : "center",
- "children" :
- (
- ## Title
- {
- "name" : "Title",
- "type" : "text",
- "x" : 0,
- "y" : 12,
- "horizontal_align" : "center",
- "text_horizontal_align" : "center",
- "text" : uiScriptLocale.LOGIN_SELECT_TITLE,
- },
- ## Horizontal
- {
- "name" : "HorizontalLine1",
- "type" : "line",
- "x" : 10,
- "y" : 34,
- "width" : 354,
- "height" : 0,
- "color" : 0xff777777,
- },
- {
- "name" : "HorizontalLine2",
- "type" : "line",
- "x" : 10,
- "y" : 35,
- "width" : 355,
- "height" : 0,
- "color" : 0xff111111,
- },
- ## Vertical
- {
- "name" : "VerticalLine1",
- "type" : "line",
- "x" : 246,
- "y" : 38,
- "width" : 0,
- "height" : SERVER_LIST_HEIGHT + 4,
- "color" : 0xff777777,
- },
- {
- "name" : "VerticalLine2",
- "type" : "line",
- "x" : 247,
- "y" : 38,
- "width" : 0,
- "height" : SERVER_LIST_HEIGHT + 4,
- "color" : 0xff111111,
- },
- ## ListBox
- {
- "name" : "ServerList",
- "type" : "listbox2",
- "x" : 10,
- "y" : 40,
- "width" : 232,
- "height" : SERVER_LIST_HEIGHT,
- "row_count" : 15,
- if localeInfo.IsARABIC():
- "item_align" : 190,
- else
- "item_align" : 0,
- },
- {
- "name" : "ChannelList",
- "type" : "listbox",
- "x" : 255,
- "y" : 40,
- "width" : 109,
- "height" : SERVER_LIST_HEIGHT,
- "item_align" : 0,
- },
- {
- "name" : "shadow",
- "type" : "expanded_image",
- "x" : SCREEN_WIDTH / 2 - 580 - 12.9,
- "y" : SCREEN_HEIGHT - 750 - 12.8,
- "x_scale" : 1.21875,
- "y_scale" : 1.21875,
- #"image" : "multi/shadow.png",
- },
- ## Buttons
- {
- "name" : "ServerSelectButton",
- "type" : "button",
- "x" : 267,
- "y" : SERVER_LIST_HEIGHT,
- "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",
- "text" : uiScriptLocale.OK,
- },
- {
- "name" : "ServerExitButton",
- "type" : "button",
- "x" : 267,
- "y" : SERVER_LIST_HEIGHT + 22,
- "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",
- "text" : uiScriptLocale.LOGIN_SELECT_EXIT,
- },
- ),
- },
- ),
- }