111 lines
5.2 KiB
Python
111 lines
5.2 KiB
Python
import uiScriptLocale
|
|
|
|
SIZE_X = 435
|
|
SIZE_Y = 21+24+24+24+24+24+24+24+24+24
|
|
|
|
|
|
LOCALE_PATH = "d:/ymir work/ui/"
|
|
|
|
window = {
|
|
"name" : "PrivateShopSearchDialogItems",
|
|
|
|
"x" : 0,
|
|
"y" : 0,
|
|
|
|
"width" : SIZE_X,
|
|
"height" : SIZE_Y,
|
|
|
|
"children" :
|
|
(
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG0", "type" : "radio_button", "x" : 0, "y" : 0,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName0","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount0","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG1", "type" : "radio_button", "x" : 0, "y" : 24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName1","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount1","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG2", "type" : "radio_button", "x" : 0, "y" : 24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName2","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount2","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG3", "type" : "radio_button", "x" : 0, "y" : 24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName3","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount3","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG4", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName4","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount4","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG5", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName5","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount5","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG6", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName6","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount6","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG7", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName7","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount7","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG8", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24+24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName8","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount8","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
{
|
|
"name" : "PrivateSearchBoxItemsBG9", "type" : "radio_button", "x" : 0, "y" : 24+24+24+24+24+24+24+24+24,
|
|
"default_image" : LOCALE_PATH+"tab_01_search.tga","over_image" : LOCALE_PATH+"tab_02_search.tga","down_image" : LOCALE_PATH+"tab_02_search.tga",
|
|
"children":
|
|
(
|
|
{"name": "PrivateSearchBoxItemsName9","type": "text","x":20,"y":3,"text":"Item Weapon","color":0xFFFEE3AE,},
|
|
{"name": "PrivateSearchBoxItemsCount9","type": "text","x":300,"y":3,"text":"0","color":0xFFFEE3AE,},
|
|
),
|
|
},
|
|
),
|
|
} |