Thx la cine ma ajuta
Aici aveti fastequip_window.py
## -- ©2013, ®iWizz™. --
## ---------------------
# --<
import item
import uiScriptLocale
window = {
"name" : "FastEquipWindow",
"x" : SCREEN_WIDTH - 360,
"y" : 140,
"style" : ("movable", "float",),
"width" : 340,
"height" : 290,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 340,
"height" : 290,
"children" :
(
{
"name" : "TitleBar", "type" : "titlebar", "style" : ("attach",), "x" : 6, "y" : 6, "width" : 330, "color" : "yellow", "children" :
(
{ "name":"TitleName", "type":"text", "x":150, "y":3, "text": "Switch Equpment", "text_horizontal_align":"center" },
),
},
{
"name" : "equip_Base_kostume", "type" : "image", "style" : ("attach",), "x" : 200, "y" : 38, "image" : "d:/ymir work/ui/costume_bg.jpg",
},
{
"name" : "equip_Base", "type" : "image", "style" : ("attach",), "x" : 27, "y" : 38, "image" : "d:/ymir work/ui/equipment_bg_with_ring_my_noRLE.tga",
},
{
"name" : "equipslot",
"type" : "slot",
"x" : 30,
"y" : 41,
"width" : 340,
"height" : 172,
"slot" : (
{"index":1, "x":41, "y":37, "width":32, "height":64},
{"index":2, "x":41, "y":2, "width":32, "height":32},
{"index":3, "x":41, "y":145, "width":32, "height":32},
{"index":4, "x":75, "y":67, "width":32, "height":32},
{"index":5, "x":3, "y":3, "width":32, "height":96}, #Waffen
{"index":6, "x":114, "y":67, "width":32, "height":32}, ##Kette
{"index":7, "x":114, "y":35, "width":32, "height":32}, ##Ohrringe
{"index":8, "x":75, "y":35, "width":32, "height":32},
{"index":9, "x":114, "y":1, "width":32, "height":32},
{"index":10, "x":39, "y":106, "width":32, "height":32},## Belt
{"index":11, "x":235, "y":41, "width":32, "height":64}, ## Kostüm
{"index":14, "x":235, "y":5, "width":32, "height":32}, ## Hair
{"index":12, "x":75, "y":106, "width":32, "height":32}, ## Ring
{"index":13, "x":2, "y":106, "width":32, "height":32}, ## Ring 2
),
},
{
"name" : "change_button",
"type" : "button",
"x" : 50,
"y" : 235,
"text" : "Change",
"default_image" : "d:/ymir work/ui/public/Large_Button_01.sub",
"over_image" : "d:/ymir work/ui/public/Large_Button_02.sub",
"down_image" : "d:/ymir work/ui/public/Large_Button_03.sub",
},
{
"name" : "clear_button",
"type" : "button",
"x" : 200,
"y" : 235,
"text" : "Reset",
"default_image" : "d:/ymir work/ui/public/Large_Button_01.sub",
"over_image" : "d:/ymir work/ui/public/Large_Button_02.sub",
"down_image" : "d:/ymir work/ui/public/Large_Button_03.sub",
},
{
"name" : "page1_button",
"type" : "radio_button",
"x" : 40,
"y" : 260,
"text" : "Equip 1",
"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",
},
{
"name" : "page2_button",
"type" : "radio_button",
"x" : 110,
"y" : 260,
"text" : "Equip 2",
"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",
},
{
"name" : "page3_button",
"type" : "radio_button",
"x" : 180,
"y" : 260,
"text" : "Equip 3",
"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",
},
{
"name" : "page4_button",
"type" : "radio_button",
"x" : 250,
"y" : 260,
"text" : "Equip 4",
"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",
},
),
},
),
}
# -->

