AVA2 cross-platform client parity baseline
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 456 B |
@@ -0,0 +1,699 @@
|
||||
import localeInfo
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
LOCALE_PATH = uiScriptLocale.SELECT_PATH
|
||||
|
||||
BOARD_X = SCREEN_WIDTH * (25) / 800
|
||||
BOARD_Y = SCREEN_HEIGHT * (156) / 600
|
||||
|
||||
X_GAP = 11
|
||||
Y_GAP = 12
|
||||
SELECT_BTN_GAP = 44
|
||||
|
||||
NAME_X = 18
|
||||
NAME_Y = 84
|
||||
NAME_SCALE_X = 0.65
|
||||
NAME_SCALE_Y = 0.65
|
||||
FACE_X = 4
|
||||
FACE_Y = -23
|
||||
|
||||
SMALL_NAME_X = 150 - 65
|
||||
SMALL_NAME_Y = 6
|
||||
SMALL_NAME_SCALE_X = 1.0
|
||||
SMALL_NAME_SCALE_Y = 1.0
|
||||
|
||||
FLAG_SCALE_X = 0.45
|
||||
FLAG_SCALE_Y = 0.45
|
||||
|
||||
SHADOW_SCALE_X = 3.0 * SCREEN_WIDTH / 800.0
|
||||
SHADOW_SCALE_Y = 2.0 * SCREEN_HEIGHT / 600.0
|
||||
|
||||
STAT_GAUGE_X = X_GAP + 3
|
||||
STAT_GAUGE_Y = 286
|
||||
STAT_GAUGE_BAR_X = 40
|
||||
STAT_GAUGE_BAR_WIDTH = 105
|
||||
STAT_GAUGE_GAP = 18
|
||||
STAT_GAUGE_TEXT_WIDTH = 21
|
||||
STAT_GAUGE_TEXT_HEIGHT = 13
|
||||
|
||||
THINBOARD_GOLD_HEIGHT = 364
|
||||
THINBOARD_CIRCLE_LEFT_WIDTH = 175
|
||||
THINBOARD_CIRCLE_RIGHT_WIDTH = 180
|
||||
THINBOARD_CIRCLE_RIGHT_HEIGHT = 270
|
||||
|
||||
window = {
|
||||
"name" : "New_CreateCharacterWindow",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 1024.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 768.0,
|
||||
"image" : LOCALE_PATH + "empire/background/empire_sinsu.sub",
|
||||
},
|
||||
{
|
||||
"name" : "BackGround2",
|
||||
"type" : "expanded_image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 1024.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 768.0,
|
||||
"image" : LOCALE_PATH + "empire/background/empire_chunjo.sub",
|
||||
},
|
||||
{
|
||||
"name" : "BackGround3",
|
||||
"type" : "expanded_image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 1024.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 768.0,
|
||||
"image" : LOCALE_PATH + "empire/background/empire_jinno.sub",
|
||||
},
|
||||
{
|
||||
"name" : "desc_phase",
|
||||
"type" : "image",
|
||||
"x" : 0,
|
||||
"y" : BOARD_Y - NAME_Y - 45,
|
||||
"image" : ROOT_PATH + "public_intro_btn/descPhase_btn.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "desc_phase_text",
|
||||
"type" : "text",
|
||||
"x" : 18,
|
||||
"y" : 7,
|
||||
"r" : 0.7843,
|
||||
"g" : 0.7843,
|
||||
"b" : 0.7843,
|
||||
"text" : localeInfo.CHARACTER_CREATE_MODE,
|
||||
"fontsize" : "LARGE",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Shadow",
|
||||
"type" : "expanded_image",
|
||||
"x" : SCREEN_WIDTH/2 - (64)*SHADOW_SCALE_X,
|
||||
"y" : SCREEN_HEIGHT - SCREEN_HEIGHT*(70)/600.0 - (88)*SHADOW_SCALE_Y/2.0,
|
||||
"x_scale" : SHADOW_SCALE_X,
|
||||
"y_scale" : SHADOW_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "shadow/shadow.tga",
|
||||
},
|
||||
{
|
||||
"name" : "name_warrior",
|
||||
"type" : "expanded_image",
|
||||
"x" : BOARD_X + NAME_X,
|
||||
"y" : BOARD_Y - NAME_Y,
|
||||
"x_scale" : NAME_SCALE_X,
|
||||
"y_scale" : NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "name_warrior.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin",
|
||||
"type" : "expanded_image",
|
||||
"x" : BOARD_X + NAME_X,
|
||||
"y" : BOARD_Y - NAME_Y,
|
||||
"x_scale" : NAME_SCALE_X,
|
||||
"y_scale" : NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "name_assassin.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_sura",
|
||||
"type" : "expanded_image",
|
||||
"x" : BOARD_X + NAME_X,
|
||||
"y" : BOARD_Y - NAME_Y,
|
||||
"x_scale" : NAME_SCALE_X,
|
||||
"y_scale" : NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "name_sura.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman",
|
||||
"type" : "expanded_image",
|
||||
"x" : BOARD_X + NAME_X,
|
||||
"y" : BOARD_Y - NAME_Y,
|
||||
"x_scale" : NAME_SCALE_X,
|
||||
"y_scale" : NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "name_shaman.sub",
|
||||
},
|
||||
{
|
||||
"name" : "name_wolf",
|
||||
"type" : "expanded_image",
|
||||
"x" : BOARD_X + NAME_X,
|
||||
"y" : BOARD_Y - NAME_Y,
|
||||
"x_scale" : NAME_SCALE_X,
|
||||
"y_scale" : NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "name_wolf.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_board",
|
||||
"type" : "thinboard_gold",
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y,
|
||||
"width" : THINBOARD_CIRCLE_LEFT_WIDTH + (X_GAP * 2) + 1,
|
||||
"height" : 305,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireNameSlot",
|
||||
"type" : "thinboard_circle",
|
||||
"x" : X_GAP,
|
||||
"y" : Y_GAP,
|
||||
"width" : THINBOARD_CIRCLE_LEFT_WIDTH, "height" : 42,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EmpireFlag_A",
|
||||
"type" : "expanded_image",
|
||||
"x" : 4,
|
||||
"y" : 3,
|
||||
"x_scale" : FLAG_SCALE_X,
|
||||
"y_scale" : FLAG_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "empire/empireflag_a.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_B",
|
||||
"type" : "expanded_image",
|
||||
"x" : 4,
|
||||
"y" : 3,
|
||||
"x_scale" : FLAG_SCALE_X,
|
||||
"y_scale" : FLAG_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "empire/empireflag_b.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireFlag_C",
|
||||
"type" : "expanded_image",
|
||||
"x" : 4,
|
||||
"y" : 3,
|
||||
"x_scale" : FLAG_SCALE_X,
|
||||
"y_scale" : FLAG_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "empire/empireflag_c.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EmpireName",
|
||||
"type" : "text",
|
||||
"x" : 29,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.SELECT_EMPIRE_NAME,
|
||||
"fontsize" : "LARGE",
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "SelectJobSlot",
|
||||
"type" : "thinboard_circle",
|
||||
"x" : X_GAP,
|
||||
"y" : 61,
|
||||
"width" : THINBOARD_CIRCLE_LEFT_WIDTH,
|
||||
"height" : 231,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "WARRIOR",
|
||||
"type" : "radio_button",
|
||||
"x" : X_GAP + 4,
|
||||
"y" : 10,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_03.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CharacterFace_0",
|
||||
"type" : "image",
|
||||
"x" : -6,
|
||||
"y" : -4,
|
||||
"image" : "D:/ymir work/ui/intro/public_intro/face/face_warrior_m_01.sub"
|
||||
},
|
||||
{
|
||||
"name" : "name_warrior_small",
|
||||
"type" : "expanded_image",
|
||||
"x" : SMALL_NAME_X,
|
||||
"y" : SMALL_NAME_Y,
|
||||
"x_scale" : SMALL_NAME_SCALE_X,
|
||||
"y_scale" : SMALL_NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "public_intro/name/name_warrior_small.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "ASSASSIN",
|
||||
"type" : "radio_button",
|
||||
"x" : X_GAP + 4,
|
||||
"y" : 10 + SELECT_BTN_GAP,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_03.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CharacterFace_1",
|
||||
"type" : "image",
|
||||
"x" : -6,
|
||||
"y" : -4,
|
||||
"image" : "D:/ymir work/ui/intro/public_intro/face/face_assassin_m_01.sub"
|
||||
},
|
||||
{
|
||||
"name" : "name_assassin_small",
|
||||
"type" : "expanded_image",
|
||||
"x" : SMALL_NAME_X,
|
||||
"y" : SMALL_NAME_Y,
|
||||
"x_scale" : SMALL_NAME_SCALE_X,
|
||||
"y_scale" : SMALL_NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "public_intro/name/name_assassin_small.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "SURA",
|
||||
"type" : "radio_button",
|
||||
"x" : X_GAP + 4,
|
||||
"y" : 10 + SELECT_BTN_GAP*2,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_03.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CharacterFace_2",
|
||||
"type" : "image",
|
||||
"x" : -6,
|
||||
"y" : -4,
|
||||
"image" : "D:/ymir work/ui/intro/public_intro/face/face_sura_m_01.sub"
|
||||
},
|
||||
{
|
||||
"name" : "name_sura_small",
|
||||
"type" : "expanded_image",
|
||||
"x" : SMALL_NAME_X,
|
||||
"y" : SMALL_NAME_Y,
|
||||
"x_scale" : SMALL_NAME_SCALE_X,
|
||||
"y_scale" : SMALL_NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "public_intro/name/name_sura_small.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "SHAMAN",
|
||||
"type" : "radio_button",
|
||||
"x" : X_GAP + 4,
|
||||
"y" : 10 + SELECT_BTN_GAP*3,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_03.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CharacterFace_3",
|
||||
"type" : "image",
|
||||
"x" : -6,
|
||||
"y" : -4,
|
||||
"image" : "D:/ymir work/ui/intro/public_intro/face/face_shaman_m_01.sub"
|
||||
},
|
||||
{
|
||||
"name" : "name_shaman_small",
|
||||
"type" : "expanded_image",
|
||||
"x" : SMALL_NAME_X,
|
||||
"y" : SMALL_NAME_Y,
|
||||
"x_scale" : SMALL_NAME_SCALE_X,
|
||||
"y_scale" : SMALL_NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "public_intro/name/name_shaman_small.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "WOLF",
|
||||
"type" : "radio_button",
|
||||
"x" : X_GAP + 4,
|
||||
"y" : 10 + SELECT_BTN_GAP*4,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/150x35_Createbtn_03.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "CharacterFace_4",
|
||||
"type" : "image",
|
||||
"x" : -6,
|
||||
"y" : -4,
|
||||
"image" : "D:/ymir work/ui/intro/public_intro/face/face_wolfman_m_01.sub"
|
||||
},
|
||||
{
|
||||
"name" : "name_wolf_small",
|
||||
"type" : "expanded_image",
|
||||
"x" : SMALL_NAME_X,
|
||||
"y" : SMALL_NAME_Y,
|
||||
"x_scale" : SMALL_NAME_SCALE_X,
|
||||
"y_scale" : SMALL_NAME_SCALE_Y,
|
||||
"image" : LOCALE_PATH + "public_intro/name/name_wolf_small.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "select_thinboard2",
|
||||
"type" : "thinboard_gold",
|
||||
"x" : BOARD_X,
|
||||
"y" : BOARD_Y + 305 + 3,
|
||||
"width" : THINBOARD_CIRCLE_LEFT_WIDTH + (X_GAP * 2) + 1,
|
||||
"height" : (Y_GAP * 2) + 48,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "SelectSex",
|
||||
"type" : "image",
|
||||
"x" : X_GAP - 1,
|
||||
"y" : Y_GAP,
|
||||
"image" : ROOT_PATH + "public_intro_btn/88x47_btn.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "gender_button_01",
|
||||
"type" : "radio_button",
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/sex_M_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/sex_M_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/sex_M_btn_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "gender_button_02",
|
||||
"type" : "radio_button",
|
||||
"x" : 88 - 5 - 37,
|
||||
"y" : 5,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/sex_W_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/sex_W_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/sex_W_btn_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "SelectShpae",
|
||||
"type" : "image",
|
||||
"x" : THINBOARD_CIRCLE_LEFT_WIDTH + X_GAP - 87,
|
||||
"y" : Y_GAP,
|
||||
"image" : ROOT_PATH + "public_intro_btn/88x47_btn.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "shape_button_01",
|
||||
"type" : "radio_button",
|
||||
"x" : 5,
|
||||
"y" : 5,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/shape1_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/shape1_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/shape1_btn_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "shape_button_02",
|
||||
"type" : "radio_button",
|
||||
"x" : 88 - 5 - 37,
|
||||
"y" : 5,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/shape2_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/shape2_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/shape2_btn_03.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "character_discriptionboard",
|
||||
"type" : "thinboard_gold",
|
||||
"x" : SCREEN_WIDTH - BOARD_X - (THINBOARD_CIRCLE_RIGHT_WIDTH + (X_GAP * 2)),
|
||||
"y" : BOARD_Y,
|
||||
"width" : THINBOARD_CIRCLE_RIGHT_WIDTH + (X_GAP * 2) + 1,
|
||||
"height" : THINBOARD_GOLD_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "raceName_Btn",
|
||||
"type" : "image",
|
||||
"x" : 10,
|
||||
"y" : -17,
|
||||
"image" : ROOT_PATH + "public_intro_btn/raceName_btn.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "DiscFace",
|
||||
"type" : "image",
|
||||
"x" : FACE_X,
|
||||
"y" : FACE_Y,
|
||||
"image" : "d:/ymir work/bin/icon/face/warrior_m.tga"
|
||||
},
|
||||
{
|
||||
"name" : "raceName_Text",
|
||||
"type" : "text",
|
||||
"x" : 100,
|
||||
"y" : 5,
|
||||
"r" : 0.7843,
|
||||
"g" : 0.7843,
|
||||
"b" : 0.7843,
|
||||
"text" : localeInfo.JOB_WARRIOR, "text_horizontal_align" : "center"
|
||||
}
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "text_board",
|
||||
"type" : "thinboard_circle",
|
||||
"x" : X_GAP,
|
||||
"y" : Y_GAP,
|
||||
"width" : THINBOARD_CIRCLE_RIGHT_WIDTH,
|
||||
"height" : THINBOARD_CIRCLE_RIGHT_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "prev_button",
|
||||
"type" : "button",
|
||||
"x" : 122,
|
||||
"y" : 250,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/prev_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/prev_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/prev_btn_01.sub",
|
||||
},
|
||||
{
|
||||
"name" : "next_button",
|
||||
"type" : "button",
|
||||
"x" : 122 + 20 + 10,
|
||||
"y" : 250,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/next_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/next_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/next_btn_01.sub",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "hth",
|
||||
"type" : "text",
|
||||
"x" : STAT_GAUGE_X,
|
||||
"y" : STAT_GAUGE_Y,
|
||||
"text" : uiScriptLocale.CREATE_HP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_gauge",
|
||||
"type" : "gauge",
|
||||
"x" : STAT_GAUGE_BAR_X,
|
||||
"y" : 4,
|
||||
"width" : STAT_GAUGE_BAR_WIDTH,
|
||||
"color" : "red",
|
||||
},
|
||||
{
|
||||
"name" : "hth_slot",
|
||||
"type" : "slotbar",
|
||||
"x" : STAT_GAUGE_BAR_WIDTH + STAT_GAUGE_BAR_X + 7,
|
||||
"y" : -1,
|
||||
"width" : STAT_GAUGE_TEXT_WIDTH,
|
||||
"height" : STAT_GAUGE_TEXT_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "hth_value",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "0",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "int",
|
||||
"type" : "text",
|
||||
"x" : STAT_GAUGE_X,
|
||||
"y" : STAT_GAUGE_Y + STAT_GAUGE_GAP,
|
||||
"text" : uiScriptLocale.CREATE_SP,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_gauge",
|
||||
"type" : "gauge",
|
||||
"x" : STAT_GAUGE_BAR_X,
|
||||
"y" : 4,
|
||||
"width" : STAT_GAUGE_BAR_WIDTH,
|
||||
"color" : "pink",
|
||||
},
|
||||
{
|
||||
"name" : "int_slot",
|
||||
"type" : "slotbar",
|
||||
"x" : STAT_GAUGE_BAR_WIDTH + STAT_GAUGE_BAR_X + 7,
|
||||
"y" : -1,
|
||||
"width" : STAT_GAUGE_TEXT_WIDTH,
|
||||
"height" : STAT_GAUGE_TEXT_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "int_value",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "0",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "str",
|
||||
"type" : "text",
|
||||
"x" : STAT_GAUGE_X,
|
||||
"y" : STAT_GAUGE_Y + STAT_GAUGE_GAP*2,
|
||||
"text" : uiScriptLocale.CREATE_ATT_GRADE,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_gauge",
|
||||
"type" : "gauge",
|
||||
"x" : STAT_GAUGE_BAR_X,
|
||||
"y" : 4,
|
||||
"width" : STAT_GAUGE_BAR_WIDTH,
|
||||
"color" : "purple",
|
||||
},
|
||||
{
|
||||
"name" : "str_slot",
|
||||
"type" : "slotbar",
|
||||
"x" : STAT_GAUGE_BAR_WIDTH + STAT_GAUGE_BAR_X + 7,
|
||||
"y" : -1, "width" : STAT_GAUGE_TEXT_WIDTH,
|
||||
"height" : STAT_GAUGE_TEXT_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "str_value",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "0",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "dex",
|
||||
"type" : "text",
|
||||
"x" : STAT_GAUGE_X,
|
||||
"y" : STAT_GAUGE_Y + STAT_GAUGE_GAP*3,
|
||||
"text" : uiScriptLocale.CREATE_DEX_GRADE,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_gauge",
|
||||
"type" : "gauge",
|
||||
"x" : STAT_GAUGE_BAR_X,
|
||||
"y" : 4,
|
||||
"width" : STAT_GAUGE_BAR_WIDTH,
|
||||
"color" : "blue",
|
||||
},
|
||||
{
|
||||
"name" : "dex_slot",
|
||||
"type" : "slotbar",
|
||||
"x" : STAT_GAUGE_BAR_WIDTH + STAT_GAUGE_BAR_X + 7,
|
||||
"y" : -1,
|
||||
"width" : STAT_GAUGE_TEXT_WIDTH,
|
||||
"height" : STAT_GAUGE_TEXT_HEIGHT,
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "dex_value",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 1,
|
||||
"all_align" : "center",
|
||||
"text" : "0",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "textAlpha",
|
||||
"type" : "image",
|
||||
"x" : SCREEN_WIDTH/2 - 153,
|
||||
"y" : SCREEN_HEIGHT - SCREEN_HEIGHT*(70)/600.0 - 31,
|
||||
"image" : ROOT_PATH + "public_intro_btn/textAlpha.sub",
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "character_name",
|
||||
"type" : "text",
|
||||
"x" : 58,
|
||||
"y" : 6,
|
||||
"r" : 0.7843,
|
||||
"g" : 0.7843,
|
||||
"b" : 0.7843,
|
||||
"text" : uiScriptLocale.CREATE_NAME, "text_horizontal_align" : "center",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_slot",
|
||||
"type" : "image",
|
||||
"x" : 97,
|
||||
"y" : 4,
|
||||
"image" : "d:/ymir work/ui/public/parameter_slot_04.sub",
|
||||
},
|
||||
{
|
||||
"name" : "character_name_value",
|
||||
"type" : "editline",
|
||||
"x" : 100,
|
||||
"y" : 6,
|
||||
"input_limit" : 12,
|
||||
"width" : 90,
|
||||
"height" : 20,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "create_button",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH/2 - 107,
|
||||
"y" : SCREEN_HEIGHT - SCREEN_HEIGHT*(70)/600.0,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/addcharacter_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/addcharacter_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/addcharacter_btn_03.sub",
|
||||
},
|
||||
{
|
||||
"name" : "cancel_button",
|
||||
"type" : "button",
|
||||
"x" : SCREEN_WIDTH/2 + 32,
|
||||
"y" : SCREEN_HEIGHT - SCREEN_HEIGHT*(70)/600.0,
|
||||
"default_image" : ROOT_PATH + "public_intro_btn/cancel_btn_01.sub",
|
||||
"over_image" : ROOT_PATH + "public_intro_btn/cancel_btn_02.sub",
|
||||
"down_image" : ROOT_PATH + "public_intro_btn/cancel_btn_03.sub",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
"name" : "DragonSoulRefineWindow",
|
||||
|
||||
## ¿ëÈ¥¼® â ¹Ù·Î ¿ÞÂÊ
|
||||
"x" : SCREEN_WIDTH - 176 - 287 - 10 - 287,
|
||||
"y" : SCREEN_HEIGHT - 37 - 505,
|
||||
|
||||
"style" : ("movable", "float", "animate",),
|
||||
|
||||
"width" : 287,
|
||||
"height" : 232,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 287,
|
||||
"height" : 232,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Base BackGroud Image
|
||||
{
|
||||
"name" : "DragonSoulRefineWindowBaseImage",
|
||||
"type" : "expanded_image",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_refine_bg.tga",
|
||||
},
|
||||
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 5,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 275,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"TitleName",
|
||||
"type":"text",
|
||||
"x":140,
|
||||
"y":5,
|
||||
"text":uiScriptLocale.DRAGONSOUL_REFINE_WINDOW_TITLE,
|
||||
"text_horizontal_align":"center"
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Refine Slot
|
||||
{
|
||||
"name" : "RefineSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/cap.tga",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 39,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
},
|
||||
|
||||
## Result Slot
|
||||
{
|
||||
"name" : "ResultSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 207,
|
||||
"y" : 39,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 2,
|
||||
"y_count" : 3,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
},
|
||||
|
||||
## Grade Button
|
||||
{
|
||||
"name" : "GradeButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 36,
|
||||
"y" : 148,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GradeSlotTitle",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : uiScriptLocale.GRADE_SELECT,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Step Button
|
||||
{
|
||||
"name" : "StepButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 118,
|
||||
"y" : 148,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "StepSlotTitle",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : uiScriptLocale.STEP_SELECT,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Refine Button
|
||||
{
|
||||
"name" : "StrengthButton",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 198,
|
||||
"y" : 148,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "RefineSlotTitle",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"all_align" : "center",
|
||||
"text" : uiScriptLocale.STRENGTH_SELECT,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Money Print
|
||||
{
|
||||
"name":"Money_Slot",
|
||||
"type" : "text",
|
||||
|
||||
"x":35,
|
||||
"y":180,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : "123456789",
|
||||
},
|
||||
|
||||
## Do Refine Button
|
||||
{
|
||||
"name" : "DoRefineButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 188,
|
||||
"y" : 200,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/l_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/l_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/l_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "DoRefineButtonTitle",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.DO_REFINE,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "DoAllRefineButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 188-90,
|
||||
"y" : 200,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/l_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/l_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/l_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "DoAllRefineButtonTitle",
|
||||
"type" : "text",
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"text" : uiScriptLocale.DRAGONSOUL_ALL_REFINE,
|
||||
"all_align" : "center",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
|
||||
@@ -0,0 +1,815 @@
|
||||
import uiScriptLocale
|
||||
import app
|
||||
|
||||
if app.ENABLE_DS_GRADE_MYTH:
|
||||
window = {
|
||||
"name" : "InventoryWindow",
|
||||
|
||||
## 600 - (width + 오른쪽으로 부터 띄우기 24 px)
|
||||
#"x" : SCREEN_WIDTH - 176 - 287 - 10,
|
||||
#"y" : SCREEN_HEIGHT - 37 - 505,
|
||||
|
||||
"x" : SCREEN_WIDTH - 175 - 287,
|
||||
"y" : SCREEN_HEIGHT - 37 - 40 - 525,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 287,
|
||||
"height" : 525,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 287,
|
||||
"height" : 525,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Equipment_Base",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_bg.tga",
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_01", "type" : "radio_button",
|
||||
"x" : 16, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_01_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_01_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_01_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_02", "type" : "radio_button",
|
||||
"x" : 59, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_02_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_02_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_02_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_03", "type" : "radio_button",
|
||||
"x" : 102, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_03_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_03_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_03_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_04", "type" : "radio_button",
|
||||
"x" : 145, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_04_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_04_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_04_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_05", "type" : "radio_button",
|
||||
"x" : 188, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_05_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_05_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_05_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_06", "type" : "radio_button",
|
||||
"x" : 231, "y" : 331,
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/btn_soul_06_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/btn_soul_06_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/btn_soul_06_3.tga",
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 355,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 8,
|
||||
"y_count" : 4,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
#"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 287,
|
||||
"height" : 280,
|
||||
|
||||
"slot" : (
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+0, "x":128, "y":53, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+1, "x":59, "y":93, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+2, "x":59, "y":179, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+3, "x":128, "y":219, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+4, "x":194, "y":179, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+5, "x":194, "y":93, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "deck1",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 230,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/deck1_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/deck1_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/deck1_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "deck2",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 234,
|
||||
"y" : 230,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/deck2_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/deck2_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/deck2_3.tga",
|
||||
},
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 271,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":130, "y":3, "text":uiScriptLocale.DRAGONSOUL_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 279,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap01.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap02.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap04.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_05",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap05.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_06",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap06.tga",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 42,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 82,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 122,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_05",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 162,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_06",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 202,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "tab_text_area",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 18,
|
||||
"y" : 315,
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_TAP_TITLE_1,
|
||||
"color" : 0xFFC0C0C0,
|
||||
},
|
||||
{
|
||||
"name" : "activate",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 217,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_ACTIVATE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "DSRefine_Button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DO_REFINE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "DSShop_Button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 110,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DO_SHOP,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
else:
|
||||
window = {
|
||||
"name" : "InventoryWindow",
|
||||
|
||||
## 600 - (width + 오른쪽으로 부터 띄우기 24 px)
|
||||
"x" : SCREEN_WIDTH - 176 - 287 - 10,
|
||||
"y" : SCREEN_HEIGHT - 37 - 525,
|
||||
|
||||
"style" : ("movable", "float",),
|
||||
|
||||
"width" : 287,
|
||||
"height" : 505,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 287,
|
||||
"height" : 505,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Equipment_Base",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_bg.tga",
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 16,
|
||||
"y" : 332,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_1,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 67,
|
||||
"y" : 332,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_2,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 118,
|
||||
"y" : 332,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_03_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_3,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 169,
|
||||
"y" : 332,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_04_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_4,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_05",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 220,
|
||||
"y" : 332,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/s_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/s_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/s_button03.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_05_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_PAGE_BUTTON_5,
|
||||
"color" : 0xFFF1E6C0,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 355,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 8,
|
||||
"y_count" : 4,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
#"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 287,
|
||||
"height" : 280,
|
||||
|
||||
"slot" : (
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+0, "x":128, "y":53, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+1, "x":59, "y":93, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+2, "x":59, "y":179, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+3, "x":128, "y":219, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+4, "x":194, "y":179, "width":32, "height":32},
|
||||
{"index":DRAGON_SOUL_EQUIPMENT_SLOT_START+5, "x":194, "y":93, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "deck1",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 21,
|
||||
"y" : 230,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/deck1_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/deck1_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/deck1_3.tga",
|
||||
},
|
||||
{
|
||||
"name" : "deck2",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 234,
|
||||
"y" : 230,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/deck2_1.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/deck2_2.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/deck2_3.tga",
|
||||
},
|
||||
## Title
|
||||
{
|
||||
"name" : "TitleBar",
|
||||
"type" : "titlebar",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 8,
|
||||
"y" : 7,
|
||||
|
||||
"width" : 271,
|
||||
"color" : "yellow",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{ "name":"TitleName", "type":"text", "x":130, "y":3, "text":uiScriptLocale.DRAGONSOUL_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
## Tab Area
|
||||
{
|
||||
"name" : "TabControl",
|
||||
"type" : "window",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 279,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Tab
|
||||
{
|
||||
"name" : "Tab_01",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap01.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_02",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap02.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_03",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_04",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap04.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_05",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap05.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Tab_06",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 267,
|
||||
"height" : 30,
|
||||
|
||||
"image" : "d:/ymir work/ui/dragonsoul/tap06.tga",
|
||||
},
|
||||
## RadioButton
|
||||
{
|
||||
"name" : "Tab_Button_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 2,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 42,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_03",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 82,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_04",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 122,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_05",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 162,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
{
|
||||
"name" : "Tab_Button_06",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 202,
|
||||
"y" : 2,
|
||||
|
||||
"width" : 36,
|
||||
"height" : 27,
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "tab_text_area",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 18,
|
||||
"y" : 315,
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_TAP_TITLE_1,
|
||||
"color" : 0xFFC0C0C0,
|
||||
},
|
||||
{
|
||||
"name" : "activate",
|
||||
"type" : "toggle_button",
|
||||
|
||||
"x" : 217,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DRAGONSOUL_ACTIVATE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "DSRefine_Button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DO_REFINE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "DSShop_Button",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 492,
|
||||
|
||||
"text" : uiScriptLocale.DO_SHOP,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/m_button01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/m_button02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/m_button03.tga",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 854 KiB |
|
After Width: | Height: | Size: 502 B |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "empire.dds"
|
||||
left 0
|
||||
top 0
|
||||
right 512
|
||||
bottom 90
|
||||
@@ -0,0 +1,70 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
Y_ADD_POSITION = 0
|
||||
window = {
|
||||
"name" : "EnergyBar",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 55,
|
||||
|
||||
"width" : 50,
|
||||
"height" : 10,
|
||||
|
||||
"children" :
|
||||
(
|
||||
# ±â·Â
|
||||
{
|
||||
"name" : "EnergyGauge_Board",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : -10 + Y_ADD_POSITION,
|
||||
|
||||
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/energygauge_base.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "EnergyGauge_Empty",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 8,
|
||||
|
||||
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_empty.tga",
|
||||
},
|
||||
{
|
||||
"name" : "EnergyGauge_Hungry",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 8,
|
||||
|
||||
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_hungry.tga",
|
||||
},
|
||||
{
|
||||
"name" : "EnergyGauge_Full",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 5,
|
||||
"y" : 8,
|
||||
|
||||
"image" : "D:/Ymir Work/UI/Pattern/EnergyGauge/gauge_full.tga",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "EnergyGauge_ToolTip",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 50,
|
||||
"height" : 10,
|
||||
"type" : "window",
|
||||
},
|
||||
),
|
||||
}
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
import uiScriptLocale
|
||||
import localeInfo
|
||||
import app
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
NEW_DESIGN_FOLDER = "d:/ymir work/ui/game/new_inventory/"
|
||||
|
||||
|
||||
Y_ADD_POSITION = 0
|
||||
window = {
|
||||
"name" : "ExpandTaskBar",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : SCREEN_WIDTH/2 - 5,
|
||||
"y" : SCREEN_HEIGHT - 74,
|
||||
|
||||
"width" : 4*40,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"name" : "ExpanedTaskBar_Board",
|
||||
"type" : "window",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 4*40,
|
||||
"height" : 37,
|
||||
|
||||
"children" :
|
||||
[
|
||||
{
|
||||
"name" : "DragonSoulButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "SwitchbotButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
"x" : 40,
|
||||
"y" : 0,
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
"tooltip_text" : uiScriptLocale.SWITCHBOT_TITLE,
|
||||
"default_image" : NEW_DESIGN_FOLDER+"switch_0.tga",
|
||||
"over_image" : NEW_DESIGN_FOLDER+"switch_1.tga",
|
||||
"down_image" : NEW_DESIGN_FOLDER+"switch_2.tga",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "ShopSearchButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
"x" : 2 * 40,
|
||||
"y" : 0,
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
"tooltip_text" : uiScriptLocale.SHOP_SEARCH_TITLE,
|
||||
"default_image" : NEW_DESIGN_FOLDER+"search_0.tga",
|
||||
"over_image" : NEW_DESIGN_FOLDER+"search_1.tga",
|
||||
"down_image" : NEW_DESIGN_FOLDER+"search_2.tga",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "WikiButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
"x" : 3 * 40,
|
||||
"y" : 0,
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
"tooltip_text" : localeInfo.WIKI_TITLE2,
|
||||
"default_image" : NEW_DESIGN_FOLDER+"wiki_0.tga",
|
||||
"over_image" : NEW_DESIGN_FOLDER+"wiki_1.tga",
|
||||
"down_image" : NEW_DESIGN_FOLDER+"wiki_2.tga",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
if app.ENABLE_AUTO_SYSTEM:
|
||||
window["width"] = 37*2
|
||||
window["children"][0]["width"] = window["children"][0]["width"] + 37
|
||||
window["children"][0]["children"] = window["children"][0]["children"] + [
|
||||
{
|
||||
"name" : "AutoButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : 38,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.KEYCHANGE_AUTO_WINDOW,
|
||||
|
||||
"default_image" : "icon/item/TaskBar_Auto_Button_01.tga",
|
||||
"over_image" : "icon/item/TaskBar_Auto_Button_02.tga",
|
||||
"down_image" : "icon/item/TaskBar_Auto_Button_03.tga",
|
||||
},]
|
||||
|
||||
if app.ENABLE_GROWTH_PET_SYSTEM:
|
||||
window["width"] = 37*3
|
||||
window["children"][0]["width"] = window["children"][0]["width"] + 37
|
||||
window["children"][0]["children"] = window["children"][0]["children"] + [
|
||||
{
|
||||
"name" : "PetInfoButton",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : 74,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.TASKBAR_DISABLE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/pet/TaskBar_Pet_Button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/pet/TaskBar_Pet_Button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/pet/TaskBar_Pet_Button_03.tga",
|
||||
},]
|
||||
if app.ENABLE_MONSTER_CARD:
|
||||
window["width"] = 37*4
|
||||
window["children"][0]["width"] = window["children"][0]["width"] + 37
|
||||
window["children"][0]["children"] = window["children"][0]["children"] + [
|
||||
{
|
||||
"name" : "MonsterCardWindow",
|
||||
"type" : "button",
|
||||
"style" : ("ltr", ),
|
||||
|
||||
"x" : 110,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 37,
|
||||
"height" : 37,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.KEYCHANGE_MONSTER_CARD_WINDOW,
|
||||
|
||||
"default_image" : "icon/item/Mcard_Button_01.tga",
|
||||
"over_image" : "icon/item/Mcard_Button_02.tga",
|
||||
"down_image" : "icon/item/Mcard_Button_03.tga",
|
||||
},]
|
||||
@@ -0,0 +1,41 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT = "d:/ymir work/ui/game/"
|
||||
|
||||
Y_ADD_POSITION = 0
|
||||
window = {
|
||||
"name" : "GiftBox",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - 45,
|
||||
|
||||
"width" : 50,
|
||||
"height" : 50,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "GiftBox_Icon",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 5,
|
||||
"y" : -90 + Y_ADD_POSITION,
|
||||
|
||||
"width" : 50,
|
||||
"height" : 50,
|
||||
|
||||
"image" : "D:/Ymir Work/UI/Pattern/GiftBox/present_for_fruends_icon.tga",
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "GiftBox_ToolTip",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 50,
|
||||
"height" : 10,
|
||||
"type" : "window",
|
||||
},
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 0
|
||||
right 456
|
||||
bottom 37
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 37
|
||||
right 456
|
||||
bottom 74
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 74
|
||||
right 456
|
||||
bottom 111
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 111
|
||||
right 456
|
||||
bottom 148
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 148
|
||||
right 456
|
||||
bottom 185
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "guild.dds"
|
||||
left 0
|
||||
top 185
|
||||
right 456
|
||||
bottom 222
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,328 @@
|
||||
import uiScriptLocale
|
||||
import item
|
||||
import app
|
||||
|
||||
if app.ENABLE_EXTEND_INVEN_SYSTEM:
|
||||
EQUIPMENT_START_INDEX = 0
|
||||
else:
|
||||
EQUIPMENT_START_INDEX = 90
|
||||
|
||||
window = {
|
||||
"name" : "InventoryWindow",
|
||||
|
||||
## 600 - (width + 오른쪽으로 부터 띄우기 24 px)
|
||||
"x" : SCREEN_WIDTH - 176,
|
||||
"y" : SCREEN_HEIGHT - 37 - 565,
|
||||
|
||||
"style" : ("movable", "float", "animate",),
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Inventory, Equipment Slots
|
||||
{
|
||||
"name" : "board",
|
||||
"type" : "board",
|
||||
"style" : ("attach",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : 176,
|
||||
"height" : 565,
|
||||
|
||||
"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.INVENTORY_TITLE, "text_horizontal_align":"center" },
|
||||
),
|
||||
},
|
||||
|
||||
## Equipment Slot
|
||||
{
|
||||
"name" : "Equipment_Base",
|
||||
"type" : "image",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33,
|
||||
|
||||
"image" : "d:/ymir work/ui/equipment_bg_without_ring.tga",
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "EquipmentSlot",
|
||||
"type" : "slot",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"width" : 150,
|
||||
"height" : 182,
|
||||
|
||||
"slot" : (
|
||||
{"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
|
||||
{"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
|
||||
{"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
|
||||
{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
|
||||
## 새 반지1
|
||||
##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
|
||||
## 새 반지2
|
||||
##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
|
||||
## 새 벨트
|
||||
{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
|
||||
),
|
||||
},
|
||||
## Dragon Soul Button
|
||||
{
|
||||
"name" : "DSSButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 114,
|
||||
"y" : 107,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.TASKBAR_DRAGON_SOUL,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/dragonsoul/dss_inventory_button_03.tga",
|
||||
},
|
||||
## OfflineShopButton
|
||||
{
|
||||
"name" : "OfflineShopButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 114-32-5,
|
||||
"y" : 107,
|
||||
|
||||
"tooltip_text" : "Offline Shop",
|
||||
|
||||
"default_image" : "locale/en/ui/offlineshop/boton1.tga",
|
||||
"over_image" : "locale/en/ui/offlineshop/boton2.tga",
|
||||
"down_image" : "locale/en/ui/offlineshop/boton3.tga",
|
||||
},
|
||||
## MallButton
|
||||
{
|
||||
"name" : "MallButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 118,
|
||||
"y" : 148,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.MALL_TITLE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
|
||||
},
|
||||
## CostumeButton
|
||||
{
|
||||
"name" : "CostumeButton",
|
||||
"type" : "button",
|
||||
|
||||
"x" : 78,
|
||||
"y" : 5,
|
||||
|
||||
"tooltip_text" : uiScriptLocale.COSTUME_TITLE,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
|
||||
"over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
|
||||
"down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
|
||||
},
|
||||
{
|
||||
"name" : "Equipment_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Equipment_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 86 + 32,
|
||||
"y" : 161,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Equipment_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Inventory_Tab_01",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_01_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "I",
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
"name" : "Inventory_Tab_02",
|
||||
"type" : "radio_button",
|
||||
|
||||
"x" : 10 + 78,
|
||||
"y" : 33 + 191,
|
||||
|
||||
"default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
|
||||
"over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
|
||||
"down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
|
||||
"tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "Inventory_Tab_02_Print",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"all_align" : "center",
|
||||
|
||||
"text" : "II",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
## Item Slot
|
||||
{
|
||||
"name" : "ItemSlot",
|
||||
"type" : "grid_table",
|
||||
|
||||
"x" : 8,
|
||||
"y" : 246,
|
||||
|
||||
"start_index" : 0,
|
||||
"x_count" : 5,
|
||||
"y_count" : 9,
|
||||
"x_step" : 32,
|
||||
"y_step" : 32,
|
||||
|
||||
"image" : "d:/ymir work/ui/public/Slot_Base.sub"
|
||||
},
|
||||
|
||||
## Print
|
||||
{
|
||||
"name":"Money_Slot",
|
||||
"type":"button",
|
||||
|
||||
"x":8,
|
||||
"y":28,
|
||||
|
||||
"horizontal_align":"center",
|
||||
"vertical_align":"bottom",
|
||||
|
||||
"default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name":"Money_Icon",
|
||||
"type":"image",
|
||||
|
||||
"x":-18,
|
||||
"y":2,
|
||||
|
||||
"image":"d:/ymir work/ui/game/windows/money_icon.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "Money",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 3,
|
||||
"y" : 3,
|
||||
|
||||
"horizontal_align" : "right",
|
||||
"text_horizontal_align" : "right",
|
||||
|
||||
"text" : "123456789",
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
|
After Width: | Height: | Size: 592 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading0.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
|
After Width: | Height: | Size: 617 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading1.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
|
After Width: | Height: | Size: 628 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading2.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
|
After Width: | Height: | Size: 678 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading3.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
|
After Width: | Height: | Size: 614 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading4.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
|
After Width: | Height: | Size: 695 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "loading5.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1920
|
||||
bottom 1080
|
||||
@@ -0,0 +1,65 @@
|
||||
import uiScriptLocale
|
||||
|
||||
window = {
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
## Board
|
||||
{
|
||||
"name" : "BackGround",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"image" : "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
|
||||
|
||||
"x_scale" : float(SCREEN_WIDTH) / 800.0,
|
||||
"y_scale" : float(SCREEN_HEIGHT) / 600.0,
|
||||
},
|
||||
{
|
||||
"name":"ErrorMessage",
|
||||
"type":"text", "x":10, "y":10,
|
||||
"text": uiScriptLocale.LOAD_ERROR,
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "GageBoard",
|
||||
"type" : "window",
|
||||
"style" : ("ltr",),
|
||||
"x" : float(SCREEN_WIDTH) * 400 / 800.0 - 200,
|
||||
"y" : float(SCREEN_HEIGHT) * 500 / 600.0 ,
|
||||
"width" : 400,
|
||||
"height": 80,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "BackGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 40,
|
||||
"y" : 25,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_empty.dds",
|
||||
},
|
||||
{
|
||||
"name" : "FullGage",
|
||||
"type" : "expanded_image",
|
||||
|
||||
"x" : 40,
|
||||
"y" : 25,
|
||||
|
||||
"image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "loading/gauge_full.dds",
|
||||
},
|
||||
),
|
||||
},
|
||||
),
|
||||
}
|
||||
|
After Width: | Height: | Size: 722 KiB |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.jpg"
|
||||
left 0
|
||||
top 0
|
||||
right 1024
|
||||
bottom 768
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.dds"
|
||||
left 0
|
||||
top 97
|
||||
right 476
|
||||
bottom 126
|
||||
|
After Width: | Height: | Size: 545 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 469 B |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.dds"
|
||||
left 440
|
||||
top 0
|
||||
right 490
|
||||
bottom 28
|
||||
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 492 B |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.dds"
|
||||
left 0
|
||||
top 0
|
||||
right 208
|
||||
bottom 97
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.dds"
|
||||
left 208
|
||||
top 0
|
||||
right 440
|
||||
bottom 19
|
||||
|
After Width: | Height: | Size: 495 B |
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "login.dds"
|
||||
left 0
|
||||
top 0
|
||||
right 443
|
||||
bottom 206
|
||||
|
After Width: | Height: | Size: 263 B |
@@ -0,0 +1,893 @@
|
||||
import uiScriptLocale
|
||||
|
||||
ROOT_PATH = "d:/ymir work/ui/public/"
|
||||
|
||||
|
||||
LOCALE_PATH = uiScriptLocale.LOGIN_PATH
|
||||
#Big-List
|
||||
#SERVER_BOARD_HEIGHT = 180 + 390
|
||||
#SERVER_LIST_HEIGHT = 171 + 350
|
||||
#Small list like german
|
||||
SERVER_BOARD_HEIGHT = 220 + 180
|
||||
SERVER_LIST_HEIGHT = 171 + 180
|
||||
SERVER_BOARD_WEIGHT = 375
|
||||
|
||||
ID_LIMIT_COUNT = 19
|
||||
PW_LIMIT_COUNT = 16
|
||||
|
||||
window = {
|
||||
"name" : "LoginWindow",
|
||||
"sytle" : ("movable", "animate",),
|
||||
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
|
||||
"width" : SCREEN_WIDTH,
|
||||
"height" : SCREEN_HEIGHT,
|
||||
|
||||
"children" :
|
||||
(
|
||||
|
||||
## Board
|
||||
{
|
||||
"name" : "bg", "type" : "expanded_image", "x" : 0, "y" : 0,
|
||||
"x_scale" : float(SCREEN_WIDTH) / 1920.0, "y_scale" : float(SCREEN_HEIGHT) / 1080.0,
|
||||
"image" : "locale/en/ui/login/background.tga",
|
||||
},
|
||||
|
||||
## VirtualKeyboard
|
||||
{
|
||||
'name' : 'VirtualKeyboard',
|
||||
'type' : 'thinboard',
|
||||
'x' : (SCREEN_WIDTH - 564) / 2,
|
||||
'y' : SCREEN_HEIGHT - 300,
|
||||
'width' : 564,
|
||||
'height' : 254,
|
||||
'children' :
|
||||
(
|
||||
{
|
||||
'name' : 'key_at',
|
||||
'type' : 'toggle_button',
|
||||
'x' : 40,
|
||||
'y' : 186,
|
||||
'default_image' : 'locale/en/ui/vkey/key_at.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_at_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_at_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_backspace',
|
||||
'type' : 'button',
|
||||
'x' : 498,
|
||||
'y' : 186,
|
||||
'default_image' : 'locale/en/ui/vkey/key_backspace.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_backspace_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_backspace_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_enter',
|
||||
'type' : 'button',
|
||||
'x' : 439,
|
||||
'y' : 186,
|
||||
'default_image' : 'locale/en/ui/vkey/key_enter.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_enter_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_enter_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_shift',
|
||||
'type' : 'toggle_button',
|
||||
'x' : 86,
|
||||
'y' : 186,
|
||||
'default_image' : 'locale/en/ui/vkey/key_shift.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_shift_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_shift_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_space',
|
||||
'type' : 'button',
|
||||
'x' : 145,
|
||||
'y' : 186,
|
||||
'default_image' : 'locale/en/ui/vkey/key_space.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_space_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_space_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_1',
|
||||
'type' : 'button',
|
||||
'x' : 40,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_2',
|
||||
'type' : 'button',
|
||||
'x' : 80,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_3',
|
||||
'type' : 'button',
|
||||
'x' : 120,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_4',
|
||||
'type' : 'button',
|
||||
'x' : 160,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_5',
|
||||
'type' : 'button',
|
||||
'x' : 200,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_6',
|
||||
'type' : 'button',
|
||||
'x' : 240,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_7',
|
||||
'type' : 'button',
|
||||
'x' : 280,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_8',
|
||||
'type' : 'button',
|
||||
'x' : 320,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_9',
|
||||
'type' : 'button',
|
||||
'x' : 360,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_10',
|
||||
'type' : 'button',
|
||||
'x' : 400,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_11',
|
||||
'type' : 'button',
|
||||
'x' : 440,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_12',
|
||||
'type' : 'button',
|
||||
'x' : 480,
|
||||
'y' : 24,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_13',
|
||||
'type' : 'button',
|
||||
'x' : 40,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_14',
|
||||
'type' : 'button',
|
||||
'x' : 80,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_15',
|
||||
'type' : 'button',
|
||||
'x' : 120,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_16',
|
||||
'type' : 'button',
|
||||
'x' : 160,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_17',
|
||||
'type' : 'button',
|
||||
'x' : 200,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_18',
|
||||
'type' : 'button',
|
||||
'x' : 240,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_19',
|
||||
'type' : 'button',
|
||||
'x' : 280,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_20',
|
||||
'type' : 'button',
|
||||
'x' : 320,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_21',
|
||||
'type' : 'button',
|
||||
'x' : 360,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_22',
|
||||
'type' : 'button',
|
||||
'x' : 400,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_23',
|
||||
'type' : 'button',
|
||||
'x' : 440,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_24',
|
||||
'type' : 'button',
|
||||
'x' : 480,
|
||||
'y' : 63,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_25',
|
||||
'type' : 'button',
|
||||
'x' : 60,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_26',
|
||||
'type' : 'button',
|
||||
'x' : 100,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_27',
|
||||
'type' : 'button',
|
||||
'x' : 140,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_28',
|
||||
'type' : 'button',
|
||||
'x' : 180,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_29',
|
||||
'type' : 'button',
|
||||
'x' : 220,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_30',
|
||||
'type' : 'button',
|
||||
'x' : 260,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_31',
|
||||
'type' : 'button',
|
||||
'x' : 300,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_32',
|
||||
'type' : 'button',
|
||||
'x' : 340,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_33',
|
||||
'type' : 'button',
|
||||
'x' : 380,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_34',
|
||||
'type' : 'button',
|
||||
'x' : 420,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_35',
|
||||
'type' : 'button',
|
||||
'x' : 460,
|
||||
'y' : 104,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_36',
|
||||
'type' : 'button',
|
||||
'x' : 60,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_37',
|
||||
'type' : 'button',
|
||||
'x' : 100,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_38',
|
||||
'type' : 'button',
|
||||
'x' : 140,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_39',
|
||||
'type' : 'button',
|
||||
'x' : 180,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_40',
|
||||
'type' : 'button',
|
||||
'x' : 220,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_41',
|
||||
'type' : 'button',
|
||||
'x' : 260,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_42',
|
||||
'type' : 'button',
|
||||
'x' : 300,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_43',
|
||||
'type' : 'button',
|
||||
'x' : 340,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_44',
|
||||
'type' : 'button',
|
||||
'x' : 380,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_45',
|
||||
'type' : 'button',
|
||||
'x' : 420,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
{
|
||||
'name' : 'key_46',
|
||||
'type' : 'button',
|
||||
'x' : 460,
|
||||
'y' : 144,
|
||||
'default_image' : 'locale/en/ui/vkey/key_normal.tga',
|
||||
'down_image' : 'locale/en/ui/vkey/key_normal_dn.tga',
|
||||
'over_image' : 'locale/en/ui/vkey/key_normal_over.tga',
|
||||
},
|
||||
)
|
||||
},
|
||||
|
||||
## ConnectBoard
|
||||
{
|
||||
"name" : "ConnectBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : (SCREEN_WIDTH - 564) / 2,
|
||||
"y" : (SCREEN_HEIGHT - 410 - 35),
|
||||
"width" : 208,
|
||||
"height" : 30,
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ConnectName",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 15,
|
||||
"y" : 0,
|
||||
"vertical_align" : "center",
|
||||
"text_vertical_align" : "center",
|
||||
|
||||
"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" : (SCREEN_WIDTH - 564) / 2,
|
||||
"y" : (SCREEN_HEIGHT - 410),
|
||||
|
||||
"image" : LOCALE_PATH + "loginwindow.sub",
|
||||
|
||||
"children" :
|
||||
(
|
||||
{
|
||||
"name" : "ID_EditLine",
|
||||
"type" : "editline",
|
||||
|
||||
"x" : 77,
|
||||
"y" : 16,
|
||||
|
||||
"width" : 120,
|
||||
"height" : 18,
|
||||
|
||||
"input_limit" : ID_LIMIT_COUNT,
|
||||
"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" : PW_LIMIT_COUNT,
|
||||
"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,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "BoardSaveAccount",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : (SCREEN_WIDTH - 110) / 2,
|
||||
"y" : (SCREEN_HEIGHT - 410 - 35),
|
||||
'width' : 337,
|
||||
"height" : 70+62,
|
||||
|
||||
"children":
|
||||
|
||||
(
|
||||
|
||||
{
|
||||
"name" : "Title",
|
||||
"type" : "text",
|
||||
|
||||
"x" : 0,
|
||||
"y" : 5,
|
||||
"horizontal_align" : "center",
|
||||
"text_horizontal_align" : "center",
|
||||
"text" : "Account Save",
|
||||
},
|
||||
|
||||
##Account 1
|
||||
{
|
||||
"name" : "save_1_input_img","type" : "image","x": 7,"y": 15+13,"image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"children":
|
||||
({
|
||||
"name" : "save_1_input_text", "type" : "text", "x" :68, "y" : 3, "text_horizontal_align":"center", "text" : "None",
|
||||
},),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_save_1","type" : "button",
|
||||
"x" : 150,"y" : 14+13,"text" : "Save",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_login_1","type" : "button",
|
||||
"x" : 150,"y" : 14+13,"text" : "Login",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_delete_1","type" : "button",
|
||||
"x" : 150+90,"y" : 14+13,"text" : "Delete",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
##Account 2
|
||||
{
|
||||
"name" : "save_2_input_img","type" : "image","x": 7,"y": 15+13+25,"image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"children":
|
||||
({
|
||||
"name" : "save_2_input_text", "type" : "text", "x" :68, "y" : 3, "text_horizontal_align":"center", "text" : "None",
|
||||
},),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_save_2","type" : "button",
|
||||
"x" : 150,"y" : 14+13+25,"text" : "Save",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_login_2","type" : "button",
|
||||
"x" : 150,"y" : 14+13+25,"text" : "Login",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_delete_2","type" : "button",
|
||||
"x" : 150+90,"y" : 14+13+25,"text" : "Delete",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
##Account 3
|
||||
{
|
||||
"name" : "save_3_input_img","type" : "image","x": 7,"y": 15+13+(25*2),"image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"children":
|
||||
({
|
||||
"name" : "save_3_input_text", "type" : "text", "x" :68, "y" : 3, "text_horizontal_align":"center", "text" : "None",
|
||||
},),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_save_3","type" : "button",
|
||||
"x" : 150,"y" : 14+13+(25*2),"text" : "Save",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_login_3","type" : "button",
|
||||
"x" : 150,"y" : 14+13+(25*2),"text" : "Login",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"name" : "button_delete_3","type" : "button",
|
||||
"x" : 150+90,"y" : 14+13+(25*2),"text" : "Delete",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
|
||||
##Account 4
|
||||
{
|
||||
"name" : "save_4_input_img","type" : "image","x": 7,"y": 15+13+(25*3),"image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
|
||||
"children":
|
||||
({
|
||||
"name" : "save_4_input_text", "type" : "text", "x" :68, "y" : 3, "text_horizontal_align":"center", "text" : "None",
|
||||
},),
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_save_4","type" : "button",
|
||||
"x" : 150,"y" : 14+13+(25*3),"text" : "Save",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_login_4","type" : "button",
|
||||
"x" : 150,"y" : 14+13+(25*3),"text" : "Login",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "button_delete_4","type" : "button",
|
||||
"x" : 150+90,"y" : 14+13+(25*3),"text" : "Delete",
|
||||
"default_image" : ROOT_PATH + "Large_Button_01.sub","over_image" : ROOT_PATH + "Large_Button_02.sub","down_image" : ROOT_PATH + "Large_Button_03.sub",
|
||||
},
|
||||
|
||||
),
|
||||
},
|
||||
|
||||
## ServerBoard
|
||||
{
|
||||
"name" : "ServerBoard",
|
||||
"type" : "thinboard",
|
||||
|
||||
"x" : 0,
|
||||
"y" : SCREEN_HEIGHT - SERVER_BOARD_HEIGHT - 72,
|
||||
"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,
|
||||
"item_align" : 0,
|
||||
},
|
||||
{
|
||||
"name" : "ChannelList",
|
||||
"type" : "listbox",
|
||||
|
||||
"x" : 255,
|
||||
"y" : 40,
|
||||
"width" : 109,
|
||||
"height" : SERVER_LIST_HEIGHT,
|
||||
|
||||
"item_align" : 0,
|
||||
},
|
||||
|
||||
## 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,
|
||||
},
|
||||
|
||||
),
|
||||
|
||||
},
|
||||
|
||||
),
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 0
|
||||
top 0
|
||||
right 40
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 40
|
||||
top 0
|
||||
right 80
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 80
|
||||
top 0
|
||||
right 120
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 120
|
||||
top 0
|
||||
right 160
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 160
|
||||
top 0
|
||||
right 200
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 200
|
||||
top 0
|
||||
right 240
|
||||
bottom 40
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 0
|
||||
top 40
|
||||
right 40
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 40
|
||||
top 40
|
||||
right 80
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 80
|
||||
top 40
|
||||
right 120
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 120
|
||||
top 40
|
||||
right 160
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 160
|
||||
top 40
|
||||
right 200
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 200
|
||||
top 40
|
||||
right 240
|
||||
bottom 80
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 0
|
||||
top 80
|
||||
right 40
|
||||
bottom 120
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 40
|
||||
top 80
|
||||
right 80
|
||||
bottom 120
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 80
|
||||
top 80
|
||||
right 120
|
||||
bottom 120
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 120
|
||||
top 80
|
||||
right 160
|
||||
bottom 120
|
||||
@@ -0,0 +1,7 @@
|
||||
title subImage
|
||||
version 2.0
|
||||
image "mall.tga"
|
||||
left 160
|
||||
top 80
|
||||
right 200
|
||||
bottom 120
|
||||
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |