import grp
import uiScriptLocale
BOARD_WIDTH = 650
BOARD_HEIGHT = 425
window = {
"name" : "BattlePassWindow",
"style" : ("movable", "float",),
"x" : 0,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : BOARD_HEIGHT,
"children" :
(
{
"name" : "board",
"type" : "board_with_titlebar",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : BOARD_WIDTH,
"height" : BOARD_HEIGHT,
"title" : "Battle Pass",
"children" :
(
{
"name" : "left_board",
"type" : "board",
"x" : 12,
"y" : 38,
"width":120, "height":BOARD_HEIGHT-51,
"children" :
(
{
"name" : "left_board_up",
"type" : "board",
"x" : 0,
"y" : 0,
"width":120, "height":172,
"children" :
(
{
"name" : "face_image",
"type" : "image",
"style" : ("attach",),
"x" : 20,
"y" : -10,
"image" : "interfaz_illum/icons/faces/icon_mninja.tga",
},
{"name" : "NameSlot", "type" : "thinboard", "x" : 15, "y" : 85, "width" : 90,
"children":
(
{ "name":"Character_Text", "type":"text", "x":47, "y":7, "text":"Noname", "color":0xffa18c87, "text_horizontal_align":"center" },
),
},
{"name" : "LvLSlot", "type" : "thinboard", "x" : 63, "y" : 113, "width" : 40,
"children":
(
{ "name":"Level_Text", "type":"text", "x":22, "y":7, "text":"Lv: 400", "color":0xffa18c87, "text_horizontal_align":"center" },
),
},
{"name" : "StartSlot", "type" : "thinboard", "x" : 15, "y" : 141, "width" : 90,
"children":
(
{ "name":"Start_Text", "type":"text", "x":47, "y":7, "text":"Starts: 0", "color":0xffa18c87, "text_horizontal_align":"center" },
),
},
),
},
{
"name" : "left_board_down",
"type" : "board",
"x" : 0,
"y" : 175,
"width":120, "height":BOARD_HEIGHT-51-175,
"children" :
(
{
"name" : "BtnWeek1",
"type" : "button",
"x": 8,
"y": 15,
"default_image": "interfaz_illum/dominios/btn_domain1_n.png",
"over_image": "interfaz_illum/dominios/btn_domain1_a.png",
"down_image": "interfaz_illum/dominios/btn_domain1_a.png",
"disable_image": "interfaz_illum/dominios/btn_domain1_d.png",
"children" :
(
{
"name": "fontButton",
"type": "text",
"x": 8,
"y": 7,
"fontname" : "Tahoma Bold:16",
"text" : uiScriptLocale.BATTLEPASS_WEEK+" 1",
"color" : 0xffff1a1a,
},
{
"name" : "DominionIcon1",
"type" : "expanded_image",
"horizontal_align" : "right",
"x": 27,
"y": 3,
"image" : "interfaz_illum/dominios/grocery_coin_gamecoinmini1.png",
},
),
},
{
"name" : "BtnWeek2",
"type" : "button",
"x": 8,
"y": 55,
"default_image": "interfaz_illum/dominios/btn_domain2_n.png",
"over_image": "interfaz_illum/dominios/btn_domain2_a.png",
"down_image": "interfaz_illum/dominios/btn_domain2_a.png",
"disable_image": "interfaz_illum/dominios/btn_domain2_d.png",
"children" :
(
{
"name": "fontButton",
"type": "text",
"x": 8,
"y": 7,
"fontname" : "Tahoma Bold:16",
"text" : uiScriptLocale.BATTLEPASS_WEEK+" 2",
"color" : 0xff66ff66,
},
{
"name" : "DominionIcon2",
"type" : "expanded_image",
"horizontal_align" : "right",
"x": 27,
"y": 3,
"image" : "interfaz_illum/dominios/grocery_coin_gamecoinmini2.png",
},
),
},
{
"name" : "BtnWeek3",
"type" : "button",
"x": 8,
"y": 55+40,
"default_image": "interfaz_illum/dominios/btn_domain3_n.png",
"over_image": "interfaz_illum/dominios/btn_domain3_a.png",
"down_image": "interfaz_illum/dominios/btn_domain3_a.png",
"disable_image": "interfaz_illum/dominios/btn_domain3_d.png",
"children" :
(
{
"name": "fontButton",
"type": "text",
"x": 8,
"y": 7,
"fontname" : "Tahoma Bold:16",
"text" : uiScriptLocale.BATTLEPASS_WEEK+" 3",
"color" : 0xff66ffff,
},
{
"name" : "DominionIcon3",
"type" : "expanded_image",
"horizontal_align" : "right",
"x": 27,
"y": 3,
"image" : "interfaz_illum/dominios/grocery_coin_gamecoinmini3.png",
},
),
},
{
"name" : "BtnWeek4",
"type" : "button",
"x": 8,
"y": 55+40+40,
"default_image": "interfaz_illum/dominios/btn_domain4_n.png",
"over_image": "interfaz_illum/dominios/btn_domain4_a.png",
"down_image": "interfaz_illum/dominios/btn_domain4_a.png",
"disable_image": "interfaz_illum/dominios/btn_domain4_d.png",
"children" :
(
{
"name": "fontButton",
"type": "text",
"x": 8,
"y": 7,
"fontname" : "Tahoma Bold:16",
"text" : uiScriptLocale.BATTLEPASS_WEEK+" 4",
"color" : 0xffffff33,
},
{
"name" : "DominionIcon4",
"type" : "expanded_image",
"horizontal_align" : "right",
"x": 27,
"y": 3,
"image" : "interfaz_illum/dominios/grocery_coin_gamecoinmini4.png",
},
),
},
{
"name" : "BtnRecompensa",
"type" : "button",
"x": 15,
"y": 55+40+40+40,
"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.BATTLEPASS_REWARD
},
),
},
),
},
{
"name" : "right_board",
"type" : "board",
"x" : 136,
"y" : 38,
"width":BOARD_WIDTH-149, "height":BOARD_HEIGHT-51,
"children" :
(
{
"name" : "right_board_up_left",
"type" : "board",
"x" : 0,
"y" : 0,
"width":BOARD_WIDTH-149, "height":85,
"children" :
(
{
"name" : "BGImage",
"type" : "expanded_image",
"x": 1,
"y": 1,
"image" : "interfaz/battlepass/battlepass.png",
},
),
},
{
"name" : "right_board_down",
"type" : "board",
"x" : 0,
"y" : 88,
"width":BOARD_WIDTH-149, "height":BOARD_HEIGHT-51-88,
"children":
(
{
"name" : "ScrollBar",
"type" : "scrollbar",
"horizontal_align" : "right",
"x" : 25,
"y" : 11,
"size" : 270,
},
),
},
),
},
),
},
),
}