Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocale
- window = {
- "name" : "PrivateShopBuilder",
- "x" : 0,
- "y" : 0,
- "style" : ("movable", "float",),
- "width" : 280,
- "height" : 328 + 26,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 280,
- "height" : 328 + 26,
- "children" :
- (
- # TITLE
- {
- "name" : "TitleBar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 8,
- "y" : 8,
- "width" : 265,
- "color" : "gray",
- "children" :
- (
- { "name":"TitleName", "type":"text", "x":132, "y":4, "text":uiScriptLocale.PRIVATE_SHOP_TITLE, "text_horizontal_align":"center" },
- ),
- },
- # NAME
- {
- "name" : "NameSlot",
- "type" : "slotbar",
- "x" : 13,
- "y" : 35,
- "width" : 157+96,
- "height" : 18,
- "children" :
- (
- {
- "name" : "NameLine",
- "type" : "text",
- "x" : 3,
- "y" : 3,
- "width" : 157+96,
- "height" : 15,
- "input_limit" : 25,
- "text" : "1234567890123456789012345",
- },
- ),
- },
- # ITEM SLOT
- {
- "name" : "ItemSlot",
- "type" : "grid_table",
- "x" : 12,
- "y" : 34 + 26,
- "start_index" : 0,
- "x_count" : 8,
- "y_count" : 8,
- "x_step" : 32,
- "y_step" : 32,
- "image" : "d:/ymir work/ui/public/Slot_Base.sub",
- },
- ## Cash
- {
- "name":"Total_Money_Slot",
- "type":"button",
- "x" : 9,
- "y" : 57,
- "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",
- "tooltip_text" : "Suma cen wszystkich przedmiotów wystawionych na sklepie.",
- "children" :
- (
- {
- "name":"Total_Money_Icon",
- "type":"image",
- "x":-18,
- "y":2,
- "image":"d:/ymir work/ui/game/windows/money_icon.sub",
- },
- {
- "name" : "Total_Money",
- "type" : "text",
- "input_limit" : 25,
- "x" : 3,
- "y" : 3,
- "horizontal_align" : "right",
- "text_horizontal_align" : "right",
- "text" : "0 Yang",
- },
- ),
- },
- # OK
- {
- "name" : "OkButton",
- "type" : "button",
- "x" : 21,
- "y" : 295 + 26,
- "width" : 61,
- "height" : 21,
- "text" : uiScriptLocale.OK,
- "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
- },
- # CLOSE
- {
- "name" : "CloseButton",
- "type" : "button",
- "x" : 200,
- "y" : 295 + 26,
- "width" : 61,
- "height" : 21,
- "text" : uiScriptLocale.CLOSE,
- "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
- "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
- "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement