{
    "type": "VendorPanel",
    "name": "VendorPanelLayout",
    "fields": {
        "priority": 5,
        "rect": { "x": -2556, "y": -651, "width": 1162, "height": 1507 }, //거래창위치조정
        "anchor": { "x": 1, "y": 0.397 },
    },
    "children": [
        {
            "type": "ClickCatcherWidget", "name": "click_catcher",
            "fields": {
                "rect": "$PanelClickCatcherRect"
            },
        },
        {
            "type": "ImageWidget", "name": "background",
            "fields": {
                "filename": "PANEL\\Vendors\\VendorShop_BG"
            },
        },
        {
            "type": "ImageWidget", "name": "background_repair",
            "fields": {
                "filename": "PANEL\\Vendors\\VendorForge_BG"
            },
        },
        /*{
            "type": "ImageWidget", "name": "LeftHinge", //오른쪽힌지끔
            "fields": {
                "rect": "$LeftHingeRect",
                "filename": "$LeftHingeSprite"
            },
        },*/
        {
            "type": "TextBoxWidget", "name": "title",
            "fields": {
                "rect": "$InGamePanelTitleRect",
                "style": "$StyleTitleBlock",
            },
        },
        {
            "type": "TabBarWidget", "name": "tabs",
            "fields": {
                "rect": { "x": 82, "y": 162 },
                "tabCount": 4,
                "filename": "PANEL\\stash\\Stash_Tabs",
                "inactiveFrames": [ 0, 0, 0, 0 ],
                "activeFrames": [ 1, 1, 1, 1 ],
                "textStrings": [ "@strBSArmor", "@strBSWeapons", "@strBSWeapons", "@strBSMisc" ],
                "textStyle": { "pointSize": "$SmallPanelFontSize" },
                "activeTextColor": "$TabsActiveTextColor",
                "inactiveTextColor": "$TabsInactiveTextColor",
                "tabSize": { "x": 249, "y": 75 },
                "tabPadding": { "x": 0, "y": 0 },
            }
        },
        {
            "type": "ButtonWidget", "name": "button_repair",
            "fields": {
                "rect": { "x": 169, "y": 1277 },
                "filename": "PANEL\\Vendors\\Repair_Button",
                "sound": "pass",
                "tooltipString": "@NPCRepairItems",
                "hoveredFrame": 2,
                "onClickMessage": "VendorPanelMessage:Repair",
            },
        },
        {
            "type": "ButtonWidget", "name": "button_repair_all",
            "fields": {
                "rect": { "x": 877, "y": 1277 },
                "filename": "PANEL\\Vendors\\RepairAll_Button",
                "hoveredFrame": 2,
                "sound": "pass",
                "tooltipString": "@strThisShouldBeIn104",
                "onClickMessage": "VendorPanelMessage:RepairAll",
            },
        },
        {
            "type": "ButtonWidget", "name": "button_refresh",
            "fields": {
                "rect": { "x": 877, "y": 1277 },
                "filename": "PANEL\\Vendors\\Gambling_Refresh_Button",
                "hoveredFrame": 2,
                "sound": "cursor_gamble_refresh_hd",
                "pointSize": "$MediumPanelFontSize",
                "textColor": { "r": 150, "g": 128, "b": 77, "a": 255 },
                "onClickMessage": "VendorPanelMessage:RefreshAll",
                "tooltipString": "@refresh",
            },
        },
        {
            "type": "ButtonWidget", "name": "close",
            "fields": {
                "rect": { "x": 1163, "y": 1425 }, //닫기버튼조정
                "filename": "PANEL\\closebtn_4x",
                "hoveredFrame": 3,
                "tooltipString": "@strClose",
                "sound": "cursor_close_window_hd",
                "onClickMessage": "VendorPanelMessage:Close",
            },
        },
        {
            "type": "InventoryGridWidget", "name": "grid",
            "fields": {
                "rect": { "x": 91, "y": 233 },
                "cellCount": { "x": 10, "y": 10 },
                "cellSize": "$ItemCellSize",
                "gemSocketFilename": "PANEL\\gemsocket",
            },
        },
        {
            "type": "ImageWidget", "name": "gold_icon",
            "fields": {
                "rect": { "x": 427, "y": 1304, "width": 57, "height": 57 },
                "filename": "PANEL\\Coins_Icon",
            },
        },
        {
            "type": "TextBoxWidget", "name": "gold_amount",
            "fields": {
                "rect": { "x": 487, "y": 1309, "width": 249, "height": 48 },
                "style": "$StyleGoldAmount",
            },
        },
        {
            "type": "FocusableWidget", "name": "StashWidget",
            "fields": {
                "rect": { "x": 421, "y": 1305, "width": 313, "height": 58 },
            },
        },
    ]
}
