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" : 184,
- "height" : 328 + 45,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 184,
- "height" : 328 + 35,
- "children" :
- (
- ## Title
- {
- "name" : "TitleBar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 8,
- "y" : 8,
- "width" : 169,
- "color" : "gray",
- "children" :
- (
- { "name":"TitleName", "type":"text", "x":84, "y":4, "text":uiScriptLocale.PRIVATE_SHOP_TITLE, "text_horizontal_align":"center" },
- ),
- },
- ## Name_Static
- #{
- # "name" : "Name_Static", "type" : "text", "x" : 15, "y" : 35 + 3, "text" : uiScriptLocale.PRIVATE_SHOP_NAME,
- #},
- ## Name
- {
- "name" : "NameSlot",
- "type" : "slotbar",
- "x" : 13,
- "y" : 35,
- "width" : 90,
- "height" : 18,
- "children" :
- (
- {
- "name" : "NameLine",
- "type" : "text",
- "x" : 3,
- "y" : 3,
- "width" : 157,
- "height" : 15,
- "input_limit" : 25,
- "text" : "1234567890123456789012345",
- },
- ),
- },
- ## Item Slot
- {
- "name" : "ItemSlot",
- "type" : "grid_table",
- "x" : 12,
- "y" : 34,
- "start_index" : 0,
- "x_count" : 5,
- "y_count" : 9,
- "x_step" : 32,
- "y_step" : 32,
- "image" : "d:/ymir work/ui/public/Slot_Base.sub",
- },
- ## Ok
- {
- "name" : "OkButton",
- "type" : "button",
- "x" : 21,
- "y" : 295 + 35,
- "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" : 104,
- "y" : 295 + 35,
- "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