{
    "basedOn": "PlayerInventoryOriginalLayoutHD.json",
    "type": "PlayerInventoryPanel",
    "name": "PlayerInventoryExpansionLayout",
    "fields": {
        "activeWeaponSwapFontColor": "$TabsActiveTextColorInGame",
        "inactiveWeaponSwapFontColor": "$TabsInactiveTextColor",
    },
    "children": [
        {
            "type": "ClickCatcherWidget",
            "name": "click_catcher",
        },
        {
            "type": "ImageWidget",
            "name": "background",
            "fields": {
                "filename": "PANEL\\Inventory\\Background"
            },
        },
        {
            "type": "ImageWidget",
            "name": "RightHinge",
        },
        {
            "type": "TextBoxWidget",
            "name": "title",
        },
        {
            "type": "TextBoxWidget",
            "name": "gold_amount",
            "children": [
                {
                    "type": "FocusableWidget",
                    "name": "gold_amount_tooltip",
                }
            ]
        },
        {
            "type": "ButtonWidget",
            "name": "gold_button",
        },
        {
            "type": "ButtonWidget",
            "name": "close",
        },
        {
            "type": "InventoryGridWidget",
            "name": "grid",
            "children": [
                {
                    "type": "AnimatedImageWidget",
                    "name": "chronicleFlourish",
                }
            ]
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_right_hand",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_left_hand",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_belt",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_feet",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_gloves",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_head",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_neck",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_torso",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_right_arm",
        },
        {
            "type": "InventorySlotWidget",
            "name": "slot_left_arm",
        },
        {
            "type": "ImageWidget",
            "name": "background_right_arm_selected",
            "fields": {
                "rect": {
                    "x": 99,
                    "y": 179
                },
                "filename": "PANEL\\Inventory\\Tab",
            },
        },
        {
            "type": "ImageWidget",
            "name": "background_left_arm_selected",
            "fields": {
                "rect": {
                    "x": 850,
                    "y": 179
                },
                "filename": "PANEL\\Inventory\\Tab",
            },
        },
        {
            "type": "ImageWidget",
            "name": "background_right_arm",
            "fields": {
                "rect": {
                    "x": 99,
                    "y": 179
                },
                "filename": "PANEL\\Inventory\\Tab",
                "frame": 1,
            },
        },
        {
            "type": "ImageWidget",
            "name": "background_left_arm",
            "fields": {
                "rect": {
                    "x": 850,
                    "y": 179
                },
                "filename": "PANEL\\Inventory\\Tab",
                "frame": 1,
            },
        },
        /*
        {
            "type": "TabBarWidget", "name": "Tabs",
            "fields": {
                "rect": { "x": 99, "y": 179 },
                "tabCount": 2,
                "inactiveFrames": [ 1, 1 ],
                "activeFrames": [ 0, 0 ],
                "textStrings": [ "I", "II" ],
                "textStyle": { "pointSize": "$MediumLargeFontSize" },
                "activeTextColor": "$TabsActiveTextColor",
                "inactiveTextColor": "$TabsInactiveTextColor",
                "tabSize": { "x": 107, "y": 60 },
                "tabPadding": { "x": 0, "y": 0 },
                "onSwitchTabMessage": "PlayerInventoryPanelMessage:SelectTab",
            }
        },
        */
        {
            "type": "TextBoxWidget",
            "name": "text_i_left",
            "fields": {
                "rect": {
                    "x": 99,
                    "y": 180,
                    "width": 107,
                    "height": 48
                },
                "text": "I",
                "style": "$StyleWeaponSwapTabs",
            },
        },
        {
            "type": "TextBoxWidget",
            "name": "text_ii_left",
            "fields": {
                "rect": {
                    "x": 205,
                    "y": 180,
                    "width": 107,
                    "height": 48
                },
                "text": "II",
                "style": "$StyleWeaponSwapTabs",
            },
        },
        {
            "type": "TextBoxWidget",
            "name": "text_i_right",
            "fields": {
                "rect": {
                    "x": 850,
                    "y": 180,
                    "width": 107,
                    "height": 48
                },
                "text": "I",
                "style": "$StyleWeaponSwapTabs",
            },
        },
        {
            "type": "TextBoxWidget",
            "name": "text_ii_right",
            "fields": {
                "rect": {
                    "x": 956,
                    "y": 180,
                    "width": 107,
                    "height": 48
                },
                "text": "II",
                "style": "$StyleWeaponSwapTabs",
            },
        },
        {
            "type": "FocusableWidget",
            "name": "weaponswap_right_arm",
            "fields": {
                "rect": {
                    "x": 99,
                    "y": 179,
                    "width": 215,
                    "height": 48
                },
            },
        },
        {
            "type": "FocusableWidget",
            "name": "weaponswap_left_arm",
            "fields": {
                "rect": {
                    "x": 850,
                    "y": 179,
                    "width": 215,
                    "height": 48
                },
            },
        },
        // 아이템 사전
        {
            "type": "Widget",
            "name": "quick_dict",
            "fields": {
                "anchor": {
                    "x": 0.5,
                    "y": 0
                },
                "rect": {
                    "x": -490, // 작을수록 왼쪽
                    "y": -60 // 클수록 아래쪽
                }, // 아이템 사전 아이콘 위치 조정 (본인 해상도에 맞게 조절하세요)
            },
            "children": [
                // 큐브 조합
                {
                    "type": "ButtonWidget",
                    "name": "dict_btn",
                    "fields": {
                        "rect": {
                            "x": 0,
                            "y": 0,
                            "scale": 1
                        }, //아이콘별 간격 조정 시에만 수정하세요
                        "filename": "PANEL/btn/cube_btn",
                        "onClickMessage": "PanelManager:OpenPanel:ItemDictionaryCubeRecipeMainPanelKor",
                        "sound": "select",
                        "focusOnMouseOver": false,
                    }
                },
                // 룬워드
                {
                    "type": "ButtonWidget",
                    "name": "dict_btn",
                    "fields": {
                        "rect": {
                            "x": 195,
                            "y": 0,
                            "scale": 1.0
                        },
                        "filename": "PANEL/btn/rune_btn",
                        "onClickMessage": "PanelManager:OpenPanel:ItemDictionaryRunewordMainPanelKor",
                        "sound": "select",
                        "focusOnMouseOver": false,
                    }
                },
                // 연대기
                {
                    "type": "ButtonWidget",
                    "name": "dict_btn",
                    "fields": {
                        "rect": {
                            "x": 390,
                            "y": 0,
                            "scale": 1.0
                        },
                        "filename": "PANEL/btn/chronicle_btn",
                        "onClickMessage": "PanelManager:OpenPanel:ChroniclePanel",
                        "sound": "select",
                        "focusOnMouseOver": false,
                    }
                },
                // 일반 무기
                {
                    "type": "ButtonWidget",
                    "name": "dict_btn",
                    "fields": {
                        "rect": {
                            "x": 585, //99,
                            "y": 0, //-60,
                            "scale": 1.0
                        },
                        "filename": "PANEL/btn/weapon_btn",
                        "onClickMessage": "PanelManager:OpenPanel:itemdictionarynormalweaponmainpanel",
                        "sound": "select",
                        "focusOnMouseOver": false,
                    }
                },
                // 일반 방어구
                {
                    "type": "ButtonWidget",
                    "name": "dict_btn",
                    "fields": {
                        "rect": {
                            "x": 780, //294,
                            "y": 0, //-60,
                            "scale": 1.0
                        },
                        "filename": "PANEL/btn/armor_btn",
                        "onClickMessage": "PanelManager:OpenPanel:itemdictionarynormalarmormainpanel",
                        "sound": "select",
                        "focusOnMouseOver": false,
                    }
                }
            ]
        }
    ]
}