Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocale
- window = {
- "name" : "SelectItemWindow",
- "x" : 100,
- "y" : 20,
- "style" : ("movable", "float",),
- "width" : 184,
- "height" : 332,
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "x" : 0,
- "y" : 0,
- "width" : 184,
- "height" : 332,
- "children" :
- (
- ## Title
- {
- "name" : "TitleBar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 8,
- "y" : 7,
- "width" : 169,
- "children" :
- (
- { "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.SELECT_METIN_STONE_TITLE, "text_horizontal_align":"center" },
- ),
- },
- ## Item Slot
- {
- "name" : "ItemSlot",
- "type" : "grid_table",
- "x" : 12,
- "y" : 34,
- "start_index" : 0,
- "x_count" : 5,
- "y_count" : 8,
- "x_step" : 32,
- "y_step" : 32,
- "image" : "d:/ymir work/ui/public/Slot_Base.sub",
- },
- ## Button
- {
- "name" : "ExitButton",
- "type" : "button",
- "x" : 0,
- "y" : 34,
- "text" : uiScriptLocale.CLOSE,
- "horizontal_align" : "center",
- "vertical_align" : "bottom",
- "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",
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement